mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
always use stdout to log when running in debug mode
Originally committed as revision 13846 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
b43bf8acf1
commit
4e8f77ab61
@ -3791,6 +3791,7 @@ static int parse_ffconfig(const char *filename)
|
|||||||
} else
|
} else
|
||||||
max_bandwidth = llval;
|
max_bandwidth = llval;
|
||||||
} else if (!strcasecmp(cmd, "CustomLog")) {
|
} else if (!strcasecmp(cmd, "CustomLog")) {
|
||||||
|
if (!ffserver_debug)
|
||||||
get_arg(logfilename, sizeof(logfilename), &p);
|
get_arg(logfilename, sizeof(logfilename), &p);
|
||||||
} else if (!strcasecmp(cmd, "<Feed")) {
|
} else if (!strcasecmp(cmd, "<Feed")) {
|
||||||
/*********************************************/
|
/*********************************************/
|
||||||
@ -4392,6 +4393,7 @@ static void opt_debug()
|
|||||||
{
|
{
|
||||||
ffserver_debug = 1;
|
ffserver_debug = 1;
|
||||||
ffserver_daemon = 0;
|
ffserver_daemon = 0;
|
||||||
|
logfilename[0] = '-';
|
||||||
}
|
}
|
||||||
|
|
||||||
static void opt_show_help(void)
|
static void opt_show_help(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user