summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 27025d0)
raw | patch | inline | side by side (parent: 27025d0)
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | |
Tue, 22 Jun 2010 09:41:42 +0000 (11:41 +0200) | ||
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | |
Tue, 22 Jun 2010 09:42:18 +0000 (11:42 +0200) |
See #606662.
ext/x264/gstx264enc.c | patch | blob | history |
diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c
index 0bbf59be3bcc972b6d114bae8dd0d5b683122c05..83c4cb701e0a3307ef404a7c129d1fee6b7ed88b 100644 (file)
--- a/ext/x264/gstx264enc.c
+++ b/ext/x264/gstx264enc.c
GST_STATIC_CAPS ("video/x-h264, "
"framerate = (fraction) [0/1, MAX], "
"width = (int) [ 1, MAX ], " "height = (int) [ 1, MAX ], "
- "stream-format = (string) { byte-stream, avc }")
+ "stream-format = (string) { byte-stream, avc }, "
+ "alignment = (string) { au }")
);
static void gst_x264_enc_finalize (GObject * object);
gst_structure_set (structure, "stream-format", G_TYPE_STRING, "byte-stream",
NULL);
}
+ gst_structure_set (structure, "alignment", G_TYPE_STRING, "au", NULL);
res = gst_pad_set_caps (pad, outcaps);
gst_caps_unref (outcaps);