[FFmpeg-devel] [PATCH] ffplay: add support for interactive volume control

2015-09-26 Thread Ganesh Ajjanagadde
This is a feature heavily inspired by the mpv player. At the moment, methods for adjusting volume in ffplay are rather clumsy: either one needs to set it system-wide, or one needs to set it via the volume filter. This patch adds key bindings identical to the mpv defaults for muting/unmuting and

Re: [FFmpeg-devel] [PATCH] ffplay: add support for interactive volume control

2015-09-26 Thread Ganesh Ajjanagadde
On Sat, Sep 26, 2015 at 11:16 AM, Timothy Gu wrote: > On Sat, Sep 26, 2015 at 7:47 AM, Ganesh Ajjanagadde > wrote: >> diff --git a/ffplay.c b/ffplay.c >> index d302793..4f3322b 100644 >> --- a/ffplay.c >> +++ b/ffplay.c >> @@ -1348,6 +1353,25 @@

Re: [FFmpeg-devel] [PATCH] ffplay: add support for interactive volume control

2015-09-26 Thread Timothy Gu
On Sat, Sep 26, 2015 at 7:47 AM, Ganesh Ajjanagadde wrote: > diff --git a/ffplay.c b/ffplay.c > index d302793..4f3322b 100644 > --- a/ffplay.c > +++ b/ffplay.c > @@ -1348,6 +1353,25 @@ static void toggle_pause(VideoState *is) > is->step = 0; > } > > +static void