MSDK: Handle context query into the decoder's query function.
authorHe Junyan <junyan.he@intel.com>
Tue, 17 Aug 2021 14:34:43 +0000 (22:34 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 11 Feb 2022 07:13:45 +0000 (07:13 +0000)
commitdb5be289c7920ccb17daf70174019cd931821734
tree60f59fa6ead7a0ba8d3ab972a7182b7a6bad0795
parent6635852c40ae3f2551702a8c8a0b926b298a3c9d
MSDK: Handle context query into the decoder's query function.

The MSDK decoder's query function is not set and it just forwards
all query to its base class. We now need to answer the context
query correctly. Other VA plugins need to query the VA display.

By the way, the current query of "gst.msdk.Context" is also missing.
The other MSDK elements must depend on the bin's context message(
sent in context_propagate()) to set their MsdkContext correctly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1087>
subprojects/gst-plugins-bad/sys/msdk/gstmsdkdec.c