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

Originally committed as revision 13955 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Stefano Sabatini 17 years ago
parent 6aada9b1ba
commit 5dc8eeb639
  1. 2
      ffserver.c

@ -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);

Loading…
Cancel
Save