d3d11decoder: Copy HDR10 related caps field manually
authorSeungha Yang <seungha@centricular.com>
Sat, 16 Apr 2022 12:27:57 +0000 (21:27 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 16 Apr 2022 18:36:41 +0000 (18:36 +0000)
commitb5a8bef5a7ff4c4feab1783789316302b2eb79e6
treeeab0d84a6d9214f97d4efea82046c8b1c5f8cfd2
parent86cf307a6cf0eafe38103e5dfe2d7e5c7a271019
d3d11decoder: Copy HDR10 related caps field manually

If negotiate() is called from the set_format() chain, sinkpad may not
hold caps yet, so baseclass cannot copy it over to srcpad caps.
Copy them manually.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2203>
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11decoder.cpp