]> git.sesse.net Git - vlc/blobdiff - modules/codec/vpx.c
minimal_macosx: simplify killer thread loop
[vlc] / modules / codec / vpx.c
index 5608f45d60481d7ed0a0f2ccf2e1e1f188877b2c..ac7d8d71569a5336fd4a2aa089dbe43d0da38218 100644 (file)
@@ -47,7 +47,7 @@ static void Close(vlc_object_t *);
 vlc_module_begin ()
     set_shortname("vpx")
     set_description(N_("WebM video decoder"))
-    set_capability("decoder", 80)
+    set_capability("decoder", 60)
     set_callbacks(Open, Close)
     set_category(CAT_INPUT)
     set_subcategory(SUBCAT_INPUT_VCODEC)
@@ -158,10 +158,12 @@ static int Open(vlc_object_t *p_this)
 
     switch (dec->fmt_in.i_codec)
     {
+#ifdef ENABLE_VP8_DECODER
     case VLC_CODEC_VP8:
         iface = &vpx_codec_vp8_dx_algo;
         vp_version = 8;
         break;
+#endif
 #ifdef ENABLE_VP9_DECODER
     case VLC_CODEC_VP9:
         iface = &vpx_codec_vp9_dx_algo;