]> git.sesse.net Git - vlc/commitdiff
[Subtitles] Change error message to warning message when fail subtype detection
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 18 Oct 2008 09:42:25 +0000 (11:42 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 18 Oct 2008 09:42:25 +0000 (11:42 +0200)
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.

modules/demux/subtitle.c

index bd89fbae5818b2a5088e8b47d8c4ea138e65e5ac..7b2009446d1a4de995c025dda1b1bacd0a7ff9bc 100644 (file)
@@ -442,7 +442,7 @@ static int Open ( vlc_object_t *p_this )
     /* Quit on unknown subtitles */
     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 );
         return VLC_EGENERIC;
     }