aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-03-06 13:06:45 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-03-06 13:06:45 +0000
commit6ce98ea4aee5a3c21d5068e3cc4f0f42abba7d2e (patch)
treed64213a2dbe4ac68f2e79737777b6fe573c081e8
parent4b9905d1dcd193b41d914de5947e8ae77fbfcdff (diff)
downloadffmpeg-6ce98ea4aee5a3c21d5068e3cc4f0f42abba7d2e.tar.gz
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 Originally committed as revision 22231 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffprobe.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ffprobe.c b/ffprobe.c
index 0cc63eca85..512777ccb9 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);