projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e59413
)
update for memory api changes
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 15 Mar 2012 12:38:16 +0000
(13:38 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 15 Mar 2012 12:38:16 +0000
(13:38 +0100)
ext/lame/gstlamemp3enc.c
patch
|
blob
|
history
diff --git
a/ext/lame/gstlamemp3enc.c
b/ext/lame/gstlamemp3enc.c
index
9b2737d
..
010d49b
100644
(file)
--- a/
ext/lame/gstlamemp3enc.c
+++ b/
ext/lame/gstlamemp3enc.c
@@
-771,7
+771,7
@@
gst_lamemp3enc_handle_frame (GstAudioEncoder * enc, GstBuffer * in_buf)
/* allocate space for output */
mp3_buffer_size = 1.25 * num_samples + 7200;
- mp3_buf = gst_buffer_new_allocate (NULL, mp3_buffer_size,
0
);
+ mp3_buf = gst_buffer_new_allocate (NULL, mp3_buffer_size,
NULL
);
gst_buffer_map (mp3_buf, &mp3_map, GST_MAP_WRITE);
/* lame seems to be too stupid to get mono interleaved going */