jyavenard

Untitled

May 3rd, 2014
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. index 598de94..1a0b789 100644
  2. --- a/mythtv/libs/libmythtv/fileringbuffer.cpp
  3. +++ b/mythtv/libs/libmythtv/fileringbuffer.cpp
  4. @@ -624,6 +624,11 @@ long long FileRingBuffer::SeekInternal(long long pos, int whence)
  5. return ret;
  6. }
  7.  
  8. + rwlock.unlock();
  9. + StopReads();
  10. + rwlock.lockForWrite();
  11. + StartReads();
  12. +
  13. poslock.lockForWrite();
  14.  
  15. // Optimize no-op seeks
Advertisement
Add Comment
Please, Sign In to add comment