[vlc-commits] stream_out:mosaic_bridge: clean the local es_format_t after it's used
Steve Lhomme
git at videolan.org
Thu Jul 13 11:10:39 CEST 2017
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Tue Jul 11 11:41:50 2017 +0200| [c049009372a26140398b6c8598eb29cadaad7845] | committer: Jean-Baptiste Kempf
stream_out:mosaic_bridge: clean the local es_format_t after it's used
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c049009372a26140398b6c8598eb29cadaad7845
---
modules/stream_out/mosaic_bridge.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/stream_out/mosaic_bridge.c b/modules/stream_out/mosaic_bridge.c
index 3b02737f31..5d61f7f497 100644
--- a/modules/stream_out/mosaic_bridge.c
+++ b/modules/stream_out/mosaic_bridge.c
@@ -393,6 +393,7 @@ static sout_stream_id_sys_t * Add( sout_stream_t *p_stream, const es_format_t *p
if( p_sys->i_chroma )
fmt.video.i_chroma = p_sys->i_chroma;
filter_chain_Reset( p_sys->p_vf2, &fmt, &fmt );
+ es_format_Clean( &fmt );
filter_chain_AppendFromString( p_sys->p_vf2, psz_chain );
free( psz_chain );
}
More information about the vlc-commits
mailing list