Skip to content

Commit

Permalink
Reset videobuf_retries when DecoderGetFrame() succeeds.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed May 4, 2012
1 parent 986a586 commit 568e161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/mythplayer.cpp
Expand Up @@ -3168,8 +3168,8 @@ bool MythPlayer::DecoderGetFrame(DecodeType decodetype, bool unsafe)
}
return false;
}
videobuf_retries = 0;
}
videobuf_retries = 0;

if (!decoder_change_lock.tryLock(5))
return false;
Expand Down

0 comments on commit 568e161

Please sign in to comment.