videoencoder: Use video marker flag to signal end of frame
authorStéphane Cerveau <scerveau@collabora.com>
Wed, 25 Sep 2019 08:45:28 +0000 (10:45 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 21 Dec 2019 02:59:14 +0000 (02:59 +0000)
commit7013a5887402c6b8a0689bd0824d923a7573c16a
treea75fb41f11d84a71c7d5dfa4cb79ae3d6733919b
parent3e328969127fc4847687181cea3aa13d4d880b72
videoencoder: Use video marker flag to signal end of frame

This marker is optional, its name refer to RTP marker bit. This mark can
be use to reduce latency in various use cases. With the split between
finish_frame() and finish_subframe() we will now be able to identitfy
the last subframe with no latency.

In order to detail the use of GST_BUFFER_FLAG_MARKER in a video
use case, the flag GST_VIDEO_BUFFER_FLAG_MARKER has been introduced
with a proper documentation clarifying marker's role.
gst-libs/gst/video/gstvideoencoder.c
gst-libs/gst/video/video-frame.h