X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fplaybackengine.C;h=228f3890b2def426bf3d37f808c81fbeeaabb6ad;hb=f41ee8a0f00338fffb7fd6760a5ecd04c0101a41;hp=b59e609b189c4e28f63b6078033953f344f8dc0d;hpb=c905fabd0678fcc8ab9e32e4443ad8709adafefd;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/playbackengine.C b/cinelerra-5.1/cinelerra/playbackengine.C index b59e609b..228f3890 100644 --- a/cinelerra-5.1/cinelerra/playbackengine.C +++ b/cinelerra-5.1/cinelerra/playbackengine.C @@ -539,9 +539,9 @@ int PlaybackEngine::transport_command(int command, int change_type, EDL *new_edl // Just change the EDL if the change requires it because renderengine // structures won't point to the new EDL otherwise and because copying the // EDL for every cursor movement is slow. - if( change_type & CHANGE_EDL ) + if( change_type == CHANGE_EDL || change_type == CHANGE_ALL ) next_command->get_edl()->copy_all(new_edl); - else if( change_type & CHANGE_PARAMS ) + else if( change_type == CHANGE_PARAMS ) next_command->get_edl()->synchronize_params(new_edl); next_command->set_playback_range(new_edl, use_inout, preferences->forward_render_displacement);