avimux,matroskamux: Add stream-format to h264 caps
authorDavid Schleef <ds@schleef.org>
Sun, 24 Apr 2011 23:45:07 +0000 (16:45 -0700)
committerDavid Schleef <ds@schleef.org>
Mon, 25 Apr 2011 01:56:02 +0000 (18:56 -0700)
Fixes #606662.

gst/avi/gstavimux.c
gst/matroska/matroska-mux.c

index 37f9291..fc8c986 100644 (file)
@@ -129,6 +129,8 @@ static GstStaticPadTemplate video_sink_factory =
         "height = (int) [ 16, 4096 ], "
         "framerate = (fraction) [ 0, MAX ]; "
         "video/x-h264, "
+        "stream-format = (string) byte-stream, "
+        "alignment = (string) au, "
         "width = (int) [ 16, 4096 ], "
         "height = (int) [ 16, 4096 ], "
         "framerate = (fraction) [ 0, MAX ]; "
index 7f94f18..7fcf943 100644 (file)
@@ -102,7 +102,7 @@ static GstStaticPadTemplate videosink_templ =
         "mpegversion = (int) { 1, 2, 4 }, "
         "systemstream = (boolean) false, "
         COMMON_VIDEO_CAPS "; "
-        "video/x-h264, "
+        "video/x-h264, stream-format=avc, alignment=au, "
         COMMON_VIDEO_CAPS "; "
         "video/x-divx, "
         COMMON_VIDEO_CAPS "; "