[vlc-devel] [PATCH v2 4/5] input: preparse associated media during preparse if requested
Alexandre Janniaux
ajanni at videolabs.io
Fri Feb 7 22:04:48 CET 2020
Whenever the preparser client asked to also prepase associated media,
like input slaves, avoid skipping parts of the analysis process implying
them before the preparsing ends.
---
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 7ba4f0d9f9..081240135d 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1283,7 +1283,7 @@ static int Init( input_thread_t * p_input )
input_SendEventTimes( p_input, 0.0, VLC_TICK_INVALID, priv->normal_time,
i_length );
- if( !priv->b_preparsing )
+ if( !priv->b_preparsing || priv->p_item->b_preparse_associated )
{
StartTitle( p_input );
SetSubtitlesOptions( p_input );
--
2.25.0
More information about the vlc-devel
mailing list