Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / formatpopup.C
index 6252b0c2b4d6eb07ea304ab33ca912c293ca74cf..90f6599ad2310b084fdcdc78fdc1c208e8fca302 100644 (file)
@@ -61,8 +61,10 @@ void FormatPopup::create_objects()
 
 
        if(!use_brender) {
+#ifdef HAVE_GIFLIB
                post_item(FILE_GIF);
                post_item(FILE_GIF_LIST);
+#endif
 #ifdef HAVE_OPENEXR
                post_item(FILE_EXR);
                post_item(FILE_EXR_LIST);
@@ -72,6 +74,10 @@ void FormatPopup::create_objects()
 #ifdef HAVE_LIBZMPEG
                post_item(FILE_AMPEG);
                post_item(FILE_VMPEG);
+#endif
+#ifdef HAVE_OGG
+               post_item(FILE_VORBIS);
+               post_item(FILE_OGG);
 #endif
                post_item(FILE_PCM);
        }
@@ -88,7 +94,10 @@ void FormatPopup::create_objects()
        if(!use_brender)
                post_item(FILE_TIFF);
        post_item(FILE_TIFF_LIST);
-
+#ifdef HAVE_OPENEXR
+       if(use_brender)
+       post_item(FILE_EXR_LIST);
+#endif
        update(&format_items, 0, 0, 1);
 }