msdkdec: add thiz->ds_has_known_allocator for d3d11

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4088>
This commit is contained in:
Tong Wu 2022-11-17 10:29:55 +08:00 committed by GStreamer Marge Bot
parent 245df2778e
commit d2902be9eb

View file

@ -1874,6 +1874,10 @@ gst_msdkdec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query)
GST_IS_VA_DMABUF_ALLOCATOR (allocator)))
thiz->ds_has_known_allocator = FALSE;
}
#else
if (!GST_IS_D3D11_BUFFER_POOL (pool)) {
thiz->ds_has_known_allocator = FALSE;
}
#endif
/* If downstream supports video meta and video alignment, or downstream