On Sat, Oct 18, 2014 at 08:25:30PM +0200, Lukasz Marek wrote:
> Allows to list sources/sinks of the devices that implement
> that functionality.
> 
> Signed-off-by: Lukasz Marek <lukasz.m.lu...@gmail.com>
[...]
> +int show_sinks(void *optctx, const char *opt, const char *arg)
> +{
> +#if CONFIG_AVDEVICE
> +    AVOutputFormat *fmt = NULL;
> +    char *dev = NULL;
> +    AVDictionary *opts = NULL;
> +    int ret = 0;
> +    int error_level = av_log_get_level();
> +
> +    av_log_set_level(AV_LOG_ERROR);
> +
> +    if ((ret = show_sinks_sources_parse_arg(arg, &dev, &opts)) < 0)
> +        goto fail;
> +
> +    do {
> +        fmt = av_output_audio_device_next(fmt);

av_* functions are not exported from libavdevice
see libavdevice/libavdevice.v

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to