Kate: don't spam the msg_Dbg before selection of the module.
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 22 Jan 2009 13:56:09 +0000 (14:56 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 22 Jan 2009 13:56:09 +0000 (14:56 +0100)
modules/codec/kate.c

index 0e8a899..3f07dae 100644 (file)
@@ -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;