video-converter: Set TIME segment format on appsrc
authorJan Schmidt <jan@centricular.com>
Wed, 6 Nov 2024 07:51:21 +0000 (18:51 +1100)
committerBackport Bot <gitlab-backport-bot@gstreamer-foundation.org>
Wed, 6 Nov 2024 09:57:18 +0000 (09:57 +0000)
commitd6a082d58a44c407e573aba394c444da73f167eb
tree1684e1cb92405c40b03145da63be348344a7e87f
parent4bfd700c522acdd43bd7afd90369bd94d5818908
video-converter: Set TIME segment format on appsrc

Combine the appsrc and appsink settings into one place and ensure that
the appsrc will output a TIME segment, to avoid incorrect segment format
criticals in some situations.

The D3D11 path was already setting the segment format correctly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7842>
subprojects/gst-plugins-base/gst-libs/gst/video/convertframe.c