d3d11memory: Inform subresource index via GstMapInfo::user_data
authorSeungha Yang <seungha@centricular.com>
Tue, 7 Dec 2021 12:29:05 +0000 (21:29 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 8 Feb 2022 10:05:35 +0000 (10:05 +0000)
commitaf9b9be76dce11e701db55abc6523d87dc5e4d41
tree3a328d9759d522b948890e75814effd404205bfc
parenta37da515f44a10b074224a270911518b3ecdba68
d3d11memory: Inform subresource index via GstMapInfo::user_data

By using this way, caller does not need to call another method
gst_d3d11_memory_get_subresource_index()

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1408>
subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11memory.cpp