expand vaapi render formats and add shortcut
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / formatpopup.C
index addd4a2c7a598dbb810a3ae99260a97cc3474bdf..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);
@@ -92,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);
 }