diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-06-29 23:31:50 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-06-29 23:31:50 +0200 |
commit | b4ef216f0bdfdc3e31fab19855d51aa4d98622ba (patch) | |
tree | 283a5fc4a065c347eb7fab1980518494b4d83f77 /ext/schroedinger | |
parent | 225f03f80ed57072cac287509642ca4281f6cef7 (diff) | |
download | gstreamer-plugins-bad-b4ef216f0bdfdc3e31fab19855d51aa4d98622ba.tar.gz |
schroenc: Don't leak all input buffers
Diffstat (limited to 'ext/schroedinger')
-rw-r--r-- | ext/schroedinger/gstschroenc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/schroedinger/gstschroenc.c b/ext/schroedinger/gstschroenc.c index cb755c234..0dc2fde06 100644 --- a/ext/schroedinger/gstschroenc.c +++ b/ext/schroedinger/gstschroenc.c @@ -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); |