Commit f9cfa5ca authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

[Subtitles] Change error message to warning message when fail subtype detection

Because this is really boring when you have some .txt files on the same folder than your movie and they are not subtitles but are auto-detected.
parent 2849bcdd
...@@ -442,7 +442,7 @@ static int Open ( vlc_object_t *p_this ) ...@@ -442,7 +442,7 @@ static int Open ( vlc_object_t *p_this )
/* Quit on unknown subtitles */ /* Quit on unknown subtitles */
if( p_sys->i_type == SUB_TYPE_UNKNOWN ) if( p_sys->i_type == SUB_TYPE_UNKNOWN )
{ {
msg_Err( p_demux, "failed to recognize subtitle type" ); msg_Warn( p_demux, "failed to recognize subtitle type" );
free( p_sys ); free( p_sys );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
......
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