Skip to content

Clear h264 decoder DPB when bumping fails

This change prevents the stuck on corrupted h264 straems.

A corrupted stream might lead to overload in DPD (Decoded Picture Buffer) and occupying whole buffer pool. Later any new buffer cannot be created what resulted in deadlock in the decoder while waiting for a buffer from buffer pool.

This change will make the current GOP unplayable but it's a safe way for avoiding deadlock on errogenous streams.

Merge request reports