[mythtv-commits] mythtv/master commit: f8c108ef9 by Taylor Ralph (tralph)

MythTV noreply at mythtv.org
Sun Apr 10 20:04:39 UTC 2011

      Author:  Taylor Ralph <tralph at mythtv.org>
 Change Date:  2011-04-10T12:49:56-07:00
   Push Date:  2011/04/10 13:04:37 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  f8c108ef9a5c6bac9ec2414c47e2f404047e43b9
   Changeset:  https://github.com/MythTV/mythtv/commit/f8c108ef9


Fix video buffering code to properly play high reference frame videos.

This change prevents a buffer to be returned to the available queue while it's still in use by the decoder. There is now a 'finished' queue to store frames until the decoder no longer needs them. Previously we would return a frame to available before it was finished by the decoder and cause severe video corruption.

With this change, killasample can now be played corruption free by Xv and by VDPAU with vdpaubuffersize of only 20.

NOTE: Bringing up the OSD under Xv can still cause corruption since we don't protect against modifying the buffer in the video processing portion of code. To avoid this the buffer will need to be copied before being modified.



More information about the mythtv-commits mailing list