[MPlayer-dev-eng] [PATCH] Add option to set heartbeat command execution interval

Android Jack jackdroido at gmail.com
Thu Mar 28 22:20:32 CET 2013


Hi !

Any update on this ?

Sorry if I insist so much. I see it's a minor change, and as so, have lower
priority.

I'm already using mplayer with this patch applied in a project at work, and
is working fine. This option was a life-saver for me.

Have it included would make a little developer a little happier :-)

Thanks, again !
Il giorno 05/mar/2013 09:31, "Android Jack" <jackdroido at gmail.com> ha
scritto:

> Any news on this ? Still interested ?
>
> Thanks !
>
> 2013/2/18 Android Jack <jackdroido at gmail.com>:
> > Hi !
> >
> > Thanks for the positive review and sorry for the long delay.
> >
> > Attached is the patch with the requested changes, applied and tested
> > on the latest snapshot.
> >
> > 2012/12/6 Reimar Döffinger <Reimar.Doeffinger at gmx.de>:
> >>
> >>
> >> On 5 Dec 2012, at 10:02, Android Jack <jackdroido at gmail.com> wrote:
> >>
> >>> Hi !
> >>>
> >>> Attached is a patch which adds a command line option named
> >>> "-heartbeat-interval", which takes an integer >= 1 representing the
> >>> delay in seconds between each execution of the command specified with
> >>> the (existing) "-heartbeat-cmd" option, avoiding to hardcode this to
> >>> 30 seconds.
> >>>
> >>> I used "-heartbeat-cmd" option to implement a very simple keepalive
> >>> functionality in my application which, in my case, kills mplayer in
> >>> case of absence of an RTP stream. Being able to specify command
> >>> execution interval, makes it much more responsive to RTP stream
> >>> interruption.
> >>>
> >>> I find it simple (at least, so it seems to me ;-)) to add to mplayer,
> >>> and think it could be useful to someone else, so here it is.
> >>>
> >>> This is my first submission to a BIG project, and have tried to comply
> >>> with submitting rules ... so be understanding with me :-)
> >>
> >> Thanks, it is fine.
> >> But I think it would be better to make the type float, and also allow a
> value of 0.
> >> I admit it seems unlikely to be useful, but I see no reason not to
> allow people to have the command run each time we loop through this code.
> >> Could you make and test that change?
> >>
> >> Thanks,
> >> Reimar
> >> _______________________________________________
> >> MPlayer-dev-eng mailing list
> >> MPlayer-dev-eng at mplayerhq.hu
> >> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>


More information about the MPlayer-dev-eng mailing list