summaryrefslogtreecommitdiffstats
path: root/gst/filter/gstbpwsinc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/filter/gstbpwsinc.c')
-rw-r--r--gst/filter/gstbpwsinc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/filter/gstbpwsinc.c b/gst/filter/gstbpwsinc.c
index 0e57a747..68af7a28 100644
--- a/gst/filter/gstbpwsinc.c
+++ b/gst/filter/gstbpwsinc.c
@@ -194,7 +194,7 @@ gst_bpwsinc_sink_connect (GstPad * pad, GstCaps * caps)
if (!GST_CAPS_IS_FIXED (caps))
return GST_PAD_LINK_DELAYED;
- set_retval = gst_pad_try_set_caps (filter->srcpad, caps);
+ set_retval = gst_pad_try_set_caps (filter->srcpad, gst_caps_ref (caps));
if (set_retval > 0)
{