basevideo: Free frame using utility function

This commit is contained in:
David Schleef 2009-10-05 13:33:22 -07:00
parent 38b949fe6f
commit 7496a84ea0

View file

@ -487,8 +487,7 @@ gst_base_video_encoder_finish_frame (GstBaseVideoEncoder * base_video_encoder,
frame->src_buffer); frame->src_buffer);
} }
gst_buffer_unref (frame->sink_buffer); gst_base_video_codec_free_frame (frame);
g_free (frame);
return ret; return ret;
} }