mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
omxvideoenc: Free/drop GstVideoFrames that resulted in an empty buffer
This commit is contained in:
parent
34da745dc5
commit
182a488f49
1 changed files with 3 additions and 3 deletions
|
@ -523,9 +523,9 @@ gst_omx_video_enc_loop (GstOMXVideoEnc * self)
|
|||
flow_ret = gst_pad_push (GST_BASE_VIDEO_CODEC_SRC_PAD (self), outbuf);
|
||||
}
|
||||
} else if (frame != NULL) {
|
||||
/*flow_ret =
|
||||
gst_base_video_encoder_finish_frame (GST_BASE_VIDEO_ENCODER (self),
|
||||
frame); */
|
||||
flow_ret =
|
||||
gst_base_video_encoder_finish_frame (GST_BASE_VIDEO_ENCODER (self),
|
||||
frame);
|
||||
}
|
||||
|
||||
if (flow_ret == GST_FLOW_OK && (buf->omx_buf->nFlags & OMX_BUFFERFLAG_EOS))
|
||||
|
|
Loading…
Reference in a new issue