mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 13:01:07 +00:00
onvif: Update for allocation query caps API changes
This commit is contained in:
parent
b6af64b970
commit
7cfd570c15
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ impl OnvifMetadataOverlay {
|
|||
);
|
||||
|
||||
if upstream_has_meta || downstream_accepts_meta {
|
||||
let mut query = gst::query::Allocation::new(&caps, false);
|
||||
let mut query = gst::query::Allocation::new(Some(&caps), false);
|
||||
|
||||
if !self.srcpad.push_event(gst::event::Caps::new(&caps)) {
|
||||
return Err(gst::FlowError::NotNegotiated);
|
||||
|
|
Loading…
Reference in a new issue