summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <rob@ti.com>2010-12-23 16:03:00 -0600
committerRob Clark <rob@ti.com>2010-12-23 16:12:51 -0600
commit02cb1dd7b5df3d13ac81f4306cbd782e92e189a4 (patch)
treede62a5937ea8da6d58adf21ef7bbde0e4562c9bf
parentef0bc7558d2503551f2eb5f70943737d82a21cd1 (diff)
matroska-demux: add stream-format and alignment properties for h264
-rw-r--r--gst/matroska/matroska-demux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index 8332996d5..47f0ed325 100644
--- a/gst/matroska/matroska-demux.c
+++ b/gst/matroska/matroska-demux.c
@@ -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)) ||