[vlc-commits] demux: rar: change msg level
Francois Cartegnie
git at videolan.org
Sat Jul 26 01:30:25 CEST 2014
vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jul 22 12:56:43 2014 +0900| [71b608cb348776be757baebe82d90a8c26e66f5d] | committer: Jean-Baptiste Kempf
demux: rar: change msg level
Compressed files are just not handled by filter. not an error
(cherry picked from commit ba3b29824b968592fedc1e60165cc61a886f65e3)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=71b608cb348776be757baebe82d90a8c26e66f5d
---
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