提交 acdc8520 编写于 作者: A Alex Beregszaszi

print codec parameters for audio too

Originally committed as revision 8303 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 abfe5a4a
......@@ -1766,6 +1766,7 @@ static void compute_stats(HTTPContext *c)
switch(st->codec->codec_type) {
case CODEC_TYPE_AUDIO:
type = "audio";
snprintf(parameters, sizeof(parameters), "%d channel(s), %d Hz", st->codec->channels, st->codec->sample_rate);
break;
case CODEC_TYPE_VIDEO:
type = "video";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册