mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
d3d11poolallocator: Initialize flush flag with TRUE
If it's not active state, it should return flushing from acquire method Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4935>
This commit is contained in:
parent
43ee082189
commit
9aa1d683a2
1 changed files with 1 additions and 1 deletions
|
@ -1956,7 +1956,7 @@ struct _GstD3D11PoolAllocatorPrivate
|
|||
|
||||
std::atomic<guint> outstanding;
|
||||
guint cur_mems = 0;
|
||||
gboolean flushing = FALSE;
|
||||
gboolean flushing = TRUE;
|
||||
|
||||
/* Calculated memory size, based on Direct3D11 staging texture map.
|
||||
* Note that, we cannot know the actually staging texture memory size prior
|
||||
|
|
Loading…
Reference in a new issue