mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-08 18:25:30 +00:00
onvifmetadataparse: Only define the namespace prefix once for the top-level element
This commit is contained in:
parent
b464e74d41
commit
837126be76
1 changed files with 1 additions and 4 deletions
|
@ -161,10 +161,7 @@ impl OnvifMetadataParse {
|
|||
);
|
||||
|
||||
let xml = queued_frames.entry(dt_unix_ns).or_insert_with(|| {
|
||||
Element::builder("VideoAnalytics", "http://www.onvif.org/ver10/schema")
|
||||
.prefix(Some("tt".into()), "http://www.onvif.org/ver10/schema")
|
||||
.unwrap()
|
||||
.build()
|
||||
Element::bare("VideoAnalytics", "http://www.onvif.org/ver10/schema")
|
||||
});
|
||||
|
||||
xml.append_child(el.clone());
|
||||
|
|
Loading…
Reference in a new issue