mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue