mpeg4: map Simple_Scalable profile to Advanced_Simple profile.
authorWind Yuan <feng.yuan@intel.com>
Fri, 27 Apr 2012 08:13:00 +0000 (04:13 -0400)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 10 May 2012 09:52:06 +0000 (11:52 +0200)
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c

index 9f07a8a..52f461f 100644 (file)
@@ -304,6 +304,7 @@ decode_sequence(GstVaapiDecoderMpeg4 *decoder, const guint8 *buf, guint buf_size
         profile = GST_VAAPI_PROFILE_MPEG4_SIMPLE;
         break;
     case GST_MPEG4_PROFILE_ADVANCED_SIMPLE:
+    case GST_MPEG4_PROFILE_SIMPLE_SCALABLE: /* shared profile with ADVANCED_SIMPLE */
         profile = GST_VAAPI_PROFILE_MPEG4_ADVANCED_SIMPLE;
         break;
     default: