mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-13 18:49:46 +00: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
1 changed files with 3 additions and 1 deletions
|
|
@ -3791,7 +3791,8 @@ static int parse_ffconfig(const char *filename)
|
|||
} else
|
||||
max_bandwidth = llval;
|
||||
} else if (!strcasecmp(cmd, "CustomLog")) {
|
||||
get_arg(logfilename, sizeof(logfilename), &p);
|
||||
if (!ffserver_debug)
|
||||
get_arg(logfilename, sizeof(logfilename), &p);
|
||||
} else if (!strcasecmp(cmd, "<Feed")) {
|
||||
/*********************************************/
|
||||
/* Feed related options */
|
||||
|
|
@ -4392,6 +4393,7 @@ static void opt_debug()
|
|||
{
|
||||
ffserver_debug = 1;
|
||||
ffserver_daemon = 0;
|
||||
logfilename[0] = '-';
|
||||
}
|
||||
|
||||
static void opt_show_help(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue