st/omx: Set end-of-frame flag on bitstream output buffers
authorMark Thompson <sw@jkqxz.net>
Sun, 5 Mar 2017 23:18:11 +0000 (23:18 +0000)
committerChristian König <christian.koenig@amd.com>
Mon, 6 Mar 2017 13:05:43 +0000 (14:05 +0100)
commit6398a092131ab0c9cb47f2a6f78ae1d8ba0ea65c
tree8f3584265133dcd5655eb7b6947c64f123b7720f
parent6d95358aacc184b8927ff138e90d5920885365e7
st/omx: Set end-of-frame flag on bitstream output buffers

Since all output buffers are whole frames, this should always be set.

Technically, setting this flag is is optional (see OpenMAX IL section
3.1.2.7.1), but some clients assume that it will be used and
therefore buffer indefinitely thinking that all output buffers are
fragments of the first frame when it is not set.

Signed-off-by: Mark Thompson <sw@jkqxz.net>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/omx/vid_enc.c