projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shuttle and transportque reworks, new shdmp, titler font textbox tweak
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
playbackengine.h
diff --git
a/cinelerra-5.1/cinelerra/playbackengine.h
b/cinelerra-5.1/cinelerra/playbackengine.h
index 936657a0bc3f43cf403c513b3572a85d3f6248ae..73ef329cd9064301b8646e884579c3924be8eae3 100644
(file)
--- a/
cinelerra-5.1/cinelerra/playbackengine.h
+++ b/
cinelerra-5.1/cinelerra/playbackengine.h
@@
-38,7
+38,7
@@
#include "renderengine.inc"
#include "thread.h"
#include "bctimer.h"
#include "renderengine.inc"
#include "thread.h"
#include "bctimer.h"
-#include "transportque.
inc
"
+#include "transportque.
h
"
class PlaybackEngine : public Thread
{
class PlaybackEngine : public Thread
{
@@
-81,9
+81,8
@@
public:
ChannelDB* get_channeldb();
void run();
ChannelDB* get_channeldb();
void run();
+ void send_command(int command, EDL *edl, int wait_tracking, int use_inout);
void stop_playback(int wait);
void stop_playback(int wait);
- void issue_command(EDL *edl, int command, int wait_tracking,
- int use_inout, int update_refresh, int toggle_audio, int loop_play);
void refresh_frame(int change_type, EDL *edl, int dir=1);
// Maintain caches through console changes
void refresh_frame(int change_type, EDL *edl, int dir=1);
// Maintain caches through console changes
@@
-110,18
+109,21
@@
public:
Canvas *output;
// Copy of main preferences
Preferences *preferences;
Canvas *output;
// Copy of main preferences
Preferences *preferences;
-// Next command
- TransportQue *que;
-// Currently executing command
+
+ int transport_stop(int wait_tracking);
+ int transport_command(int command, int change_type=CHANGE_NONE,
+ EDL *new_edl=0, int use_inout=0);
+
+ Condition *input_lock, *output_lock;
+// active command
TransportCommand *command;
TransportCommand *command;
-// Last command which affected transport
- int last_command;
- int done;
- int do_cwindow;
+// stop, next, queued commands
+ TransportCommand *stop_command, *next_command, *curr_command;
+
// Render engine
RenderEngine *render_engine;
// Render engine
RenderEngine *render_engine;
-// Used by label commands to get current position
+ int done;
int is_playing_back;
// General purpose debugging register
int is_playing_back;
// General purpose debugging register