[vlc-devel] [PATCH 15/18] audio_output/meter: call filter_Flush() instead of accessing the ops directly

Steve Lhomme robux4 at ycbcr.xyz
Thu Oct 8 10:37:57 CEST 2020


And this one doesn't belong in this patchset (but you can review).

On 2020-10-08 10:32, Steve Lhomme wrote:
> ---
>   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
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 


More information about the vlc-devel mailing list