[vlc-devel] [RFC PATCH 1/2] input: don't set es_out meta while preparsing
Thomas Guillem
thomas at gllm.fr
Tue Feb 3 19:04:11 CET 2015
---
src/input/input.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/input/input.c b/src/input/input.c
index 4e9fb49..0737b6e 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1276,7 +1276,8 @@ static int Init( input_thread_t * p_input )
for( int i = 0; i < p_input->p->i_slave; i++ )
InputSourceMeta( p_input, p_input->p->slave[i], p_meta );
- es_out_ControlSetMeta( p_input->p->p_es_out, p_meta );
+ if( !p_input->b_preparsing )
+ es_out_ControlSetMeta( p_input->p->p_es_out, p_meta );
vlc_meta_Delete( p_meta );
}
--
2.1.3
More information about the vlc-devel
mailing list