Skip to content

d3d11h264dec: Allow zero-copy decoding via property even if fixed-size DPB texture pool is used

For fixed-size DPB texture pool, we disabled zero-copy decoding because of stability concern. For instance, in case that downstream doesn't release zero-copied GstBuffer, it would result in deadlock around decoder since DPB texture pool cannot allocate additional texture during playback once it's allocated.

This commit will allow zero-copy decoding via property even if fixed-size pool is in use. In this case, user should set sufficiently large DPB pool size via extra-output-views property so that decoder can keep decoding by using pre-allocated extra DPB textures.

Merge request reports