matroska-demux: add stream-format and alignment properties for h264
authorRob Clark <rob@ti.com>
Thu, 23 Dec 2010 22:03:00 +0000 (16:03 -0600)
committerRob Clark <rob@ti.com>
Thu, 23 Dec 2010 22:12:51 +0000 (16:12 -0600)
gst/matroska/matroska-demux.c

index 8332996d562be0d3f9eb5f943ea1d008372555cf..47f0ed3255c4fb9d52341c34316215cf71925035 100644 (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)) ||