v4l2videoenc: set GstVideoCodecFrame sync point flag
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 25 Jun 2018 15:49:07 +0000 (17:49 +0200)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Thu, 21 Mar 2019 18:05:51 +0000 (18:05 +0000)
commit16e5b32bc129bf1a13207c47f91df2fcd02bc22b
tree0985b1dbcc070cda74afc30cd4f4b65609121f7c
parentd5ce10240a80d431cf2bafe810e978fd6661a048
v4l2videoenc: set GstVideoCodecFrame sync point flag

The V4L2 elements already set the delta unit buffer flag when dequeueing
the buffer, but gst_video_encoder_finish_frame overwrites it from the
passed codec frame's sync point flag. Set the flag correctly.
sys/v4l2/gstv4l2videoenc.c