matroska-demux: add stream-format and alignment properties for h264

This commit is contained in:
Rob Clark 2010-12-23 16:03:00 -06:00
parent ef0bc7558d
commit 02cb1dd7b5

View file

@ -6444,6 +6444,8 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
gst_caps_set_simple (caps, "codec_data", GST_TYPE_BUFFER, priv, NULL);
gst_buffer_unref (priv);
gst_caps_set_simple (caps, "stream-format", G_TYPE_STRING, "avc",
"alignment", G_TYPE_STRING, "au", NULL);
}
*codec_name = g_strdup ("H264");
} else if ((!strcmp (codec_id, GST_MATROSKA_CODEC_ID_VIDEO_REALVIDEO1)) ||