mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 10:25:33 +00:00
- use _merge instead of _append
Original commit message from CVS: - use _merge instead of _append - unref events
This commit is contained in:
parent
47043705b3
commit
b087ff6c51
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ gst_mp3parse_chain (GstPad *pad, GstBuffer *buf)
|
||||||
/* if we have something left from the previous frame */
|
/* if we have something left from the previous frame */
|
||||||
if (mp3parse->partialbuf) {
|
if (mp3parse->partialbuf) {
|
||||||
|
|
||||||
mp3parse->partialbuf = gst_buffer_append(mp3parse->partialbuf, buf);
|
mp3parse->partialbuf = gst_buffer_merge(mp3parse->partialbuf, buf);
|
||||||
/* and the one we received.. */
|
/* and the one we received.. */
|
||||||
gst_buffer_unref(buf);
|
gst_buffer_unref(buf);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue