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

Binathi Bingi binti179 at gmail.com
Thu Oct 30 03:19:10 CET 2014


If you check the latest ffserver.conf file on GIT [
http://git.videolan.org/?p=ffmpeg.git
<http://www.google.com/url?q=http%3A%2F%2Fgit.videolan.org%2F%3Fp%3Dffmpeg.git&sa=D&sntz=1&usg=AFQjCNEA5QH18TtMxcLhGx4b04pMUwSgYA>],
there is NoDaemon option in it. So the patch is written as per latest
version. But if desired can include NoDameon option in ffserver.conf and
make futher changes.

Binathi

On Thu, Oct 30, 2014 at 3:43 AM, Michael Niedermayer <michaelni at gmx.at>
wrote:

> 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
> ..."
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>


More information about the ffmpeg-devel mailing list