projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
load files search box, avoid segv in get_prev_keyframe, fix titles only handles,...
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
mtimebar.C
diff --git
a/cinelerra-5.1/cinelerra/mtimebar.C
b/cinelerra-5.1/cinelerra/mtimebar.C
index 5fa6e4c845fdc5c063b4e980ffdb61f3d551f62b..94e7f2d1c2bac9f4aee689ce49234c9e9c81b4b8 100644
(file)
--- a/
cinelerra-5.1/cinelerra/mtimebar.C
+++ b/
cinelerra-5.1/cinelerra/mtimebar.C
@@
-96,11
+96,9
@@
int64_t MTimeBar::position_to_pixel(double position)
}
}
-void MTimeBar::stop_
playback
()
+void MTimeBar::stop_
transport
()
{
{
- gui->unlock_window();
- gui->mbuttons->transport->handle_transport(STOP, 1, 0, 0);
- gui->lock_window();
+ gui->stop_transport("MTimeBar::stop_transport");
}
#define TEXT_MARGIN 4
}
#define TEXT_MARGIN 4
@@
-455,13
+453,10
@@
void MTimeBar::draw_range()
void MTimeBar::select_label(double position)
{
void MTimeBar::select_label(double position)
{
- EDL *edl = mwindow->edl;
-
- gui->unlock_window();
- gui->mbuttons->transport->handle_transport(STOP, 1, 0, 0);
- gui->lock_window();
+ stop_transport();
- position = mwindow->edl->align_to_frame(position, 1);
+ EDL *edl = mwindow->edl;
+ position = edl->align_to_frame(position, 1);
if(shift_down())
{
if(shift_down())
{