mpeg4: map Simple_Scalable profile to Advanced_Simple profile.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
Wind Yuan 2012-04-27 04:13:00 -04:00 committed by Gwenole Beauchesne
parent 96437a7a16
commit c40c05dc45

View file

@ -304,6 +304,7 @@ decode_sequence(GstVaapiDecoderMpeg4 *decoder, const guint8 *buf, guint buf_size
profile = GST_VAAPI_PROFILE_MPEG4_SIMPLE; profile = GST_VAAPI_PROFILE_MPEG4_SIMPLE;
break; break;
case GST_MPEG4_PROFILE_ADVANCED_SIMPLE: case GST_MPEG4_PROFILE_ADVANCED_SIMPLE:
case GST_MPEG4_PROFILE_SIMPLE_SCALABLE: /* shared profile with ADVANCED_SIMPLE */
profile = GST_VAAPI_PROFILE_MPEG4_ADVANCED_SIMPLE; profile = GST_VAAPI_PROFILE_MPEG4_ADVANCED_SIMPLE;
break; break;
default: default: