mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-08 18:25:30 +00:00
onvifmetadatacombiner: On timeout don't wait for metadata to arrive anymore but output the current video frame
Otherwise it will be too late downstream.
This commit is contained in:
parent
09ffeaf04e
commit
7b5d887c5b
1 changed files with 9 additions and 0 deletions
|
@ -300,6 +300,15 @@ impl OnvifMetadataCombiner {
|
|||
end
|
||||
);
|
||||
Ok(Some(current_media_buffer))
|
||||
} else if timeout {
|
||||
gst::warning!(
|
||||
CAT,
|
||||
imp: self,
|
||||
"Timed out but did not receive all meta for media buffer from {}-{} yet",
|
||||
current_media_start,
|
||||
end
|
||||
);
|
||||
Ok(Some(current_media_buffer))
|
||||
} else {
|
||||
gst::trace!(
|
||||
CAT,
|
||||
|
|
Loading…
Reference in a new issue