Permalink
Browse files

Reset videobuf_retries when DecoderGetFrame() succeeds.

  • Loading branch information...
1 parent 986a586 commit 568e161f39a33cde70ba1a74081ab46d28006a2c @daniel-kristjansson daniel-kristjansson committed May 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/mythplayer.cpp
View
2 mythtv/libs/libmythtv/mythplayer.cpp
@@ -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;

0 comments on commit 568e161

Please sign in to comment.