summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6f91a5f)
raw | patch | inline | side by side (parent: 6f91a5f)
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | |
Tue, 3 May 2011 13:57:16 +0000 (14:57 +0100) | ||
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | |
Tue, 3 May 2011 14:24:15 +0000 (15:24 +0100) |
ext/x264/gstx264enc.c | patch | blob | history |
diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c
index 098b41f0a891b406c38bc4c2acd7a60e591d3cb8..59d1f4e72be003b6963001930099327a4e0c3917 100644 (file)
--- a/ext/x264/gstx264enc.c
+++ b/ext/x264/gstx264enc.c
/* If we already have caps return them */
if (GST_PAD_CAPS (pad))
- return GST_PAD_CAPS (pad);
+ return gst_caps_copy (GST_PAD_CAPS (pad));
encoder = GST_X264_ENC (gst_pad_get_parent (pad));
if (!encoder)