picture_pool: add dynamic pools support for opaque pictures
A better solution than the hack done in !6420 (8a31e7c0)
avcodec internal is often allocating more hw pics than what we configure. Even our va modules do allocate more pictures (cf. d3dv11).
This will avoid a deadlock when avcodec use more frames than us.
NB: The pool private data could be allocated in picture_pool instead of using picture private data (but it requires an extra malloc per picture).
Merge request reports
Activity
changed milestone to %4.0
added Component::Decoders Hw label
- Resolved by Thomas Guillem
On top of !6420 (merged)
added MRStatus::NotCompliant label
added 6 commits
Toggle commit listmentioned in merge request !6420 (merged)
added 6 commits
Toggle commit listadded MRStatus::Reviewable label and removed MRStatus::NotCompliant label
Updated to no depend on !6420 (merged)
added MRStatus::Acceptable label and removed MRStatus::Reviewable label
- Resolved by Thomas Guillem
This will avoid a deadlock when avcodec use more frames than us.
This is dangerous, we will not notice when the pool keeps growing unless we end up with no memory. We should try as much as possible to match what lavc is requesting (including fixing potential bugs).
added MRStatus::InReview label and removed MRStatus::Acceptable label