Use http_log() rather than printing on stdout to show the launched
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 24 Jun 2008 21:35:27 +0000 (21:35 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 24 Jun 2008 21:35:27 +0000 (21:35 +0000)
commandlines.

Originally committed as revision 13954 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffserver.c

index 742ec60..923870e 100644 (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++)