X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Ftitler%2Ftitler.C;h=117e279e77fd91b394ff71eaf1095fd78b338423;hb=717c4ad1dac14387ac7519228b904026a3a7d493;hp=a3f2411bd98594b36bcf5d4ab5061a2a821f0270;hpb=7ead44762b23da404eee89b63e0474153fdf58a1;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/titler/titler.C b/cinelerra-5.1/plugins/titler/titler.C index a3f2411b..117e279e 100644 --- a/cinelerra-5.1/plugins/titler/titler.C +++ b/cinelerra-5.1/plugins/titler/titler.C @@ -2188,7 +2188,7 @@ TitleTranslateUnit::TitleTranslateUnit(TitleMain *plugin, TitleTranslate *server #define TRANSLATE(type, max, comps, ofs) { \ type **out_rows = (type**)output->get_rows(); \ - float fs = 1./(256.-max); \ + float fr = 1./(256.-max), fs = max/255.; \ float r = max > 1 ? 0.5 : 0; \ for( int y=y1; y