mirror of
https://github.com/NickeManarin/ScreenToGif.git
synced 2026-04-25 15:15:51 +03:00
Labels
No labels
copy cats
duplicated
future feature
pull-request
⬜ Accepted
⬜ Completed
⬜ Help Wanted 💪
⬜ In Progress
⬜ Missing Details
⬜ Pending
⬜ Waiting For Answer ⏳
🆕 feature preview
🔷 Bug 🐛
🔷 Out Of Scope
🔷 Out Of Scope
🔷 Question
🔷Enhancement
🔷Enhancement
🔷Invalid / External
🔷Knowledge Base
🔷Won't Fix
🕑 High
🕑 High
🕑 High
🕕 Medium
🕙 Low
🕛 Critical
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ScreenToGif#1218
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/NickeManarin/ScreenToGif/pull/810
Author: @mabakay
Created: 3/21/2021
Status: ✅ Merged
Merged: 4/11/2021
Merged by: @NickeManarin
Base:
master← Head:work/playback/slowPlaybackFix📝 Commits (4)
5ce5f03Slow play back fix (#134)3867967Slow play back fix (UI was accessed from non UI thread)3221e7cSlow play back fix (drop frames setting added to playback options)6593eceSlow play back fix (important code comments)📊 Changes
7 files changed (+101 additions, -40 deletions)
View changed files
📝
ScreenToGif/Resources/Localization/StringResources.en.xaml(+4 -1)📝
ScreenToGif/Resources/Localization/StringResources.pl.xaml(+4 -1)📝
ScreenToGif/Resources/Settings.xaml(+1 -0)📝
ScreenToGif/Util/UserSettings.cs(+7 -1)📝
ScreenToGif/Windows/Editor.xaml(+7 -2)📝
ScreenToGif/Windows/Editor.xaml.cs(+76 -35)📝
ScreenToGif/Windows/Options.xaml(+2 -0)📄 Description
Preview playback has few problems.
First means that if frame delay is 20 ms it will be shown not earlier than after 32 ms. Second means that loading image, attaching it to UI control and refreshing whole interface is effectively pausing timer interval.
I have implemented two changes.
On example project with 96 frames in 720p and 10 ms of delay per every frame average time (for 10 passes) of play from first to last frame for original code was 5,2s. After changing timer to dedicated thread time dropped to 3,3s. After checking option to drop frames behind I have got 0,98s for 96 * 10 ms = 960 ms as target time.
I did add this option to editor settings


but now I see that there is probably more appropriate place here
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.