[PATCH] Add support to input devices in ffprobe.
Stefano Sabatini
stefano.sabatini-lala
Thu Mar 4 23:56:06 CET 2010
---
ffprobe.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/ffprobe.c b/ffprobe.c
index 0cc63ec..512777c 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -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);
--
1.6.6.1
--/04w6evG8XlLl3ft--
More information about the ffmpeg-devel
mailing list