[vlc-devel] [PATCH] transform: destroy variable
Rémi Denis-Courmont
remi at remlab.net
Sun Jul 2 13:34:42 CEST 2017
Le 2 juillet 2017 13:29:59 GMT+02:00, Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> a écrit :
>---
> modules/video_filter/transform.c | 2 ++
> 1 file changed, 2 insertions(+)
>
>diff --git a/modules/video_filter/transform.c
>b/modules/video_filter/transform.c
>index 7c88f234ef..c4a5d98673 100644
>--- a/modules/video_filter/transform.c
>+++ b/modules/video_filter/transform.c
>@@ -436,6 +436,7 @@ static int Open(vlc_object_t *object)
> filter->pf_video_mouse = Mouse;
> return VLC_SUCCESS;
> error:
>+ var_Destroy(filter, CFG_PREFIX "type");
> free(sys);
> return VLC_EGENERIC;
> }
>@@ -445,5 +446,6 @@ static void Close(vlc_object_t *object)
> filter_t *filter = (filter_t *)object;
> filter_sys_t *sys = filter->p_sys;
>
>+ var_Destroy(filter, CFG_PREFIX "type");
> free(sys);
> }
>--
>2.13.1
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel
Should be inherited, nor created anyhow. You can't live change the transform with current video filter architecture
--
Rémi Denis-Courmont
Typed on an inconvenient virtual keyboard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170702/78910949/attachment.html>
More information about the vlc-devel
mailing list