]> git.sesse.net Git - vlc/blobdiff - modules/codec/fluidsynth.c
Plugins: include vlc_common.h directly instead of vlc/vlc.h
[vlc] / modules / codec / fluidsynth.c
index d59a5081d31f9dd643bdc3324a5c0f250afe6d4a..07648b7b660c086ac3f7e872711362971e61ca88 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include <vlc/vlc.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <vlc_common.h>
+#include <vlc_plugin.h>
 #include <vlc_aout.h>
 #include <vlc_codec.h>
 
@@ -33,13 +38,13 @@ static int  Open  (vlc_object_t *);
 static void Close (vlc_object_t *);
 
 vlc_module_begin();
-    set_description (_("FluidSynth MIDI synthetizer"));
+    set_description (N_("FluidSynth MIDI synthetizer"));
     set_capability ("decoder", 100);
     set_category (CAT_INPUT);
     set_subcategory (SUBCAT_INPUT_ACODEC);
     set_callbacks (Open, Close);
     add_file ("soundfont", "", NULL,
-              SOUNDFONT_TEXT, SOUNDFONT_LONGTEXT, VLC_FALSE);
+              SOUNDFONT_TEXT, SOUNDFONT_LONGTEXT, false);
 vlc_module_end();