Skip to content

Commit

Permalink
Fix braino in 802e32b .
Browse files Browse the repository at this point in the history
  • Loading branch information
stichnot committed Jan 11, 2013
1 parent 802e32b commit 77bf327
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/libs/libmythtv/mythcommflagplayer.cpp
Expand Up @@ -194,9 +194,10 @@ bool MythCommFlagPlayer::RebuildSeekTable(
// I-frames to be treated as keyframes.
uint64_t frames = decoder->GetFramesRead();
if (!usingIframes &&
(GetEof() == kEofStateNone || (frames > 1000 && frames < 1100)) &&
(GetEof() != kEofStateNone || (frames > 1000 && frames < 1100)) &&
!decoder->HasPositionMap())
{
cout << "No I-frames found, rewinding..." << endl;
decoder->DoRewind(0);
decoder->Reset(true, true, true);
pmap_first = pmap_last = myFramesPlayed = 0;
Expand Down

0 comments on commit 77bf327

Please sign in to comment.