[FFmpeg-devel] [PATCH] Add support to input devices to ffprobe

Måns Rullgård mans
Sat Mar 6 13:35:28 CET 2010


Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:

> On date Sunday 2010-02-21 14:57:44 +0100, Stefano Sabatini encoded:
>> Hi, as in subject.
>
> Missed config.h header, patch updated.
> -- 
> FFmpeg = Furious and Fascinating Marvellous Plastic Eretic Geisha
>
> Index: ffmpeg/ffprobe.c
> ===================================================================
> --- ffmpeg.orig/ffprobe.c	2010-02-21 14:54:12.000000000 +0100
> +++ ffmpeg/ffprobe.c	2010-02-21 15:05:05.000000000 +0100
> @@ -20,6 +20,8 @@
>   */
>  
>  #undef HAVE_AV_CONFIG_H
> +#include "config.h"
> +#include "libavdevice/avdevice.h"
>  #include "libavformat/avformat.h"
>  #include "libavcodec/avcodec.h"
>  #include "libavcodec/opt.h"
> @@ -329,6 +331,9 @@
>  int main(int argc, char **argv)
>  {
>      av_register_all();
> +#if CONFIG_AVDEVICE
> +    avdevice_register_all();
> +#endif
>  
>      show_banner();
>      parse_options(argc, argv, options, opt_input_file);

In light of the recent discussion, this looks fine to me.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list