Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit c48c55fcb793d9f3a0d82cbe1a10b83f9b35af79 1 parent fa24b24
@stichnot stichnot authored
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 &&
Please sign in to comment.
Something went wrong with that request. Please try again.