avimux,matroskamux: Add stream-format to h264 caps

Fixes #606662.
This commit is contained in:
David Schleef 2011-04-24 16:45:07 -07:00
parent 24d57ac961
commit bddac50961
2 changed files with 3 additions and 1 deletions

View file

@ -129,6 +129,8 @@ static GstStaticPadTemplate video_sink_factory =
"height = (int) [ 16, 4096 ], " "height = (int) [ 16, 4096 ], "
"framerate = (fraction) [ 0, MAX ]; " "framerate = (fraction) [ 0, MAX ]; "
"video/x-h264, " "video/x-h264, "
"stream-format = (string) byte-stream, "
"alignment = (string) au, "
"width = (int) [ 16, 4096 ], " "width = (int) [ 16, 4096 ], "
"height = (int) [ 16, 4096 ], " "height = (int) [ 16, 4096 ], "
"framerate = (fraction) [ 0, MAX ]; " "framerate = (fraction) [ 0, MAX ]; "

View file

@ -102,7 +102,7 @@ static GstStaticPadTemplate videosink_templ =
"mpegversion = (int) { 1, 2, 4 }, " "mpegversion = (int) { 1, 2, 4 }, "
"systemstream = (boolean) false, " "systemstream = (boolean) false, "
COMMON_VIDEO_CAPS "; " COMMON_VIDEO_CAPS "; "
"video/x-h264, " "video/x-h264, stream-format=avc, alignment=au, "
COMMON_VIDEO_CAPS "; " COMMON_VIDEO_CAPS "; "
"video/x-divx, " "video/x-divx, "
COMMON_VIDEO_CAPS "; " COMMON_VIDEO_CAPS "; "