Browse Source

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>
tags/n3.2
Burt P Michael Niedermayer 9 years ago
parent
commit
33fc4cc7c6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/af_hdcd.c

+ 1
- 1
libavfilter/af_hdcd.c View File

@@ -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…
Cancel
Save