mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 02:26:35 +00:00
audioloudnorm: Drain on segment event
Otherwise output buffer and segment would not be serialized as expected
This commit is contained in:
parent
1ca75c31ae
commit
263ccbc64a
1 changed files with 1 additions and 1 deletions
|
@ -1637,7 +1637,7 @@ impl AudioLoudNorm {
|
|||
}
|
||||
}
|
||||
}
|
||||
EventView::Eos(_) => {
|
||||
EventView::Eos(_) | EventView::Segment(_) => {
|
||||
let mut state = self.state.borrow_mut();
|
||||
let mut outbuf = None;
|
||||
if let Some(ref mut state) = &mut *state {
|
||||
|
|
Loading…
Reference in a new issue