mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
adder: unbreak adder
There was one line too much removed when porting.
This commit is contained in:
parent
9debd13665
commit
1cea9c851c
1 changed files with 4 additions and 0 deletions
|
@ -1141,6 +1141,10 @@ gst_adder_collected (GstCollectPads * pads, gpointer user_data)
|
||||||
GST_LOG_OBJECT (adder, "channel %p: preparing output buffer of %d bytes",
|
GST_LOG_OBJECT (adder, "channel %p: preparing output buffer of %d bytes",
|
||||||
collect_data, outsize);
|
collect_data, outsize);
|
||||||
|
|
||||||
|
/* make data and metadata writable, can simply return the inbuf when we
|
||||||
|
* are the only one referencing this buffer. If this is the last (and
|
||||||
|
* only) GAP buffer, it will automatically copy the GAP flag. */
|
||||||
|
outbuf = gst_buffer_make_writable (inbuf);
|
||||||
outdata = gst_buffer_map (outbuf, NULL, NULL, GST_MAP_WRITE);
|
outdata = gst_buffer_map (outbuf, NULL, NULL, GST_MAP_WRITE);
|
||||||
} else {
|
} else {
|
||||||
if (!is_gap) {
|
if (!is_gap) {
|
||||||
|
|
Loading…
Reference in a new issue