Add "audio resampler" capability to resamplers
[vlc.git] / modules / audio_filter / resampler / ugly.c
index 4d3e228..3ea3dab 100644 (file)
@@ -50,6 +50,10 @@ vlc_module_begin ()
     set_category( CAT_AUDIO )
     set_subcategory( SUBCAT_AUDIO_MISC )
     set_callbacks( Create, NULL )
+
+    add_submodule()
+    set_capability( "audio resampler", 2 )
+    set_callbacks( Create, NULL )
 vlc_module_end ()
 
 /*****************************************************************************