diff options
author | Leo Liu <[email protected]> | 2015-05-29 14:50:44 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-08-14 15:02:28 +0200 |
commit | 0729c251bbff8375ab5d24b80cfc2f8becd6afff (patch) | |
tree | 22593bd0ce891c2d97e3af1a4f9e2907d2b5a54b /src/gallium/state_trackers/omx | |
parent | facba49d839b01da139261e587a05c744cc9a1fa (diff) |
st/omx/enc: flush after eos handling v2
v2 (chk): reorder the flush
Signed-off-by: Leo Liu <[email protected]>
Signed-off-by: Christian König <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/omx')
-rw-r--r-- | src/gallium/state_trackers/omx/vid_enc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/omx/vid_enc.c b/src/gallium/state_trackers/omx/vid_enc.c index ae1a98f5be3..bb2c80e7b7f 100644 --- a/src/gallium/state_trackers/omx/vid_enc.c +++ b/src/gallium/state_trackers/omx/vid_enc.c @@ -1127,6 +1127,7 @@ static OMX_ERRORTYPE vid_enc_EncodeFrame(omx_base_PortType *port, OMX_BUFFERHEAD if (buf->nFlags & OMX_BUFFERFLAG_EOS) { buf->nFilledLen = buf->nAllocLen; enc_ClearBframes(port, inp); + priv->codec->flush(priv->codec); } return base_port_SendBufferFunction(port, buf); } |