mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
schroenc: Don't leak all input buffers
This commit is contained in:
parent
225f03f80e
commit
b4ef216f0b
1 changed files with 1 additions and 2 deletions
|
@ -648,8 +648,7 @@ gst_schro_enc_handle_frame (GstVideoEncoder * base_video_encoder,
|
|||
}
|
||||
|
||||
/* FIXME : We could make that method just take GstVideoInfo ... */
|
||||
schro_frame = gst_schro_buffer_wrap (gst_buffer_ref (frame->input_buffer),
|
||||
FALSE, info);
|
||||
schro_frame = gst_schro_buffer_wrap (frame->input_buffer, FALSE, info);
|
||||
|
||||
GST_DEBUG ("pushing frame %p", frame);
|
||||
schro_encoder_push_frame_full (schro_enc->encoder, schro_frame, frame);
|
||||
|
|
Loading…
Reference in a new issue