Please sign in to comment.
MythPlayer: Fix decoder locking.
This should complete the overall decoder locking changes. - when changing the decoder, pause before obtaining the decoder_change_lock. Also add some logging to assess any delays in livetv channel changes. - lock access to the decoder in the main decoder loop. In all cases, use tryLock and continue to the next loop iteration if it fails. Given that the decoder_change_lock is now only used when by SetDecoder, the extra locking should have no performance impact.
- Loading branch information...
Showing with 30 additions and 16 deletions.