Summary: | Krita hangs while playing an animation with audio and scrubbing at the same time | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | YRH <yavn.work> |
Component: | Animation | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dimula73 |
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | call stack at the time of the freeze |
Description
YRH
2024-06-24 22:55:38 UTC
Hi, YRH! Thank you for the detailed report! It seems like setting FPS to 100 was the key factor in reproduction of the race condition causing this bug. Now it should be fixed in this patch applied to MLT: https://invent.kde.org/dkazakov/krita-deps-management/-/commit/c0c8a366d618befa0e65dde87a4aff290945e28a Git commit fbfab4555061a496df037c75c47b6e148d456f36 by Dmitry Kazakov. Committed on 21/07/2024 at 14:33. Pushed by dkazakov into branch 'krita/5.2'. [mlt] Fix incorrect usage of get_frame API When calling activeProducer->get_frame(...), the argument actually means the "audio track index", not the frame requested. Hence we should just seek into the position instead of passinf the frame index as an argument M +3 -2 libs/ui/KisPlaybackEngineMLT.cpp https://invent.kde.org/graphics/krita/-/commit/fbfab4555061a496df037c75c47b6e148d456f36 Git commit 348aeb8679337c7abec6595185394c05f8dab40b by Dmitry Kazakov. Committed on 21/07/2024 at 14:15. Pushed by dkazakov into branch 'master'. [mlt] Fix incorrect usage of get_frame API When calling activeProducer->get_frame(...), the argument actually means the "audio track index", not the frame requested. Hence we should just seek into the position instead of passinf the frame index as an argument M +3 -2 libs/ui/KisPlaybackEngineMLT.cpp https://invent.kde.org/graphics/krita/-/commit/348aeb8679337c7abec6595185394c05f8dab40b |