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

MythTV noreply at mythtv.org
Sat Jan 29 05:36:27 UTC 2011


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2011-01-28T21:35:51-08:00
   Push Date:  2011/01/28 21:36:24 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  e0d2fd8bf83ce2d97f4e06dc592960219c4720fb
   Changeset:  https://github.com/MythTV/mythtv/commit/e0d2fd8bf

Log:

Remove some potentially dangerous A/V sync code.

If we are late displaying a frame, under the correct conditions (N.B.
currently impossible) we would display the frame anyway. This is only
safe when we know the display of that frame is not locked to the
vertical refresh. If it is, frame display will block until the next
refresh and we may never get A/V sync back.

Unfortunately we often don't know whether our frame display is locked to
the vertical sync (OpenGL, XVideo) so just drop the frame (which is
currently the only code path used anyway).

Modified:

   mythtv/libs/libmythtv/mythplayer.cpp
   mythtv/libs/libmythtv/videoout_vdpau.h
   mythtv/libs/libmythtv/videoout_xv.h
   mythtv/libs/libmythtv/videooutbase.h



More information about the mythtv-commits mailing list