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
@ -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…
x
Reference in New Issue
Block a user