videoencoder: add API to push subframes
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 31 Aug 2018 10:09:57 +0000 (12:09 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 21 Dec 2019 02:59:14 +0000 (02:59 +0000)
commit3e328969127fc4847687181cea3aa13d4d880b72
tree55f0e32fed2610ca2bd8fc3ac5f7667a88fcfb94
parent789803fd6d75ebaec0d2edaf7fc4676c1cdf2a30
videoencoder: add API to push subframes

Introduce a new API so encoders can split the encoding in subframes.
This can be useful to reduce the overall latency as we no longer need to
wait for the full frame to be encoded to start decoding or sending it.
gst-libs/gst/video/gstvideoencoder.c
gst-libs/gst/video/gstvideoencoder.h
gst-libs/gst/video/gstvideoutils.h