h264: detect new pictures from decode-units.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 13 Dec 2012 09:47:25 +0000 (10:47 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 18 Dec 2012 14:31:51 +0000 (15:31 +0100)
commitf8a9e49fd85bd98b0c1ebd21f481516f65350e75
tree46353eb1c09672f014f7339a39cddc2ed193c203
parentd9ec93fe4604c22e794499b5b4e948a38d026fd0
h264: detect new pictures from decode-units.

Update is_new_picture() to cope with GstVaapiDecoderUnitH264, instead
of assuming frame boundaries when first_mb_in_slice is zero.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c