From acdc852017a3dc0482c75bb53eee51692d819c63 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Fri, 9 Mar 2007 11:20:57 +0000 Subject: [PATCH] print codec parameters for audio too Originally committed as revision 8303 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffserver.c | 1 + 1 file changed, 1 insertion(+) 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";