projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e00b8f0
)
avimux: unmap the correct buffer
author
Michael Olbrich
<m.olbrich@pengutronix.de>
Fri, 23 Aug 2013 09:17:45 +0000
(11:17 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Fri, 23 Aug 2013 09:32:52 +0000
(11:32 +0200)
The audio buffer was mapped so unmap it and not the video buffer
https://bugzilla.gnome.org/show_bug.cgi?id=706642
gst/avi/gstavimux.c
patch
|
blob
|
history
diff --git
a/gst/avi/gstavimux.c
b/gst/avi/gstavimux.c
index
96aa7a9
..
c3b8772
100644
(file)
--- a/
gst/avi/gstavimux.c
+++ b/
gst/avi/gstavimux.c
@@
-1311,7
+1311,7
@@
gst_avi_mux_riff_get_avi_header (GstAviMux * avimux)
if (audpad->auds_codec_data) {
gst_buffer_map (audpad->auds_codec_data, &map, GST_MAP_READ);
hdl &= gst_byte_writer_put_data (&bw, map.data, map.size);
- gst_buffer_unmap (
vidpad->vi
ds_codec_data, &map);
+ gst_buffer_unmap (
audpad->au
ds_codec_data, &map);
}
gst_avi_mux_end_chunk (&bw, strf);
}