[vlc-commits] demux: rar: change msg level

Francois Cartegnie git at videolan.org
Wed Jul 23 06:24:49 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jul 22 12:56:43 2014 +0900| [ba3b29824b968592fedc1e60165cc61a886f65e3] | committer: Francois Cartegnie

demux: rar: change msg level

Compressed files are just not handled by filter. not an error

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ba3b29824b968592fedc1e60165cc61a886f65e3
---

 modules/access/rar/rar.c    |    2 +-
 modules/access/rar/stream.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/rar/rar.c b/modules/access/rar/rar.c
index 55afd21..c644c4a 100644
--- a/modules/access/rar/rar.c
+++ b/modules/access/rar/rar.c
@@ -197,7 +197,7 @@ static int SkipFile(stream_t *s, int *count, rar_file_t ***file,
 
     rar_file_t *current = NULL;
     if (method != 0x30) {
-        msg_Warn(s, "Ignoring compressed file %s (method=0x%2.2x)", name, method);
+        msg_Dbg(s, "Ignoring compressed file %s (method=0x%2.2x)", name, method);
         goto exit;
     }
 
diff --git a/modules/access/rar/stream.c b/modules/access/rar/stream.c
index 2655e3e..7929d97 100644
--- a/modules/access/rar/stream.c
+++ b/modules/access/rar/stream.c
@@ -76,7 +76,7 @@ int RarStreamOpen(vlc_object_t *object)
          RarParse(s->p_source, &count, &files, true )) || count == 0 )
     {
         stream_Seek(s->p_source, position);
-        msg_Err(s, "Invalid or unsupported RAR archive");
+        msg_Info(s, "Invalid or unsupported RAR archive");
         free(files);
         return VLC_EGENERIC;
     }



More information about the vlc-commits mailing list