decoder: hevc: Workaround to recognize wrongly encoded main profile streams
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Fri, 7 Aug 2015 05:43:44 +0000 (08:43 +0300)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Fri, 7 Aug 2015 05:43:44 +0000 (08:43 +0300)
commit95b8ca0cda7e34b9e9c1f033f176ab24f4d5ba34
tree4c5014787ee1d5a6e907e8a7906cc262d696f535
parent869facf3bc4f877380d33b18d1dd5cb478c804bc
decoder: hevc: Workaround to recognize wrongly encoded main profile streams

HACK: This is a work-around to identify some main profile streams having wrong profile_idc.
There are some wrongly encoded main profile streams(eg: ENTP_C_LG_3.bin) which doesn't
have any of the profile_idc values mentioned in Annex-A, instead general_profile_idc
has been set as zero and having general_profile_compatibility_flag[general_profile_idc]
is TRUE. Assuming them as MAIN profile for now.

https://bugzilla.gnome.org/show_bug.cgi?id=753226

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
gst-libs/gst/vaapi/gstvaapidecoder_h265.c