[FFmpeg-devel] "OPW Qualification Task: Enable daemon mode for FFserver"

Michael Niedermayer michaelni at gmx.at
Wed Oct 29 23:13:32 CET 2014


On Thu, Oct 30, 2014 at 02:14:59AM +0530, Binathi Bingi wrote:
> From 0fb7dcf1f126bd137e2b2025c5cd6cff4af65801 Mon Sep 17 00:00:00 2001
> From: Binathi Bingi <binti179 at gmail.com>
> Date: Thu, 30 Oct 2014 01:14:08 +0530
> Subject: [PATCH] ffserver: enable back deamon mode
> 
> ---
>  ffserver.c        | 34 ++++++++++++++++++++++++++++++----
>  ffserver_config.c |  2 --
>  2 files changed, 30 insertions(+), 6 deletions(-)
> 
[...]
> diff --git a/ffserver_config.c b/ffserver_config.c
> index e44cdf7..e2c78d8 100644
> --- a/ffserver_config.c
> +++ b/ffserver_config.c
> @@ -358,8 +358,6 @@ static int ffserver_parse_config_global(FFServerConfig
> *config, const char *cmd,
>          ffserver_get_arg(arg, sizeof(arg), p);
>          if (resolve_host(&config->http_addr.sin_addr, arg) != 0)
>              ERROR("%s:%d: Invalid host/IP address: %s\n", arg);
> -    } else if (!av_strcasecmp(cmd, "NoDaemon")) {
> -        WARNING("NoDaemon option has no effect, you should remove it\n");
>      } else if (!av_strcasecmp(cmd, "RTSPPort")) {
>          ffserver_get_arg(arg, sizeof(arg), p);
>          val = atoi(arg);

this would break configuration files which contain the NoDaemon
option

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141029/bf2264d4/attachment.asc>


More information about the ffmpeg-devel mailing list