Skip to content

vtdec: Fix deadlock when negotiating format change

Similar to !5521 (merged), this fixes a deadlock issue when the format changes during playback, e.g. due to ABR, and a negotiation is triggered. The deadlock was caused for the same reason as well, a contention over the stream lock due to the base class negotiation method being called (but this time from set_format instead of handle_frame).

Merge request reports