Skip to content

fix: crash with positive sound delay for MLT >= 7.20 - #3495

Merged
ice0 merged 1 commit into
synfig:masterfrom
rodolforg:fix-crash-positive-delay-for-sound
Mar 2, 2025
Merged

ice0 merged 1 commit into
synfig:masterfrom
rodolforg:fix-crash-positive-delay-for-sound

Conversation

@rodolforg

Copy link
Copy Markdown
Contributor

The MLT framework we use as our audio backend for
Sound layer changed how it creates blank audio: since version 7.20 it has a MLT producer for blank. [1]

So now we have to provide a profile to our playlist producer; otherwise, synfig crashes with this error log message:

[mlt_producer 0x55555897c070] <playlist>
    Playlist can not create blank producer without profile

Reported-by: Lae82 in Synfig Forums [2]

[1] https://www.mltframework.org/blog/v7.20.0_released/
[2] https://forums.synfig.org/t/setting-audio-delay-parameter-for-audio-layer-with-a-positive-value-crashes-synfig/16223

The MLT framework we use as our audio backend for
Sound layer changed how it creates blank audio: since version
7.20 it has a MLT producer for blank. [1]

So now we have to provide a profile to our playlist producer;
otherwise, synfig crashes with this error log message:

```
[mlt_producer 0x55555897c070] <playlist>
    Playlist can not create blank producer without profile
```

Reported-by: Lae82 in Synfig Forums [2]

[1] https://www.mltframework.org/blog/v7.20.0_released/
[2] https://forums.synfig.org/t/setting-audio-delay-parameter-for-audio-layer-with-a-positive-value-crashes-synfig/16223
@github-actions

Copy link
Copy Markdown

Thank you for contributing!
Below is how your contribution will appear in Synfig's release notes. Review it and improve your pull request's title and description so that your contribution is clear. You can add images, videos, and anything else you want. Have fun!

🐞 Bug Fixes

@ice0
ice0 merged commit 5184864 into synfig:master Mar 2, 2025
@ice0

ice0 commented Mar 2, 2025

Copy link
Copy Markdown
Collaborator

Merged. Thank you!

@rodolforg
rodolforg deleted the fix-crash-positive-delay-for-sound branch March 2, 2025 11:15
@rodolforg rodolforg moved this to Planned in 1.5.4 Mar 23, 2025
@rodolforg rodolforg moved this from Planned to Ready to backport in 1.5.4 Mar 23, 2025
@rodolforg rodolforg moved this from Ready to backport to Planned in 1.5.4 Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Planned

Development

Successfully merging this pull request may close these issues.

2 participants