decklinkvideosink: Pass video frames directly to the Decklink SDK without copying
authorSebastian Dröge <sebastian@centricular.com>
Tue, 28 Jun 2022 13:40:55 +0000 (16:40 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 1 Jul 2022 08:46:48 +0000 (08:46 +0000)
commit2aae64edb9510bb3f819da175948f18663eabd8e
tree66d14aecad96ba3eaaccee8250f187e8a149fc00
parent5ffaf2aa091637796b0ca23ad002689a70d6864c
decklinkvideosink: Pass video frames directly to the Decklink SDK without copying

If the video frame is stored in PBO memory then we need to copy anyway as
it might be stored in CPU-accessible GPU memory that can't be accessed
from the Decklink driver.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2674>
subprojects/gst-plugins-bad/sys/decklink/gstdecklink.h
subprojects/gst-plugins-bad/sys/decklink/gstdecklinkvideosink.cpp