[FFmpeg-devel] [PATCH] ffmpeg: add -devices param

Lukasz Marek lukasz.m.luki2 at gmail.com
Tue May 27 20:17:18 CEST 2014


On 27 May 2014 20:07, Michael Niedermayer <michaelni at gmx.at> wrote:

> On Tue, May 27, 2014 at 07:52:24PM +0200, Clément Bœsch wrote:
> > On Tue, May 27, 2014 at 04:47:20PM +0200, Michael Niedermayer wrote:
> > > On Fri, May 23, 2014 at 07:59:53PM +0200, Lukasz Marek wrote:
> > > > Ffmpeg mix devices and file formats when -formats option is used.
> > > > This commit removes devices from formats list.
> > > > Devices can be listed with -devices param.
> > > > ---
> > > >  cmdutils.c                   |   35
> ++++++++++++++++++++++++++++++++---
> > > >  cmdutils.h                   |    7 +++++++
> > > >  cmdutils_common_opts.h       |    1 +
> > > >  doc/fftools-common-opts.texi |   10 +++++-----
> > > >  doc/indevs.texi              |    4 ++--
> > > >  doc/outdevs.texi             |    4 ++--
> > > >  6 files changed, 49 insertions(+), 12 deletions(-)
> > >
> > > adding "-devices" sounds like a good idea to me
> > > not sure either way about ommiting them from formats
> > > anyone has any oppinon about that ?
> > >
> >
> > If you change the behaviour of -formats you should maybe bump micro and
> > mention it in the Changelog (it might break some scripts).
>
> maybe its better to leave formats as is then for now, we can always
> change it later if theres a reason for it.


I had some doubts about it too. I will restore behavior of -formats later
and resubmit.


More information about the ffmpeg-devel mailing list