Backport of "d3d12encoder: Fix buffer pool leak" into 1.24
requested to merge gstreamer-backport-bot/gstreamer:mr-6628-backport-into-1.24-d3d12enc-leak into 1.24
Backport of !6628 (merged) "d3d12encoder: Fix buffer pool leak".
Commits:
- e597dcdf d3d12encoder: Fix buffer pool leak