diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2007-03-09 11:20:57 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2007-03-09 11:20:57 +0000 |
commit | acdc852017a3dc0482c75bb53eee51692d819c63 (patch) | |
tree | 11a6c5c5bf5aadcd762551d21ca8f8e04b69a056 /ffserver.c | |
parent | abfe5a4a7537f7ce9a2694cdac76662f12b3b978 (diff) | |
download | ffmpeg-acdc852017a3dc0482c75bb53eee51692d819c63.tar.gz |
print codec parameters for audio too
Originally committed as revision 8303 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c index 6a597d94fa..899e4b7d8b 100644 --- a/ffserver.c +++ b/ffserver.c @@ -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"; |