[vlc-devel] commit: Kate: don't spam the msg_Dbg before selection of the module. ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Thu Jan 22 14:57:10 CET 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jan 22 14:56:09 2009 +0100| [e0cbcf571a77a6e4d9745e8d6287df359e27be6f] | committer: Jean-Baptiste Kempf
Kate: don't spam the msg_Dbg before selection of the module.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e0cbcf571a77a6e4d9745e8d6287df359e27be6f
---
modules/codec/kate.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/codec/kate.c b/modules/codec/kate.c
index 0e8a899..3f07dae 100644
--- a/modules/codec/kate.c
+++ b/modules/codec/kate.c
@@ -346,13 +346,13 @@ static int OpenDecoder( vlc_object_t *p_this )
decoder_sys_t *p_sys;
int i_ret;
- msg_Dbg( p_dec, "kate: OpenDecoder");
-
if( p_dec->fmt_in.i_codec != VLC_FOURCC('k','a','t','e') )
{
return VLC_EGENERIC;
}
+ msg_Dbg( p_dec, "kate: OpenDecoder");
+
/* Set callbacks */
p_dec->pf_decode_sub = (subpicture_t *(*)(decoder_t *, block_t **))
DecodeBlock;
More information about the vlc-devel
mailing list