X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fformatpopup.C;h=dc1e95154f1d621ab523b6fa8581a647ee1d1327;hb=964a629cd40e9cf5ca64e7ec8c5f630830e9d11b;hp=31a8bd001ee47e806fbcee84f4f56715f257e083;hpb=9afc3844e37c6db23435d5d0c33129dcc81061e4;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/formatpopup.C b/cinelerra-5.1/cinelerra/formatpopup.C index 31a8bd00..dc1e9515 100644 --- a/cinelerra-5.1/cinelerra/formatpopup.C +++ b/cinelerra-5.1/cinelerra/formatpopup.C @@ -28,7 +28,7 @@ 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) + : BC_ListBox(x, y, xS(200), yS(200), LISTBOX_TEXT, 0, 0, 0, 1, 0, 1) { this->do_audio = do_audio; this->do_video = do_video; @@ -72,6 +72,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 +92,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); } @@ -104,7 +111,7 @@ int FormatPopup::handle_event() FFMPEGPopup::FFMPEGPopup(int x, int y) - : BC_ListBox(x, y, 100, 200, LISTBOX_TEXT, 0, 0, 0, 1, 0, 1) + : BC_ListBox(x, y, xS(100), yS(200), LISTBOX_TEXT, 0, 0, 0, 1, 0, 1) { set_tooltip(_("Set ffmpeg file type")); }