We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31e9e7b commit 4ed7847Copy full SHA for 4ed7847
src/Qt/PlayerPrivate.cpp
@@ -149,7 +149,7 @@ namespace openshot
149
else
150
{
151
// Update cache on which frame was retrieved
152
- videoCache->current_display_frame = video_position;
+ videoCache->setCurrentFramePosition(video_position);
153
154
// return frame from reader
155
return reader->GetFrame(video_position);
src/Qt/VideoCacheThread.cpp
@@ -102,6 +102,12 @@ namespace openshot
102
// Ignore out of bounds frame exceptions
103
}
104
105
+ // Is cache position behind current display frame?
106
+ if (position < current_display_frame) {
107
+ // Jump ahead
108
+ position = current_display_frame;
109
+ }
110
+
111
// Increment frame number
112
position++;
113
0 commit comments