X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fassetedit.C;h=dc43432c413067dd7fc0b60ae70830d10bde1ecf;hb=9d5997d77ab7736be577456d8fd3dda0ba522d39;hp=ce91d691ee8b868ec17d4aeabdcc4a99e5dd79e8;hpb=27fd3ea07d41d179c8fdcb5b8481960c1fcc37d5;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/assetedit.C b/cinelerra-5.1/cinelerra/assetedit.C index ce91d691..dc43432c 100644 --- a/cinelerra-5.1/cinelerra/assetedit.C +++ b/cinelerra-5.1/cinelerra/assetedit.C @@ -188,16 +188,13 @@ BC_Window* AssetEdit::new_gui() int AssetEdit::window_height() { int h = 128 + 64; - if( indexable->have_audio() ) - h += 180; + if( indexable->have_audio() ) h += 200; if( indexable->have_video() ) { - h += 200; + h += 210; if( indexable->is_asset ) { Asset *asset = (Asset *)indexable; if( asset->format == FILE_MPEG || - asset->format == FILE_FFMPEG ) { - h += 40; - } + asset->format == FILE_FFMPEG ) h += 42; } } return h; @@ -275,8 +272,7 @@ void AssetEditWindow::create_objects() if( asset ) { add_subwindow(new BC_Title(x, y, _("File format:"))); x = x2; - add_subwindow(new BC_Title(x, y, File::formattostr(mwindow->plugindb, - asset->format), + add_subwindow(new BC_Title(x, y, File::formattostr(asset->format), MEDIUMFONT, mwindow->theme->assetedit_color)); x = x1; @@ -888,8 +884,7 @@ AssetEditFormat::~AssetEditFormat() int AssetEditFormat::handle_event() { Asset *asset = fwindow->asset_edit->changed_params; - asset->format = File::strtoformat(fwindow->mwindow->plugindb, - get_selection(0, 0)->get_text()); + asset->format = File::strtoformat(get_selection(0, 0)->get_text()); return 1; }