BugFix: added test of time of vframes to prevent unwanted time jumps

This commit is contained in:
brunoherbelin
2020-07-20 20:15:36 +02:00
parent 4f5e2a616c
commit 68cdb6b45d
2 changed files with 42 additions and 15 deletions

View File

@@ -253,6 +253,7 @@ private:
GstClockTime start_position_;
GstClockTime duration_;
GstClockTime frame_duration_;
bool (*TimeComparator_)(GstClockTime,GstClockTime);
gdouble rate_;
LoopMode loop_;
std::atomic<bool> need_loop_;