[vlc-devel] commit: [Subtitles] Change error message to warning message when fail subtype detection ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Sat Oct 18 12:05:31 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Oct 18 11:42:25 2008 +0200| [f9cfa5ca99550969bdf8dee6771a940135082dfb] | committer: 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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f9cfa5ca99550969bdf8dee6771a940135082dfb
---
modules/demux/subtitle.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/subtitle.c b/modules/demux/subtitle.c
index bd89fba..7b20094 100644
--- a/modules/demux/subtitle.c
+++ b/modules/demux/subtitle.c
@@ -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;
}
More information about the vlc-devel
mailing list