[vlc-devel] [PATCH 1/4] edgedetection: flush the filter chain when the filter is flushed
Rémi Denis-Courmont
remi at remlab.net
Fri Oct 9 17:25:05 CEST 2020
Le perjantaina 9. lokakuuta 2020, 14.52.38 EEST Steve Lhomme a écrit :
> ---
> modules/video_filter/edgedetection.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/modules/video_filter/edgedetection.c
> b/modules/video_filter/edgedetection.c index d425473704f..1ae4e80da51
> 100644
> --- a/modules/video_filter/edgedetection.c
> +++ b/modules/video_filter/edgedetection.c
> @@ -82,9 +82,14 @@ static const struct filter_video_callbacks
> filter_video_edge_cbs = new_frame, NULL,
> };
>
> +static void Flush( filter_t *p_filter )
> +{
> + filter_chain_VideoFlush( (filter_chain_t *)p_filter->p_sys );
Could separate assignment/conversion and function call like the other patches.
Series LGTM either way.
> +}
> +
> static const struct vlc_filter_operations filter_ops =
> {
> - .filter_video = Filter,
> + .filter_video = Filter, .flush = Flush,
> };
>
> /**************************************************************************
> ***
--
レミ・デニ-クールモン
http://www.remlab.net/
More information about the vlc-devel
mailing list