onvif: Fix for gst::meta::CustomMeta::register() API change

This commit is contained in:
Sebastian Dröge 2022-09-29 17:48:27 +03:00
parent 9740140798
commit 8601562efe

View file

@ -112,7 +112,7 @@ fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
onvifmetadataoverlay::register(plugin)?; onvifmetadataoverlay::register(plugin)?;
onvifmetadataparse::register(plugin)?; onvifmetadataparse::register(plugin)?;
gst::meta::CustomMeta::register("OnvifXMLFrameMeta", &[], |_, _, _, _| true); gst::meta::CustomMeta::register("OnvifXMLFrameMeta", &[]);
Ok(()) Ok(())
} }