Make ffserver show launched commandlines not only in debug-mode.

Originally committed as revision 13955 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2008-06-24 22:27:37 +00:00
parent 6aada9b1ba
commit 5dc8eeb639

View File

@ -416,13 +416,11 @@ static void start_children(FFStream *feed)
slash++;
strcpy(slash, "ffmpeg");
if (ffserver_debug) {
http_log("Launch commandline: ");
http_log("%s ", pathname);
for (i = 1; feed->child_argv[i] && feed->child_argv[i][0]; i++)
http_log("%s ", feed->child_argv[i]);
http_log("\n");
}
for (i = 3; i < 256; i++)
close(i);