Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when deleting sound layer after scrubbing #1731

Merged
merged 1 commit into from
Oct 23, 2022

Conversation

J5lx
Copy link
Member

@J5lx J5lx commented Oct 20, 2022

I had another look at the sound layer deletion crash and I think I finally did figure how to fix it – or work around it, rather. Looks like it’s a bug in the DirectShow backend of Qt Multimedia that results in a segfault when it is destroyed while paused. Neither the GStreamer backend nor the Windows Media Foundation backend exhibit this behaviour. Fortunately, it’s pretty easy to work around.

@J5lx J5lx linked an issue Oct 20, 2022 that may be closed by this pull request
Copy link
Member

@MrStevns MrStevns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@MrStevns MrStevns merged commit af0bc51 into pencil2d:master Oct 23, 2022
@J5lx J5lx deleted the fixes/directshow-crash branch October 23, 2022 16:49
@MrStevns MrStevns added this to the v0.6.7 milestone Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Pencil2D crashing after deleting sound layer
2 participants