mirror of https://git.ffmpeg.org/ffmpeg.git
af_hdcd: fewer false positives by ignoring code_counterC in HDCD detection
Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
e29d2d9c92
commit
33fc4cc7c6
|
@ -1094,7 +1094,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
|||
s->uses_peak_extend |= !!state->count_peak_extend;
|
||||
s->uses_transient_filter |= !!state->count_transient_filter;
|
||||
s->max_gain_adjustment = FFMIN(s->max_gain_adjustment, GAINTOFLOAT(state->max_gain));
|
||||
s->hdcd_detected |= state->code_counterC || state->code_counterB || state->code_counterA;
|
||||
s->hdcd_detected |= state->code_counterB || state->code_counterA;
|
||||
}
|
||||
|
||||
av_frame_free(&in);
|
||||
|
|
Loading…
Reference in New Issue