d3d11decoder: Set flushing to internal pool on flush event
authorSeungha Yang <seungha@centricular.com>
Fri, 23 Apr 2021 14:20:54 +0000 (23:20 +0900)
committerSeungha Yang <seungha@centricular.com>
Fri, 23 Apr 2021 16:37:01 +0000 (01:37 +0900)
commit00e1561bf2b0ecfa5dbaa1495b9bc14bb3ad7c78
treebd21c96a63a9b6be64345ea8ba580231fc2ae59f
parente4fe65a03ebc0240c16f44af9aa088d6f2613024
d3d11decoder: Set flushing to internal pool on flush event

d3d11 decoders use internal pool for DPB texture and
Gst*Decoder::new_picture() will be blocked if internal pool is full.
We should be able to unblock in on flush-start event as expected.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2192>
sys/d3d11/gstd3d11decoder.cpp
sys/d3d11/gstd3d11decoder.h
sys/d3d11/gstd3d11h264dec.cpp
sys/d3d11/gstd3d11h265dec.cpp
sys/d3d11/gstd3d11mpeg2dec.cpp
sys/d3d11/gstd3d11vp8dec.cpp
sys/d3d11/gstd3d11vp9dec.cpp