mpeg2: fix decoding of high profile streams.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 2 Apr 2012 14:07:58 +0000 (16:07 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 2 Apr 2012 14:12:32 +0000 (16:12 +0200)
commit9c8b85b3c7b3d2e00c876be7d8e5aca2e025b229
tree12c5fa03b003ed255482ad670dd163e6690ae30b
parent84b5fc5e5874c4c2e97f07dd1260f29a94bbf7de
mpeg2: fix decoding of high profile streams.

Allow MPEG-2 High profile streams only if the HW supports that profile
or no High profile specific bits are used, and thus Main profile could
be used instead. i.e. chroma_format is 4:2:0, intra_dc_precision is not
set to 11 and no sequence_scalable_extension() was parsed.
NEWS
gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c
gst-libs/gst/vaapi/gstvaapiprofile.h