Commit 1739ed0f authored by Filip Roséen's avatar Filip Roséen Committed by Rémi Denis-Courmont

input/input: InputStreamHandleAnchor: include missing information in diagnostics

The previous diagnostics were not at all helpful as they did not
include for what things happened. This fixes the issue by including
the path of the relevant stream.
Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent 1108b6b8
......@@ -2265,12 +2265,15 @@ InputStreamHandleAnchor( input_source_t *source, stream_t **stream,
char const* extra;
if( stream_extractor_AttachParsed( stream, anchor, &extra ) )
{
msg_Err( source, "unable to attach stream-extractors for" );
msg_Err( source, "unable to attach stream-extractors for %s",
(*stream)->psz_url );
return VLC_EGENERIC;
}
if( vlc_stream_directory_Attach( stream, NULL ) )
msg_Dbg( source, "attach of directory extractor failed" );
msg_Dbg( source, "attachment of directory-extractor failed for %s",
(*stream)->psz_url );
MRLSections( extra ? extra : "",
&source->i_title_start, &source->i_title_end,
......
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