- use _merge instead of _append
authorWim Taymans <wim.taymans@gmail.com>
Mon, 8 Jul 2002 19:43:32 +0000 (19:43 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 8 Jul 2002 19:43:32 +0000 (19:43 +0000)
Original commit message from CVS:
- use _merge instead of _append
- unref events

gst/mpegaudioparse/gstmpegaudioparse.c

index 177a5d3..c6c7965 100644 (file)
@@ -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);
   }