From 1691e419bb32ec520d175a181d1645f2eef4ac6a Mon Sep 17 00:00:00 2001 From: Martin Piatka Date: Mon, 23 Jan 2023 15:02:09 +0100 Subject: [PATCH] capabilities: Remove capture alias reporting --- src/video_capture.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/video_capture.cpp b/src/video_capture.cpp index 80dd83b84..d44e7b361 100644 --- a/src/video_capture.cpp +++ b/src/video_capture.cpp @@ -61,7 +61,6 @@ #include "debug.h" #include "lib_common.h" #include "module.h" -#include "utils/config_file.h" #include "video_capture.h" #include @@ -129,16 +128,6 @@ void print_available_capturers() deleter(vt); } - - char buf[1024] = ""; - struct config_file *conf = config_file_open(default_config_file(buf, sizeof buf)); - if (conf) { - auto const & from_config_file = get_configured_capture_aliases(conf); - for (auto const & it : from_config_file) { - printf("[cap] (%s;%s)\n", it.first.c_str(), it.second.c_str()); - } - } - config_file_close(conf); } /** @brief Initializes video capture