[FFmpeg-cvslog] r22231 - trunk/ffprobe.c

stefano subversion
Sat Mar 6 14:06:45 CET 2010


Author: stefano
Date: Sat Mar  6 14:06:45 2010
New Revision: 22231

Log:
Add support to input devices in ffprobe.

See the thread:
Subject: [FFmpeg-devel] [PATCH] Add support to input device to ffprobe
Date: Sun, 21 Feb 2010 14:57:44 +0100

Modified:
   trunk/ffprobe.c

Modified: trunk/ffprobe.c
==============================================================================
--- trunk/ffprobe.c	Sat Mar  6 13:40:43 2010	(r22230)
+++ trunk/ffprobe.c	Sat Mar  6 14:06:45 2010	(r22231)
@@ -19,11 +19,14 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "config.h"
+
 #undef HAVE_AV_CONFIG_H
 #include "libavformat/avformat.h"
 #include "libavcodec/avcodec.h"
 #include "libavcodec/opt.h"
 #include "libavutil/pixdesc.h"
+#include "libavdevice/avdevice.h"
 #include "cmdutils.h"
 
 const char program_name[] = "FFprobe";
@@ -334,6 +337,9 @@ static const OptionDef options[] = {
 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);



More information about the ffmpeg-cvslog mailing list