[mythtv-commits] mythtv/fixes/0.24 commit: ccd73be08 by Mark Kendall (mark-kendall)
MythTV
noreply at mythtv.org
Sat Mar 19 04:20:23 UTC 2011
Author: Mark Kendall <mkendall at mythtv.org>
Change Date: 2011-03-18T21:20:03-07:00
Push Date: 2011/03/18 21:20:22 -0700
Repository: mythtv
Branch: fixes/0.24
New Revision: ccd73be08e8d76c44ac126a82b0a88ff91783ec7
Changeset: https://github.com/MythTV/mythtv/commit/ccd73be08
Log:
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.
Cherry picked from df1df86b62bb6f87de41
Modified:
mythtv/libs/libmythtv/mythdvdplayer.cpp
mythtv/libs/libmythtv/mythplayer.cpp
More information about the mythtv-commits
mailing list