[vlc-devel] [PATCH 4/5] input: when setting a NULL renderer we should keep the current one
Steve Lhomme
robux4 at videolabs.io
Fri Apr 22 17:56:44 CEST 2016
if it's not used it will be destroyed with TerminateSout
it is needed so that ES_RESTART_ES doesn't use a free'd sout when destroying
its current ES
---
src/input/input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/input/input.c b/src/input/input.c
index fbaf291..b740899 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -838,7 +838,7 @@ static int InitSout( input_thread_t * p_input )
else
{
p_input->p->p_sout = input_resource_RequestSout( p_input->p->p_resource,
- NULL, NULL );
+ p_input->p->p_sout, NULL );
}
free( psz );
--
2.7.0
More information about the vlc-devel
mailing list