olaf neophyte and de.po updates, valgrind tweaks, delete green lady, inkscape dpi=96
[goodguy/history.git] / cinelerra-5.1 / cinelerra / formatpopup.C
index 8977e55b6cc2b5e6f5a2eaa2898b42462d1048d5..55ffcefa4b487414577f68f88f6c59acfa844385 100644 (file)
 #include "ffmpeg.h"
 #include "formatpopup.h"
 #include "language.h"
-#include "pluginserver.h"
-
 
 
 FormatPopup::FormatPopup(int x, int y, int do_audio, int do_video, int use_brender)
  : BC_ListBox(x, y, 200, 200, LISTBOX_TEXT, 0, 0, 0, 1, 0, 1)
 {
-       this->plugindb = plugindb;
        this->do_audio = do_audio;
        this->do_video = do_video;
        this->use_brender = use_brender;
@@ -50,7 +47,9 @@ void FormatPopup::create_objects()
 {
        if(!use_brender) {
                post_item(FILE_FFMPEG);
+#ifdef HAVE_LIBZMPEG
                post_item(FILE_AC3);
+#endif
                post_item(FILE_AIFF);
                post_item(FILE_AU);
                post_item(FILE_FLAC);
@@ -67,8 +66,10 @@ void FormatPopup::create_objects()
 #endif
                post_item(FILE_WAV);
                post_item(FILE_RAWDV);
+#ifdef HAVE_LIBZMPEG
                post_item(FILE_AMPEG);
                post_item(FILE_VMPEG);
+#endif
                post_item(FILE_VORBIS);
                post_item(FILE_OGG);
                post_item(FILE_PCM);
@@ -101,10 +102,9 @@ int FormatPopup::handle_event()
 }
 
 
-FFMPEGPopup::FFMPEGPopup(ArrayList<PluginServer*> *plugindb, int x, int y)
+FFMPEGPopup::FFMPEGPopup(int x, int y)
  : BC_ListBox(x, y, 100, 200, LISTBOX_TEXT, 0, 0, 0, 1, 0, 1)
 {
-       this->plugindb = plugindb;
        set_tooltip(_("Set ffmpeg file type"));
 }