[Libva] Fix h264 gaps_in_frames issues in gstreamer-vaapi

Yuan, Feng feng.yuan at intel.com
Thu Feb 28 01:02:53 PST 2013


Hi Gwenole,
    The 3 patches are going to fix bug https://bugs.freedesktop.org/show_bug.cgi?id=58064. It's a H.264 issue with file can't be played.
    0001, RefPicListx_count may less than num_ref_listx. This is only to correct something wrong in some bad files.
    0002, removed the reference which has the same frame_num with current picture. Sometimes the media file may not follow exact sps/pps.
    0003, gstreamer-vaapi doesn't process for gaps in frame_num. This patch is to fix it. There would be some dummy picture generated as 'non-existing' picture and used for short-term reference(follow H.264 spec2009, 8.2.5.2-Decoding process for gaps in frame_num). The dummy picture was cloned by current picture but would not output.
    Please help review 3 patches. If you want do a test, you can download the file from http://tinderbox.sh.intel.com/media/FrameWork/AVC_conformance/Base_Ext_Main_profile/MR3_TANDBERG_B.264

Thanks,
Wind

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-h264-fix-reference-list-count-less-than-num_ref.patch
Type: application/octet-stream
Size: 1787 bytes
Desc: 0001-h264-fix-reference-list-count-less-than-num_ref.patch
URL: <http://lists.freedesktop.org/archives/libva/attachments/20130228/14df0222/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-h264-remove-reference-if-picture-frame_num-is-same.patch
Type: application/octet-stream
Size: 1628 bytes
Desc: 0002-h264-remove-reference-if-picture-frame_num-is-same.patch
URL: <http://lists.freedesktop.org/archives/libva/attachments/20130228/14df0222/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-h264-support-process-for-gaps-in-frame_num.patch
Type: application/octet-stream
Size: 6445 bytes
Desc: 0003-h264-support-process-for-gaps-in-frame_num.patch
URL: <http://lists.freedesktop.org/archives/libva/attachments/20130228/14df0222/attachment-0002.obj>


More information about the Libva mailing list