summaryrefslogtreecommitdiff
path: root/gst/playback/gstplaysinkconvertbin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/playback/gstplaysinkconvertbin.c')
-rw-r--r--gst/playback/gstplaysinkconvertbin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/playback/gstplaysinkconvertbin.c b/gst/playback/gstplaysinkconvertbin.c
index f67e29d37..a5fcf3f9b 100644
--- a/gst/playback/gstplaysinkconvertbin.c
+++ b/gst/playback/gstplaysinkconvertbin.c
@@ -304,8 +304,7 @@ block_proxypad (GstPlaySinkConvertBin * self)
if (self->sink_proxypad_block_id == 0) {
self->sink_proxypad_block_id =
gst_pad_add_probe (self->sink_proxypad,
- GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM, pad_blocked_cb,
- gst_object_ref (self), (GDestroyNotify) gst_object_unref);
+ GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM, pad_blocked_cb, self, NULL);
}
}