Print warnig if requested samplingrate is unsupported.
Originally committed as revision 22991 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
547b7bcbb7
commit
ff866063e9
1 changed files with 3 additions and 0 deletions
3
ffmpeg.c
3
ffmpeg.c
|
|
@ -498,6 +498,9 @@ static void choose_sample_rate(AVStream *st, AVCodec *codec)
|
|||
best= *p;
|
||||
}
|
||||
}
|
||||
if(best_dist){
|
||||
av_log(st->codec, AV_LOG_WARNING, "Requested sampling rate unsupported using closest supported (%d)\n", best);
|
||||
}
|
||||
st->codec->sample_rate= best;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue