diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-22 19:25:39 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-22 19:25:39 +0100 |
commit | a7c2b1354310b3c0fa81dc1d164fffca9c573c67 (patch) | |
tree | 433c6dd7ef42287cece4870fa5fa206709e11446 /gst/matroska | |
parent | bfcf84a3eb766f2da0cf1cfdecdd9dcdf847f75f (diff) |
matroskademux: Unref the buffer and not the memory address of the buffer
Diffstat (limited to 'gst/matroska')
-rw-r--r-- | gst/matroska/matroska-demux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 3c656c2c..118886fc 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -3864,7 +3864,7 @@ gst_matroska_demux_check_subtitle_buffer (GstElement * element, GST_BUFFER_SIZE (newbuf) = strlen (utf8); gst_buffer_copy_metadata (newbuf, *buf, GST_BUFFER_COPY_TIMESTAMPS | GST_BUFFER_COPY_FLAGS); - gst_buffer_unref (buf); + gst_buffer_unref (*buf); *buf = newbuf; return GST_FLOW_OK; |