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).
This commit is contained in:
Rafał Dzięgiel
2025-05-05 20:15:24 +02:00
parent 98fdd7c58b
commit d951be7a56

View File

@@ -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);
}
}