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:
parent
6aada9b1ba
commit
5dc8eeb639
@ -416,13 +416,11 @@ static void start_children(FFStream *feed)
|
|||||||
slash++;
|
slash++;
|
||||||
strcpy(slash, "ffmpeg");
|
strcpy(slash, "ffmpeg");
|
||||||
|
|
||||||
if (ffserver_debug) {
|
|
||||||
http_log("Launch commandline: ");
|
http_log("Launch commandline: ");
|
||||||
http_log("%s ", pathname);
|
http_log("%s ", pathname);
|
||||||
for (i = 1; feed->child_argv[i] && feed->child_argv[i][0]; i++)
|
for (i = 1; feed->child_argv[i] && feed->child_argv[i][0]; i++)
|
||||||
http_log("%s ", feed->child_argv[i]);
|
http_log("%s ", feed->child_argv[i]);
|
||||||
http_log("\n");
|
http_log("\n");
|
||||||
}
|
|
||||||
|
|
||||||
for (i = 3; i < 256; i++)
|
for (i = 3; i < 256; i++)
|
||||||
close(i);
|
close(i);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user