X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffilelist.C;h=591cb8114a3454a24b87db6745f6af3f9203abeb;hp=f4f26dac22e9479c53b74881780180ad3d3c3dc9;hb=ac8f3979437fb45effb135a1bb6bee871f52d635;hpb=e620b69f6d3f1de30d8b2a16c46d7729462e5211 diff --git a/cinelerra-5.1/cinelerra/filelist.C b/cinelerra-5.1/cinelerra/filelist.C index f4f26dac..591cb811 100644 --- a/cinelerra-5.1/cinelerra/filelist.C +++ b/cinelerra-5.1/cinelerra/filelist.C @@ -131,12 +131,12 @@ int FileList::open_file(int rd, int wr) else result = 1; if( !result ) { - int width = asset->width; - int height = asset->height; asset->actual_width = asset->width; - if( width ) asset->width = width; asset->actual_height = asset->height; - if( height ) asset->height = height; + int scale = asset->proxy_scale; + if( !scale ) scale = 1; + asset->width = asset->actual_width * scale; + asset->height = asset->actual_height * scale; asset->layers = 1; if( !asset->frame_rate ) asset->frame_rate = 10;