libvlc_MetaRequest comes from the user, so we can increment i_preparse_depth to
force a preparsing.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
if (unlikely(priv->parser == NULL))
return VLC_ENOMEM;
if (unlikely(priv->parser == NULL))
return VLC_ENOMEM;
+ vlc_mutex_lock( &item->lock );
+ if( item->i_preparse_depth == 0 )
+ item->i_preparse_depth = 1;
+ vlc_mutex_unlock( &item->lock );
playlist_preparser_Push(priv->parser, item, i_options);
return VLC_SUCCESS;
}
playlist_preparser_Push(priv->parser, item, i_options);
return VLC_SUCCESS;
}