[mythtv-commits] mythtv/master commit: b7683faad by Mark Kendall (mark-kendall)

MythTV noreply at mythtv.org
Wed Dec 7 22:37:19 UTC 2011


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2011-12-07T14:37:04-08:00
   Push Date:  2011/12/07 14:37:07 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  b7683faadb82345507bd3b25d2821b96155b3b44
   Changeset:  https://github.com/MythTV/mythtv/commit/b7683faad

Log:

MythRenderVDPAU: Avoid a potential deadlock.

As pointed out some time ago by danielk, if the display is preempted
there is a possibility that the UI and decoder threads could deadlock as
they each wait for the other lock. So carry out the preemption check
before holding a lock.

Modified:

   mythtv/libs/libmythui/mythrender_vdpau.cpp



More information about the mythtv-commits mailing list