Commit d71b632d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

es_out: remove tautology

sout is only instantiated when not preparsing.

More generally, a lot of special cases for preparsing could be
eliminated if preparsing used a dedicated ES output back-end, but that
is way beyond the scope of this patch.
parent 0aaf4d6d
......@@ -1444,7 +1444,7 @@ static void EsOutMeta( es_out_t *p_out, const vlc_meta_t *p_meta )
if( psz_arturl != NULL && !strncmp( psz_arturl, "attachment://", 13 ) )
{ /* Clear art cover if streaming out.
* FIXME: Why? Remove this when sout gets meta data support. */
if( input_priv(p_input)->p_sout && !p_input->b_preparsing )
if( input_priv(p_input)->p_sout != NULL )
input_item_SetArtURL( p_item, NULL );
input_ExtractAttachmentAndCacheArt( p_input, psz_arturl + 13 );
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment