projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
509246c
)
adder: The output buffer must be readable and writable
author
Sebastian Dröge
<slomo@circular-chaos.org>
Thu, 30 May 2013 10:05:02 +0000
(12:05 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Thu, 30 May 2013 21:56:51 +0000
(23:56 +0200)
gst/adder/gstadder.c
patch
|
blob
|
history
diff --git
a/gst/adder/gstadder.c
b/gst/adder/gstadder.c
index
088a9cf
..
2a98388
100644
(file)
--- a/
gst/adder/gstadder.c
+++ b/
gst/adder/gstadder.c
@@
-1318,7
+1318,7
@@
gst_adder_collected (GstCollectPads * pads, gpointer user_data)
* 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);
- gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE);
+ gst_buffer_map (outbuf, &outmap, GST_MAP_
READ
WRITE);
} else {
if (!is_gap) {
/* we had a previous output buffer, mix this non-GAP buffer */