Skip to content

Commit d1b6c5d

Browse files
author
Gareth Stockwell
committed
qmediaplayer: show buffer status of 0%
During progressive download, it is not possible for the Symbian MMF Phonon backend to determine the buffering status, so it returns a value of 0%. This change causes qmediaplayer to display this value in the UI, thereby giving a visible notification of buffering during progressive download. Task-number: QTBUG-10769 Reviewed-by: Derick Hawcroft
1 parent bb994a5 commit d1b6c5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/qmediaplayer/mediaplayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ void MediaPlayer::openFile()
716716

717717
void MediaPlayer::bufferStatus(int percent)
718718
{
719-
if (percent == 0 || percent == 100)
719+
if (percent == 100)
720720
progressLabel->setText(QString());
721721
else {
722722
QString str = QString::fromLatin1("(%1%)").arg(percent);

0 commit comments

Comments
 (0)