X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fformatwindow.C;h=0c67634c0ee69b562e3254dbc18d9daf74169205;hb=6c0c8bd0e577001d1cc18c6c27d58e62f58a6bff;hp=6cf2ee304f3875bcf84397368eb75f366e1f26b0;hpb=94e8dc2b306135e7735b2618a54f0f7de7ac7a0c;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/formatwindow.C b/cinelerra-5.0/cinelerra/formatwindow.C index 6cf2ee30..0c67634c 100644 --- a/cinelerra-5.0/cinelerra/formatwindow.C +++ b/cinelerra-5.0/cinelerra/formatwindow.C @@ -27,7 +27,7 @@ FormatAWindow::FormatAWindow(Asset *asset, int *dither) : BC_Window(_(PROGRAM_NAME ": File format"), 410, - (asset->format == FILE_WAV || asset->format == FILE_MOV) ? 115 : 185, + (asset->format == FILE_WAV) ? 115 : 185, 0, 0) { this->asset = asset; this->dither = dither; } @@ -51,7 +51,7 @@ int FormatAWindow::create_objects() x += 100; add_subwindow(new FormatDither(x, y, this->dither)); - if(asset->format == FILE_PCM || asset->format == FILE_MOV) + if(asset->format == FILE_PCM) { x += 90; add_subwindow(new FormatSigned(x, y, asset)); @@ -101,21 +101,6 @@ int FormatVWindow::create_objects() init_x = x = 10; - if(asset->format == FILE_MOV) - { - add_subwindow(new BC_Title(x, y, _("Set parameters for this video format:"))); - y += 30; - add_subwindow(new BC_Title(x, y, _("Compression:"))); - x += 110; - add_subwindow(new FormatCompress(x, y, recording, asset, asset->compression)); - x += 90; - add_subwindow(new BC_Title(x, y, _("Quality:"))); - x += 70; - add_subwindow(new FormatQuality(x, y, asset, asset->quality)); - y += 40; - x = init_x; - } - else if(asset->format == FILE_JPEG_LIST) { add_subwindow(new BC_Title(x, y, _("Set parameters for this video format:"))); @@ -146,19 +131,6 @@ int FormatVWindow::close_event() -FormatCompress::FormatCompress(int x, int y, int recording, Asset *asset, char* default_) - : CompressPopup(x, y, recording, default_) -{ - this->asset = asset; -} -FormatCompress::~FormatCompress() -{ -} -int FormatCompress::handle_event() -{ - strcpy(asset->compression, get_compression()); -} - FormatQuality::FormatQuality(int x, int y, Asset *asset, int default_) : BC_ISlider(x, y,