Commit 2d7cbc81 authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Sebastian Dröge

[MOVED FROM BAD 118/134] vp8enc: fix memory leak

unref frame. i hope it is correct place to do it.
Signed-off-by: default avatarOleksij Rempel <bug-track@fisher-privat.net>
parent c45fcd0f
......@@ -1119,7 +1119,7 @@ gst_vp8_enc_handle_frame (GstVideoEncoder * video_encoder,
gst_video_codec_frame_set_user_data (frame, NULL, NULL);
return FALSE;
}
gst_video_codec_frame_unref (frame);
return gst_vp8_enc_process (encoder);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment