From 308c8fef68cc7fa49e59bc5cf29cdbc04f38e819 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 30 May 2013 12:05:02 +0200 Subject: [PATCH] adder: The output buffer must be readable and writable --- gst/adder/gstadder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index 088a9cf..2a98388 100644 --- 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_READWRITE); } else { if (!is_gap) { /* we had a previous output buffer, mix this non-GAP buffer */ -- 2.7.4