]> git.sesse.net Git - vlc/blobdiff - modules/codec/kate.c
Include the DeckLink API and try to open the card on Open().
[vlc] / modules / codec / kate.c
index cdff579d8ae410d016d391748b6ed8ae090aba1b..7f697bdf8759d288bae5a1b60e8ccffd00cd6baf 100644 (file)
@@ -32,7 +32,6 @@
 #include <vlc_plugin.h>
 #include <vlc_input.h>
 #include <vlc_codec.h>
-#include <vlc_osd.h>
 #include "../demux/xiph.h"
 
 #include <kate/kate.h>
@@ -1183,9 +1182,11 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, kate_packet *p_kp, block_t
             return NULL;
     }
     subpicture_updater_t updater = {
+#ifdef HAVE_TIGER
         .pf_validate = TigerValidateSubpicture,
         .pf_update   = TigerUpdateSubpicture,
         .pf_destroy  = TigerDestroySubpicture,
+#endif
         .p_sys       = p_spu_sys,
     };
     p_spu = decoder_NewSubpicture( p_dec, p_sys->b_use_tiger ? &updater : NULL );