[vlc-devel] [PATCH 1/2] audio_output/meter: call filter_Flush() instead of accessing the ops directly
Steve Lhomme
robux4 at ycbcr.xyz
Mon Oct 12 16:16:46 CEST 2020
---
src/audio_output/meter.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/audio_output/meter.c b/src/audio_output/meter.c
index 9c8f7365122..144a6675fe6 100644
--- a/src/audio_output/meter.c
+++ b/src/audio_output/meter.c
@@ -217,8 +217,8 @@ vlc_audio_meter_Flush(struct vlc_audio_meter *meter)
vlc_list_foreach(plugin, &meter->plugins, node)
{
filter_t *filter = plugin->filter;
- if (filter != NULL && filter->ops->flush != NULL)
- filter->ops->flush(filter);
+ if (filter != NULL)
+ filter_Flush(filter);
}
vlc_mutex_unlock(&meter->lock);
--
2.26.2
More information about the vlc-devel
mailing list