X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fplugins%2Freroute%2Freroute.C;h=d4ac373b0c9d5ee8a08a762b4b4d165ddea6441a;hb=52fcc46226f9df46f9ce9d0566dc568455a7db0b;hp=20eb2e47e9528a51a2825bc094d331dd05627b52;hpb=2d99bb8ce591f05a31464b517d85dc2bc35b2abe;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/plugins/reroute/reroute.C b/cinelerra-5.0/plugins/reroute/reroute.C index 20eb2e47..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()) { @@ -467,7 +468,7 @@ int Reroute::process_buffer(VFrame **frame, -const char* Reroute::plugin_title() { return N_("Reroute"); } +const char* Reroute::plugin_title() { return _("Reroute"); } int Reroute::is_realtime() { return 1; } int Reroute::is_multichannel() { return 1; }