mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
update for adapter api change
This commit is contained in:
parent
9d1a924013
commit
54fdd9faf7
1 changed files with 2 additions and 1 deletions
|
@ -1048,7 +1048,8 @@ gst_ffmpegenc_chain_audio (GstPad * pad, GstBuffer * inbuf)
|
|||
gst_ffmpegenc_encode_audio (ffmpegenc, in_data, frame_bytes, out_size,
|
||||
timestamp, duration, ffmpegenc->discont);
|
||||
|
||||
gst_adapter_unmap (ffmpegenc->adapter, frame_bytes);
|
||||
gst_adapter_unmap (ffmpegenc->adapter);
|
||||
gst_adapter_flush (ffmpegenc->adapter, frame_bytes);
|
||||
|
||||
if (ret != GST_FLOW_OK)
|
||||
goto push_failed;
|
||||
|
|
Loading…
Reference in a new issue