diff options
author | Seungha Yang <seungha@centricular.com> | 2022-06-20 15:54:36 +0300 |
---|---|---|
committer | Seungha Yang <seungha@centricular.com> | 2022-06-20 15:57:04 +0300 |
commit | 263ccbc64a0dcfc94ddb310cf4d302f3ca270b01 (patch) | |
tree | 1bed150357013b97fc9facdfbeeb4120e6e7974a /audio | |
parent | 1ca75c31aec471856e9d12e1b750247dd2a3a678 (diff) |
audioloudnorm: Drain on segment event
Otherwise output buffer and segment would not be serialized as expected
Diffstat (limited to 'audio')
-rw-r--r-- | audio/audiofx/src/audioloudnorm/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audiofx/src/audioloudnorm/imp.rs b/audio/audiofx/src/audioloudnorm/imp.rs index 93b5a5dc..63aced37 100644 --- a/audio/audiofx/src/audioloudnorm/imp.rs +++ b/audio/audiofx/src/audioloudnorm/imp.rs @@ -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 { |