]> git.sesse.net Git - vlc/commitdiff
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 0e8a899834f5afb58e0435979ea9793d37cdce22..3f07daeca6c698cd0ef2af06772b5e9cbe19310a 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;