summaryrefslogtreecommitdiff
path: root/gst/nuvdemux
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 /gst/nuvdemux
parent73d847ba24792ca2143c738b716b948e55ad193b (diff)
downloadgstreamer-plugins-bad-4060056ce60325ec9737265d919db760833d7707.tar.gz
assrender, nuvdemux: unref buffers with gst_buffer_unref()
Diffstat (limited to 'gst/nuvdemux')
-rw-r--r--gst/nuvdemux/gstnuvdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/nuvdemux/gstnuvdemux.c b/gst/nuvdemux/gstnuvdemux.c
index 147195447..3401c8157 100644
--- a/gst/nuvdemux/gstnuvdemux.c
+++ b/gst/nuvdemux/gstnuvdemux.c
@@ -637,7 +637,7 @@ gst_nuv_demux_stream_extend_header (GstNuvDemux * nuv)
nuv->state = GST_NUV_DEMUX_INVALID_DATA;
GST_ELEMENT_ERROR (nuv, STREAM, DEMUX, (NULL),
("Unsupported extended header (0x%02x)", buf->data[0]));
- g_object_unref (buf);
+ gst_buffer_unref (buf);
return GST_FLOW_ERROR;
}
return res;