Commit 6aada9b1 authored by Stefano Sabatini's avatar Stefano Sabatini

Use http_log() rather than printing on stdout to show the launched

commandlines.

Originally committed as revision 13954 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent afb40e72
......@@ -417,11 +417,11 @@ static void start_children(FFStream *feed)
strcpy(slash, "ffmpeg");
if (ffserver_debug) {
fprintf(stdout, "Launch commandline: ");
fprintf(stdout, "%s ", pathname);
http_log("Launch commandline: ");
http_log("%s ", pathname);
for (i = 1; feed->child_argv[i] && feed->child_argv[i][0]; i++)
fprintf(stdout, "%s ", feed->child_argv[i]);
fprintf(stdout, "\n");
http_log("%s ", feed->child_argv[i]);
http_log("\n");
}
for (i = 3; i < 256; i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment