[PATCH 2/2] Add support to input devices.

Stefano Sabatini stefano.sabatini-lala
Thu Mar 4 23:56:06 CET 2010


---
 ffprobe.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ffprobe.c b/ffprobe.c
index 2ab0d96..2d42108 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -20,6 +20,8 @@
  */
 
 #undef HAVE_AV_CONFIG_H
+#include "libavutil/avconfig.h"
+#include "libavdevice/avdevice.h"
 #include "libavformat/avformat.h"
 #include "libavcodec/avcodec.h"
 #include "libavcodec/opt.h"
@@ -334,6 +336,9 @@ static const OptionDef options[] = {
 int main(int argc, char **argv)
 {
     av_register_all();
+#if AV_CONFIG_AVDEVICE
+    avdevice_register_all();
+#endif
 
     show_banner();
     parse_options(argc, argv, options, opt_input_file);
-- 
1.6.6.1


--mojUlQ0s9EVzWg2t--



More information about the ffmpeg-devel mailing list