diff options
Diffstat (limited to 'gst/effectv/gstdice.c')
-rw-r--r-- | gst/effectv/gstdice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/effectv/gstdice.c b/gst/effectv/gstdice.c index a9fabd26..50c5b081 100644 --- a/gst/effectv/gstdice.c +++ b/gst/effectv/gstdice.c @@ -175,7 +175,7 @@ gst_dicetv_sinkconnect (GstPad * pad, GstCaps * caps) filter->dicemap = (gchar *) g_malloc (filter->height * filter->width * sizeof(char)); gst_dicetv_create_map (filter); - return gst_pad_try_set_caps (filter->srcpad, caps); + return gst_pad_try_set_caps (filter->srcpad, gst_caps_ref (caps)); } static void |