Commit 6d149ea2 authored by michael's avatar michael

Print warnig if requested samplingrate is unsupported.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22991 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 834d1413
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment