X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Ffiletga.C;h=800661e4942858754dc709175690a5bfdb8c65a5;hb=a19a685a46ddc630010788707d9e5b9d2342af46;hp=0ec8a73b9b6f83e6ee9e475404e54ac6990e1a70;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/filetga.C b/cinelerra-5.1/cinelerra/filetga.C index 0ec8a73b..800661e4 100644 --- a/cinelerra-5.1/cinelerra/filetga.C +++ b/cinelerra-5.1/cinelerra/filetga.C @@ -98,10 +98,8 @@ int FileTGA::check_sig(Asset *asset) } void FileTGA::get_parameters(BC_WindowBase *parent_window, - Asset *asset, - BC_WindowBase* &format_window, - int audio_options, - int video_options) + Asset *asset, BC_WindowBase* &format_window, + int audio_options, int video_options, EDL *edl) { if(video_options) { @@ -357,7 +355,7 @@ void FileTGA::read_tga(Asset *asset, VFrame *frame, VFrame *data, VFrame* &temp) if(!temp) { - temp = new VFrame(0, -1, width, height, source_cmodel, -1); + temp = new VFrame(width, height, source_cmodel, 0); } output_frame = temp; } @@ -921,7 +919,7 @@ TGAConfigVideo::~TGAConfigVideo() void TGAConfigVideo::create_objects() { - lock_window("TGAConfigVideo::create_objects()"); + lock_window("TGAConfigVideo::create_objects"); int x = 10, y = 10; add_subwindow(new BC_Title(x, y, _("Compression:")));