projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mixer
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
transportque.C
diff --git
a/cinelerra-5.1/cinelerra/transportque.C
b/cinelerra-5.1/cinelerra/transportque.C
index 01ba565d3bf60953085021c771516c3009ec6d21..a2a5160a1dade23ebeb0116df585d8379da7b5ed 100644
(file)
--- a/
cinelerra-5.1/cinelerra/transportque.C
+++ b/
cinelerra-5.1/cinelerra/transportque.C
@@
-184,6
+184,9
@@
void TransportCommand::set_playback_range(EDL *edl,
end_position = end;
}
else {
end_position = end;
}
else {
+// starting play at or past end, play to end of media (for mixers)
+ if( start >= length )
+ length = edl->tracks->total_length();
switch( command ) {
case SLOW_FWD:
case FAST_FWD:
switch( command ) {
case SLOW_FWD:
case FAST_FWD:
@@
-251,8
+254,11
@@
void TransportCommand::playback_range_inout()
if(edl->local_session->outpoint_valid())
end_position = edl->local_session->get_outpoint();
if(edl->local_session->outpoint_valid())
end_position = edl->local_session->get_outpoint();
- else
+ else
{
end_position = edl->tracks->total_playable_length();
end_position = edl->tracks->total_playable_length();
+ if( start_position >= end_position )
+ end_position = edl->tracks->total_length();
+ }
}
void TransportCommand::playback_range_project()
}
void TransportCommand::playback_range_project()