mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 06:16:36 +00:00
update for memory api changes
This commit is contained in:
parent
0e594130e7
commit
7134a5f1e1
1 changed files with 1 additions and 1 deletions
|
@ -771,7 +771,7 @@ gst_lamemp3enc_handle_frame (GstAudioEncoder * enc, GstBuffer * in_buf)
|
||||||
|
|
||||||
/* allocate space for output */
|
/* allocate space for output */
|
||||||
mp3_buffer_size = 1.25 * num_samples + 7200;
|
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);
|
gst_buffer_map (mp3_buf, &mp3_map, GST_MAP_WRITE);
|
||||||
|
|
||||||
/* lame seems to be too stupid to get mono interleaved going */
|
/* lame seems to be too stupid to get mono interleaved going */
|
||||||
|
|
Loading…
Reference in a new issue