mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
omxvideoenc: Don't output 0-byte buffers
This commit is contained in:
parent
1fa3b2662e
commit
decf765502
1 changed files with 1 additions and 2 deletions
|
@ -511,8 +511,7 @@ gst_omx_video_enc_loop (GstOMXVideoEnc * self)
|
|||
}
|
||||
gst_caps_unref (caps);
|
||||
flow_ret = GST_FLOW_OK;
|
||||
} else if (!(buf->omx_buf->nFlags & OMX_BUFFERFLAG_EOS)
|
||||
|| buf->omx_buf->nFilledLen > 0) {
|
||||
} else if (buf->omx_buf->nFilledLen > 0) {
|
||||
GstBuffer *outbuf;
|
||||
|
||||
if (buf->omx_buf->nFilledLen > 0) {
|
||||
|
|
Loading…
Reference in a new issue