Skip to content

d3d11decoder: Do negotiation again per forward/reverse playback mode change

For reverse playback, we are always copying decoded frame to downstream buffer. So the pool size can be and need to be large enough.

In case that forward playback, however, we need to restrict the max pool size for performance reason. Otherwise decoder will keep copying decoded texture to downstream buffer pool if decoding is faster than downstream throughput performance and also there are queue element between them.

Merge request reports

Loading