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:
parent
245df2778e
commit
d2902be9eb
@ -1874,6 +1874,10 @@ gst_msdkdec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query)
|
|||||||
GST_IS_VA_DMABUF_ALLOCATOR (allocator)))
|
GST_IS_VA_DMABUF_ALLOCATOR (allocator)))
|
||||||
thiz->ds_has_known_allocator = FALSE;
|
thiz->ds_has_known_allocator = FALSE;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
if (!GST_IS_D3D11_BUFFER_POOL (pool)) {
|
||||||
|
thiz->ds_has_known_allocator = FALSE;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* If downstream supports video meta and video alignment, or downstream
|
/* If downstream supports video meta and video alignment, or downstream
|
||||||
|
Loading…
x
Reference in New Issue
Block a user