[FFmpeg-devel] [PATCH 1/2] opt: Add support to query ranges

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Nov 25 18:57:39 CET 2012

On Sun, Nov 25, 2012 at 05:39:36PM +0100, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
>  libavutil/log.h |    6 +++++
>  libavutil/opt.c |   78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  libavutil/opt.h |   48 ++++++++++++++++++++++++++++++++++
>  3 files changed, 132 insertions(+)

Looks good to me, though I'd feel slightly more confident in that we
haven't missed something if we had something a bit more complex using
Unfortunately changing the dshow filter to use this will be a bit more
work (needs an option to select device by name instead of number,
a query function for that, and then the list_devices code must be
changed so it actually can return a list instead of only av_logging),
does someone know of another option, e.g. in some filter, that takes
specific strings, maybe even depending on the value of some other option?

More information about the ffmpeg-devel mailing list