summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0bc0a31)
raw | patch | inline | side by side (parent: 0bc0a31)
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | |
Wed, 4 May 2011 10:39:17 +0000 (12:39 +0200) | ||
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | |
Wed, 4 May 2011 10:39:17 +0000 (12:39 +0200) |
ext/x264/gstx264enc.c | patch | blob | history |
diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c
index ff3a34f98818270408308a978a90af720f57e134..66e764797e94ba824cd4b2065d742e8c4d065b26 100644 (file)
--- a/ext/x264/gstx264enc.c
+++ b/ext/x264/gstx264enc.c
gst_object_unref (peer);
peer = NULL;
} else {
- caps = gst_caps_ref (gst_pad_get_pad_template_caps (pad));
+ caps = gst_caps_copy (gst_pad_get_pad_template_caps (pad));
}
gst_object_unref (encoder);