[vlc-devel] [PATCH] playlist/directory.c: Add a warning message in case of failure. 'Typo' fix
Julien 'Lta' BALLET
elthariel at gmail.com
Wed Jul 2 15:09:24 CEST 2014
From: Julien 'Lta' BALLET <contact at lta.io>
---
modules/demux/playlist/directory.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/demux/playlist/directory.c b/modules/demux/playlist/directory.c
index d031682..a73a138 100644
--- a/modules/demux/playlist/directory.c
+++ b/modules/demux/playlist/directory.c
@@ -51,7 +51,7 @@ int Import_Dir ( vlc_object_t *p_this)
p_demux->pf_control = Control;
p_demux->pf_demux = Demux;
- msg_Dbg( p_demux, "%s", "reading directory content" );
+ msg_Dbg( p_demux, "reading directory content" );
return VLC_SUCCESS;
}
@@ -72,6 +72,8 @@ static int Demux( demux_t *p_demux )
input_item_node_Delete( p_node );
return VLC_EGENERIC;
}
+ else
+ msg_Warn( p_demux, "unable to read directory" );
input_item_node_PostAndDelete( p_node );
return VLC_SUCCESS;
--
2.0.0
More information about the vlc-devel
mailing list