X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fplugins%2Freroute%2Freroute.C;fp=cinelerra-5.0%2Fplugins%2Freroute%2Freroute.C;h=d4ac373b0c9d5ee8a08a762b4b4d165ddea6441a;hb=e919ce8a71cdc99bb7344cc192e13a2c2db9e1c0;hp=257284e88b2aa17837f20852afa272000628a1a8;hpb=6c0c8bd0e577001d1cc18c6c27d58e62f58a6bff;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/plugins/reroute/reroute.C b/cinelerra-5.0/plugins/reroute/reroute.C index 257284e8..d4ac373b 100644 --- a/cinelerra-5.0/plugins/reroute/reroute.C +++ b/cinelerra-5.0/plugins/reroute/reroute.C @@ -381,12 +381,12 @@ int Reroute::process_buffer(VFrame **frame, { load_configuration(); - bool do_components, do_alpha; + bool do_components = true, do_alpha = true; switch(config.operation) { - case RerouteConfig::REPLACE: do_components = do_alpha=true; break; - case RerouteConfig::REPLACE_ALPHA: do_components=false; do_alpha=true; break; - case RerouteConfig::REPLACE_COMPONENTS: do_components=true; do_alpha=false; break; + case RerouteConfig::REPLACE: break; + case RerouteConfig::REPLACE_ALPHA: do_components = false; break; + case RerouteConfig::REPLACE_COMPONENTS: do_alpha = false; break; } if(config.output_track == RerouteConfig::TOP) @@ -429,7 +429,8 @@ int Reroute::process_buffer(VFrame **frame, read_frame(target, output_track, start_position, - frame_rate); + frame_rate, + 0); switch(source->get_color_model()) {