mpeg2: don't decode anything before the first sequence_header().
authorWind Yuan <feng.yuan@intel.com>
Tue, 13 Mar 2012 06:03:31 +0000 (02:03 -0400)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 21 Mar 2012 16:38:22 +0000 (17:38 +0100)
commitfc3edde05cb18b8e0c5c8bbe2deabf93be457814
tree1c0bc5a7d43942311508b3c7bc7723238bbbb1b4
parent2ebfa66ade3c7d277688a0159adba44e089d463e
mpeg2: don't decode anything before the first sequence_header().

Skip all pictures prior to the first sequence_header(). Besides,
skip all picture_data() if there was no prior picture_header().

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c