From 8601562efe444902ff8ed2b09c2a386282662bdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 29 Sep 2022 17:48:27 +0300 Subject: [PATCH] onvif: Fix for `gst::meta::CustomMeta::register()` API change --- net/onvif/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/onvif/src/lib.rs b/net/onvif/src/lib.rs index 09556b65..871d6a94 100644 --- a/net/onvif/src/lib.rs +++ b/net/onvif/src/lib.rs @@ -112,7 +112,7 @@ fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { onvifmetadataoverlay::register(plugin)?; onvifmetadataparse::register(plugin)?; - gst::meta::CustomMeta::register("OnvifXMLFrameMeta", &[], |_, _, _, _| true); + gst::meta::CustomMeta::register("OnvifXMLFrameMeta", &[]); Ok(()) }