From d951be7a56a7028482c2cbe15a256f4b5d4e9d74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Mon, 5 May 2025 20:15:24 +0200 Subject: [PATCH] clapper: Remove usage of "X-Interfaces" in enhancer data At this point its sole remaining place where its used is one debug message. For this reason remove it. With this, enhancer plugin files no longer need to have this in them unless they want to keep Clapper 0.8 compat (otherwise unused). --- src/lib/clapper/clapper-enhancers-loader.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/clapper/clapper-enhancers-loader.c b/src/lib/clapper/clapper-enhancers-loader.c index f5ed49c0..1e0d451c 100644 --- a/src/lib/clapper/clapper-enhancers-loader.c +++ b/src/lib/clapper/clapper-enhancers-loader.c @@ -34,8 +34,6 @@ static HMODULE _enhancers_dll_handle = NULL; // Supported interfaces #include "clapper-extractable.h" -#define ENHANCER_INTERFACES "X-Interfaces" - #define GST_CAT_DEFAULT clapper_enhancers_loader_debug GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT); @@ -137,12 +135,14 @@ clapper_enhancers_loader_initialize (ClapperEnhancerProxyList *proxies) } if (G_LIKELY (filled)) { - GST_INFO ("Found enhancer: %s (%s)", clapper_enhancer_proxy_get_friendly_name (proxy), - clapper_enhancer_proxy_get_extra_data (proxy, ENHANCER_INTERFACES)); + GST_INFO ("Found enhancer: \"%s\" (%s)", + clapper_enhancer_proxy_get_friendly_name (proxy), + clapper_enhancer_proxy_get_module_name (proxy)); clapper_enhancer_proxy_list_take_proxy (proxies, proxy); } else { - GST_WARNING ("Enhancer \"%s\" init failed, skipping it", - clapper_enhancer_proxy_get_friendly_name (proxy)); + GST_WARNING ("Enhancer init failed: \"%s\" (%s)", + clapper_enhancer_proxy_get_friendly_name (proxy), + clapper_enhancer_proxy_get_module_name (proxy)); gst_object_unref (proxy); } }