diff --git a/mythtv/libs/libmythtv/mythplayer.cpp b/mythtv/libs/libmythtv/mythplayer.cpp index a9e0ab2f27f..8ef40b94e98 100644 --- a/mythtv/libs/libmythtv/mythplayer.cpp +++ b/mythtv/libs/libmythtv/mythplayer.cpp @@ -2393,6 +2393,8 @@ bool MythPlayer::VideoLoop(void) if (FlagIsSet(kVideoIsNull) && decoder) decoder->UpdateFramesPlayed(); + else if (decoder && decoder->GetEof() != kEofStateNone) + ++framesPlayed; else framesPlayed = videoOutput->GetFramesPlayed(); return !IsErrored();