av1parse: push all data once when input alignment not smaller than output.
authorHe Junyan <junyan.he@intel.com>
Fri, 14 Oct 2022 07:46:16 +0000 (15:46 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 21 Oct 2022 11:16:13 +0000 (11:16 +0000)
commitee5d7ce075a7c24001ce45266db4e25cc1c94daf
tree52bf3699798e6f08ab0d94276c66a2cb478e12c9
parentb7d3a219aba8df190ea359d0c2fb4c2d60a771d0
av1parse: push all data once when input alignment not smaller than output.

When the incoming data has big alignment than the output, we do not need to
call finish_frame() and exit the current handle_frame() for each splitted
frame. We can push them all at one shot with in one handle_frame(), whcih
may improve the performance and can help us to find the edge of TU.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3182>
subprojects/gst-plugins-bad/gst/videoparsers/gstav1parse.c