summaryrefslogtreecommitdiff
path: root/ext/assrender
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2011-10-18 14:41:48 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-10-18 14:41:48 +0100
commit4060056ce60325ec9737265d919db760833d7707 (patch)
treecdb617edceac600998cbaf606faefbfa070ebe0e /ext/assrender
parent73d847ba24792ca2143c738b716b948e55ad193b (diff)
downloadgstreamer-plugins-bad-4060056ce60325ec9737265d919db760833d7707.tar.gz
assrender, nuvdemux: unref buffers with gst_buffer_unref()
Diffstat (limited to 'ext/assrender')
-rw-r--r--ext/assrender/gstassrender.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/assrender/gstassrender.c b/ext/assrender/gstassrender.c
index 2727365db..1287ba1a7 100644
--- a/ext/assrender/gstassrender.c
+++ b/ext/assrender/gstassrender.c
@@ -1140,7 +1140,7 @@ gst_ass_render_chain_text (GstPad * pad, GstBuffer * buffer)
g_mutex_lock (render->subtitle_mutex);
if (G_UNLIKELY (render->subtitle_flushing)) {
GST_DEBUG_OBJECT (render, "Text pad flushing");
- gst_object_unref (buffer);
+ gst_buffer_unref (buffer);
g_mutex_unlock (render->subtitle_mutex);
return GST_FLOW_WRONG_STATE;
}