X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fformatpopup.C;h=dacb76cced5620bae73bf30027e85168669a1ee3;hb=52fcc46226f9df46f9ce9d0566dc568455a7db0b;hp=559385189e31e4364b8774daf258fab8e2dd1c9c;hpb=3564c71f425f390745eb7c75d5121689d53e14c2;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/formatpopup.C b/cinelerra-5.0/cinelerra/formatpopup.C index 55938518..dacb76cc 100644 --- a/cinelerra-5.0/cinelerra/formatpopup.C +++ b/cinelerra-5.0/cinelerra/formatpopup.C @@ -40,6 +40,8 @@ FormatPopup::FormatPopup(ArrayList *plugindb, void FormatPopup::create_objects() { + format_items.append(new BC_ListBoxItem(_(FFMPEG_NAME))); + if(!use_brender) { format_items.append(new BC_ListBoxItem(_(AC3_NAME))); @@ -53,12 +55,9 @@ void FormatPopup::create_objects() if(!use_brender) { - format_items.append(new BC_ListBoxItem(_(AVI_NAME))); format_items.append(new BC_ListBoxItem(_(EXR_NAME))); format_items.append(new BC_ListBoxItem(_(EXR_LIST_NAME))); format_items.append(new BC_ListBoxItem(_(WAV_NAME))); - format_items.append(new BC_ListBoxItem(_(MOV_NAME))); - format_items.append(new BC_ListBoxItem(_(FFMPEG_NAME))); format_items.append(new BC_ListBoxItem(_(AMPEG_NAME))); format_items.append(new BC_ListBoxItem(_(VMPEG_NAME))); format_items.append(new BC_ListBoxItem(_(OGG_NAME))); @@ -104,7 +103,7 @@ FFMPEGPopup::FFMPEGPopup(ArrayList *plugindb, int x, int y) void FFMPEGPopup::create_objects() { - static const char *dirs[] = { "/audio", "/video", }; + static const char *dirs[] = { "audio", "video", }; for( int i=0; i<(int)(sizeof(dirs)/sizeof(dirs[0])); ++i ) { FileSystem fs; char option_path[BCTEXTLEN]; @@ -114,8 +113,9 @@ void FFMPEGPopup::create_objects() for( int j=0; jget_name(); const char *ext = strrchr(name,'.'); - if( !ext ) ext = name; - else if( !strcmp("opts", ++ext) ) continue; + if( !ext ) continue; + if( !strcmp("dfl", ++ext) ) continue; + if( !strcmp("opts", ext) ) continue; int k = ffmpeg_types.size(); while( --k >= 0 && strcmp(ffmpeg_types[k]->get_text(), ext) ); if( k >= 0 ) continue;