mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
omxvideoenc: Unref frame of codec config buffer
After handling codec config, codec frame should be unreffed.
This commit is contained in:
parent
50d50f47fb
commit
d8d23bbb3e
1 changed files with 1 additions and 0 deletions
|
@ -1333,6 +1333,7 @@ gst_omx_video_enc_handle_output_frame (GstOMXVideoEnc * self, GstOMXPort * port,
|
|||
"Downstream element refused to negotiate codec_data in the caps");
|
||||
return GST_FLOW_NOT_NEGOTIATED;
|
||||
}
|
||||
gst_video_codec_frame_unref (frame);
|
||||
flow_ret = GST_FLOW_OK;
|
||||
} else if (buf->omx_buf->nFilledLen > 0) {
|
||||
GstBuffer *outbuf;
|
||||
|
|
Loading…
Reference in a new issue