Commit c0d59a8a authored by alex's avatar alex

print codec parameters for audio too

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