input: decoder: fix locking CC
vlc_input_decoder_HasCCChanFlag also needs to be protected, and the owner->lock mutex will be removed in later patches, to be completely replaced by the already existing fifo lock. The new cc.lock allows better thread safety without risking a deadlock between the super-decoder and the sub-decoder, by protecting the very state being synced by both of them.
Loading
Please register or sign in to comment