[FFmpeg-devel] [PATCH] Use v4l2 input format automatically if filename starts with "/dev/video"

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Oct 29 09:51:22 CET 2014


Andrey Utkin <andrey.krieger.utkin <at> gmail.com> writes:

> +    if (av_strstart(p->filename, "/dev/video", NULL))
> +        return AVPROBE_SCORE_MAX;

I took the freedom to apply this patch with MAX - 1.

Carl Eugen



More information about the ffmpeg-devel mailing list