omxh264enc: send codec data downstream
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Thu, 16 May 2019 08:38:49 +0000 (10:38 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sun, 22 Dec 2019 05:43:40 +0000 (05:43 +0000)
commit4c9b8052c7fd15fd0fd676b78d4ba8debd3ebb2d
tree076670caa91641435bed2a4eba622f1887c0b799
parentbb0d9add242a2840e781c8e1581deea2e88d2cdc
omxh264enc: send codec data downstream

We are operating in stream-format=byte-stream so the codec data buffer
is meant to be part of the buffer flow.

The base class will push it when a key frame is requested (as we stored
it with gst_video_encoder_set_headers()) but we still have to push it
right away as part of the normal buffer flow.

Also set the HEADER flag on this buffer.
omx/gstomxh264enc.c