Browse files

Reset the decoder EOF state before seeking.

This can be necessary if the cutlist editor tries to seek beyond the
last frame the decoder knows about, in which case the decoder gets
stuck thinking it has reached EOF and seeking stops working correctly.
  • Loading branch information...
1 parent fa24b24 commit c48c55fcb793d9f3a0d82cbe1a10b83f9b35af79 @stichnot stichnot committed Jan 6, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 mythtv/libs/libmythtv/mythplayer.cpp
View
1 mythtv/libs/libmythtv/mythplayer.cpp
@@ -3766,6 +3766,7 @@ void MythPlayer::WaitForSeek(uint64_t frame, uint64_t seeksnap_wanted)
if (!decoder)
return;
+ SetEof(false);
decoder->SetSeekSnap(seeksnap_wanted);
bool islivetvcur = (livetv && player_ctx->tvchain &&

0 comments on commit c48c55f

Please sign in to comment.