Browse Source

swresample/swresample: Print used int_sample_fmt

Suggested-by: wm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.8
Michael Niedermayer 10 years ago
parent
commit
5de3a589f1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libswresample/swresample.c

+ 1
- 1
libswresample/swresample.c View File

@@ -226,10 +226,10 @@ av_cold int swr_init(struct SwrContext *s){
}else if(av_get_planar_sample_fmt(s->in_sample_fmt) <= AV_SAMPLE_FMT_FLTP){ }else if(av_get_planar_sample_fmt(s->in_sample_fmt) <= AV_SAMPLE_FMT_FLTP){
s->int_sample_fmt= AV_SAMPLE_FMT_FLTP; s->int_sample_fmt= AV_SAMPLE_FMT_FLTP;
}else{ }else{
av_log(s, AV_LOG_DEBUG, "Using double precision mode\n");
s->int_sample_fmt= AV_SAMPLE_FMT_DBLP; s->int_sample_fmt= AV_SAMPLE_FMT_DBLP;
} }
} }
av_log(s, AV_LOG_DEBUG, "Using %s internally between filters\n", av_get_sample_fmt_name(s->int_sample_fmt));


if( s->int_sample_fmt != AV_SAMPLE_FMT_S16P if( s->int_sample_fmt != AV_SAMPLE_FMT_S16P
&&s->int_sample_fmt != AV_SAMPLE_FMT_S32P &&s->int_sample_fmt != AV_SAMPLE_FMT_S32P


Loading…
Cancel
Save