diff --git a/src/Qt/PlayerPrivate.cpp b/src/Qt/PlayerPrivate.cpp index 48182df4..4a0f87ca 100644 --- a/src/Qt/PlayerPrivate.cpp +++ b/src/Qt/PlayerPrivate.cpp @@ -160,9 +160,6 @@ namespace openshot // Calculate the amount of time to sleep (by subtracting the render time) auto sleep_time = duration_cast(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() ) { diff --git a/test.sh b/test.sh new file mode 100755 index 00000000..ac07ef22 --- /dev/null +++ b/test.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +#cd build; cmake ../; make -j9; make install; + +cmake --build build -j9; cmake --install build;