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
This commit is contained in:
Stefano Sabatini 2008-06-24 21:35:27 +00:00
parent afb40e7277
commit 6aada9b1ba
1 changed files with 4 additions and 4 deletions

View File

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