matroskademux: Add MPEG4 video profile/level to the caps

This commit is contained in:
Sebastian Dröge 2013-07-01 10:59:07 +02:00
parent 423bddac6a
commit 75b5a54f17

View file

@ -4962,6 +4962,8 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
priv = gst_buffer_new_wrapped (g_memdup (data, size), size);
gst_caps_set_simple (caps, "codec_data", GST_TYPE_BUFFER, priv, NULL);
gst_buffer_unref (priv);
gst_codec_utils_mpeg4video_caps_set_level_and_profile (caps, data, size);
}
if (!strcmp (codec_id, GST_MATROSKA_CODEC_ID_VIDEO_MPEG4_ASP))
*codec_name = g_strdup ("MPEG-4 advanced simple profile");