summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-07-08 19:43:32 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-07-08 19:43:32 +0000
commitb087ff6c51d473f1836f940bf20ed47729369898 (patch)
tree5383ae717b918c38dcfd889e9a07382af84f86e0
parent47043705b307a9a7d239252d732210d1af45af7b (diff)
downloadgst-plugins-bad-b087ff6c51d473f1836f940bf20ed47729369898.tar.gz
gst-plugins-bad-b087ff6c51d473f1836f940bf20ed47729369898.tar.bz2
gst-plugins-bad-b087ff6c51d473f1836f940bf20ed47729369898.zip
- use _merge instead of _append
Original commit message from CVS: - use _merge instead of _append - unref events
-rw-r--r--gst/mpegaudioparse/gstmpegaudioparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpegaudioparse/gstmpegaudioparse.c b/gst/mpegaudioparse/gstmpegaudioparse.c
index 177a5d3d..c6c79655 100644
--- a/gst/mpegaudioparse/gstmpegaudioparse.c
+++ b/gst/mpegaudioparse/gstmpegaudioparse.c
@@ -258,7 +258,7 @@ gst_mp3parse_chain (GstPad *pad, GstBuffer *buf)
/* if we have something left from the previous frame */
if (mp3parse->partialbuf) {
- mp3parse->partialbuf = gst_buffer_append(mp3parse->partialbuf, buf);
+ mp3parse->partialbuf = gst_buffer_merge(mp3parse->partialbuf, buf);
/* and the one we received.. */
gst_buffer_unref(buf);
}