[FFmpeg-devel] [Binathi/ffmpeg] d83ead: Forks new process to allow ffserver run in daemon ...

2014-10-28 Thread Binathi
Branch: refs/heads/master Home: https://github.com/Binathi/ffmpeg Commit: d83ead999c0343b74d66b58d02c3ef381ac43b69 https://github.com/Binathi/ffmpeg/commit/d83ead999c0343b74d66b58d02c3ef381ac43b69 Author: Binathi Date: 2014-10-28 (Tue, 28 Oct 2014) Changed paths: M doc

[FFmpeg-devel] [Binathi/ffmpeg] d83ead: Forks new process to allow ffserver run in daemon ...

2014-10-28 Thread Binathi
Branch: refs/heads/master Home: https://github.com/Binathi/ffmpeg Commit: d83ead999c0343b74d66b58d02c3ef381ac43b69 https://github.com/Binathi/ffmpeg/commit/d83ead999c0343b74d66b58d02c3ef381ac43b69 Author: Binathi Date: 2014-10-28 (Tue, 28 Oct 2014) Changed paths: M doc

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

2014-10-27 Thread Binathi Bingi
Hi there, I am Binathi, applying for FOSS OPW Round 9, for contributing to FFmpeg. As a part of my qualification task, I had been working on bug " #3731 open defect ffserver daemon mode " [https://trac.ffmpeg.org/ticket/3731] I changed two files and uploaded them onto my git reposito

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

2014-10-29 Thread Binathi Bingi
>From 0fb7dcf1f126bd137e2b2025c5cd6cff4af65801 Mon Sep 17 00:00:00 2001 From: Binathi Bingi 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,

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

2014-10-29 Thread Binathi Bingi
tten 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 wrote: > On Thu, Oct 30, 2014 at 02:14:59AM +0530, Binathi Bingi wrote: > > From 0fb7dcf1f126bd137e2b2025c5cd6cff4af658

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

2014-10-30 Thread Binathi Bingi
I see your point. Changing the ffserver_config.c would help in addressing config files having NoDaemon option. You were right! Thanks. >From 476c8605fab4d6c575c38796dd9dccaf854cf536 Mon Sep 17 00:00:00 2001 From: Binathi Bingi Date: Thu, 30 Oct 2014 13:43:13 +0530 Subject: [PATCH] Restor

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

2014-10-31 Thread Binathi Bingi
Hello I tried to include the changes specified by Nicholas. We can switch between both Daemon and NoDaemon mode, using the option in ffserver.conf file. >From 018f8c1e1acf062a9e6a3ec94f671d574ec4b712 Mon Sep 17 00:00:00 2001 From: Binathi Date: Fri, 31 Oct 2014 23:27:20 +0530 Subject: [PA

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

2014-11-01 Thread Binathi Bingi
e4b0cc451b7ffcf42f0a31b4ccd4d05ac69c1880 Mon Sep 17 00:00:00 2001 From: Binathi Date: Fri, 31 Oct 2014 23:27:20 +0530 Subject: [PATCH] Enable Daemon mode for FFServer Signed-off-by: Binathi Improvements: Enable Daemon mode in FFServer Signed-off-by: Binathi Improvements: Enable Daemon mode in FFServer Signed

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

2014-11-03 Thread Binathi Bingi
Hello, Inside the child process, I closed the file descriptor and then reopened and redirected them using dup2() and later closed the opened file. I am not sure if I understood and used the functionality of dup2() in the right sense. Regards, Binathi On Sat, Nov 1, 2014 at 10:18 PM, Lukasz

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

2014-11-04 Thread Binathi Bingi
ere problems in running ffserver it couldn't start when I redirected the file descriptor to stdin, stdout, stderr using dup2(). I removed dup2() and just opened something neutral in "/dev/null" In this patch, I included error check for return value of open(). Cheers, Binathi

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

2014-11-04 Thread Binathi Bingi
ld use dup2(), as it is redirecting messages from console. Regards, Binathi On Wed, Nov 5, 2014 at 12:04 AM, Binathi Bingi wrote: > Hi there, > > I am sorry for the indentation errors in the above mail, it was because of > bad email agent. > > In the attached patch, if the confi

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

2014-11-07 Thread Binathi Bingi
Hi there, Please find the attached patch. Regards Binathi On Thu, Nov 6, 2014 at 1:55 AM, Nicolas George wrote: > Le quintidi 15 brumaire, an CCXXIII, Binathi Bingi a écrit : > > I see, we need dup2() to redirect the output to logfile. Therefore, I put > > it back in the patch.

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

2014-11-09 Thread Binathi Bingi
Hi there, I use nano editor. I tried to remove trailing whitespace in git patch using "git format-patch -b -w -1" Please find the attached patch. Regards, Binathi On Sun, Nov 9, 2014 at 3:40 PM, Nicolas George wrote: > Le septidi 17 brumaire, an CCXXIII, Binathi Bingi a écr

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

2014-11-10 Thread Binathi Bingi
Hi there, Please find the attached patch with modifications. Regards, Binathi On Mon, Nov 10, 2014 at 8:42 PM, Stefano Sabatini wrote: > On date Monday 2014-11-10 13:26:14 +0530, Binathi Bingi encoded: > [...] > > From c9d037758693a1522258a64849f7629d7cbd7408 Mon Sep 17 0

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

2014-11-11 Thread Binathi Bingi
ode. I am not sure about why daemon mode was removed. More information on re-enabling daemon mode can be obtained from below link: https://trac.ffmpeg.org/ticket/3731 Thanks, Binathi On Tue, Nov 11, 2014 at 6:02 PM, Stefano Sabatini wrote: > On date Tuesday 2014-11-11 00:19:26 +0530, Binathi

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

2014-11-11 Thread Binathi Bingi
ode. I am not sure about why daemon mode was removed. More information on re-enabling daemon mode can be obtained from below link: https://trac.ffmpeg.org/ticket/3731 Thanks, Binathi On Wed, Nov 12, 2014 at 12:45 AM, Binathi Bingi wrote: > Hi there, > > Updated patch. > Please let me

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

2014-11-12 Thread Binathi Bingi
Hi there, Updated changes in the patch. Please let me know if any further enhancements are required. Thanks, Binathi On Wed, Nov 12, 2014 at 8:50 PM, Stefano Sabatini wrote: > On date Wednesday 2014-11-12 00:46:09 +0530, Binathi Bingi encoded: > [...] &g