X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fplaybackengine.h;h=9fdb45fbc428fd5b7b8d35be2b5ebee141b33d55;hp=c82d35083daaa33014d0d315a8455b343656127c;hb=1db0dacec8f9d7f5687e582bd282d9bf83bd58f0;hpb=0e6cf5b52d1ebce9272270144bcf43df4683507e diff --git a/cinelerra-5.1/cinelerra/playbackengine.h b/cinelerra-5.1/cinelerra/playbackengine.h index c82d3508..9fdb45fb 100644 --- a/cinelerra-5.1/cinelerra/playbackengine.h +++ b/cinelerra-5.1/cinelerra/playbackengine.h @@ -70,7 +70,7 @@ public: virtual int brender_available(long position); // For normal playback tracking and the cursor are started virtual void init_tracking(); - virtual void stop_tracking(); + virtual void stop_tracking(double position); virtual void init_meters(); // The playback cursor calls this to calculate the current tracking position virtual double get_tracking_position(); @@ -86,6 +86,7 @@ public: void stop_playback(int wait); void refresh_frame(int change_type, EDL *edl, int dir=1); int get_direction(); + void update_preferences(Preferences *prefs); // Maintain caches through console changes CICache *audio_cache, *video_cache; @@ -106,6 +107,8 @@ public: Condition *pause_lock; // Wait until thread has started Condition *start_lock; +// Reinit caches + Mutex *cache_lock; MWindow *mwindow; Canvas *output;