[vlc-commits] [Git][videolan/vlc][3.0.x] canvas: fix fmt leak
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Mon Nov 24 17:05:00 UTC 2025
Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC
Commits:
911133a0 by Johannes Kauffmann at 2025-11-24T17:35:40+01:00
canvas: fix fmt leak
(cherry picked from commit cc140332997025b835172c14adb020b8b7e42bf1)
edited:
- the filter_chain_Reset() signature is different on 3.0.x and caused
a conflict
- - - - -
1 changed file:
- modules/video_filter/canvas.c
Changes:
=====================================
modules/video_filter/canvas.c
=====================================
@@ -329,6 +329,7 @@ static int Activate( vlc_object_t *p_this )
fmt.video.i_height = p_filter->fmt_in.video.i_height * fmt.video.i_visible_height / p_filter->fmt_in.video.i_visible_height;
filter_chain_Reset( p_sys->p_chain, &p_filter->fmt_in, &fmt );
+ es_format_Clean( &fmt );
/* Append scaling module */
if ( filter_chain_AppendConverter( p_sys->p_chain, NULL, NULL ) )
{
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/911133a0440e18300fe9876dc93c04c8fcbc671f
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/911133a0440e18300fe9876dc93c04c8fcbc671f
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list