You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Merge remote-tracking branch 'origin/caching-timing-improvements' into caching-timing-improvements
# Conflicts: # src/Qt/PlayerPrivate.cpp
This commit is contained in:
@@ -160,9 +160,6 @@ namespace openshot
|
||||
// Calculate the amount of time to sleep (by subtracting the render time)
|
||||
auto sleep_time = duration_cast<micro_sec>(frame_duration - render_time + sleep_adjustment);
|
||||
|
||||
// DEBUG
|
||||
std::cout << average_video_diff << "\t" << sleep_adjustment.count() << "\t" << sleep_time.count() << std::endl;
|
||||
|
||||
// Sleep if sleep_time is greater than zero after correction
|
||||
// (leaving the video frame on the screen for the correct amount of time)
|
||||
if (sleep_time > sleep_time.zero() ) {
|
||||
|
||||
Reference in New Issue
Block a user