mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
basevideo: Free frame using utility function
This commit is contained in:
parent
38b949fe6f
commit
7496a84ea0
1 changed files with 1 additions and 2 deletions
|
@ -487,8 +487,7 @@ gst_base_video_encoder_finish_frame (GstBaseVideoEncoder * base_video_encoder,
|
|||
frame->src_buffer);
|
||||
}
|
||||
|
||||
gst_buffer_unref (frame->sink_buffer);
|
||||
g_free (frame);
|
||||
gst_base_video_codec_free_frame (frame);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue