analyticsmeta: Remove incorrect check

The value can be NULL which is the wildcard

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9413>
This commit is contained in:
Olivier Crête 2025-03-06 18:07:08 -05:00
parent d868357270
commit b11ccc5cdf

View File

@ -205,8 +205,6 @@ gst_analytics_mtd_type_get_name (GstAnalyticsMtdType type)
{
GstAnalyticsMtdImpl *impl = (GstAnalyticsMtdImpl *) type;
g_return_val_if_fail (impl != NULL, NULL);
if (type == GST_ANALYTICS_MTD_TYPE_ANY)
return "ANY";
else