AudioStreamOggVorbis: only show invalid comment warning in Editor builds#109844
AudioStreamOggVorbis: only show invalid comment warning in Editor builds#109844Repiteo merged 1 commit intogodotengine:masterfrom
Conversation
aaronfranke
left a comment
There was a problem hiding this comment.
This would be a good opportunity to link to the specification, explaining why Godot cares about the comment at all.
|
https://xiph.org/vorbis/doc/v-comment.html Basically, comments are structured like env vars in vorbis, |
|
@nikitalita Can you put that in a comment in the code? |
be19b86 to
df7c7d8
Compare
|
done |
aaronfranke
left a comment
There was a problem hiding this comment.
Should be squashed, but this looks good to me.
3ab7490 to
9aa9bac
Compare
|
I can't re-run the failed jobs |
|
I think this is ready to go. |
Repiteo
left a comment
There was a problem hiding this comment.
Looks good, but still needs the commits to be squashed. See our pull request guidelines for more information
1822cdd to
6e77451
Compare
I've done that, but I wish I understood why the maintainers of this project forbid "squash and merge". |
|
Is the title of the PR outdated? The code doesn't filter out only in editor builds now |
For several reasons, one is the workload on our production team (dozens of PRs is a lot to squash and make sure it was done right, considering squashing a single one can be annoying, imagine a dozen), another is that we want a clean history where we have a clear merge commit which means the PR is as is, without other changes, so it can be easily reverted, or cherry picked We could use "squash and use merge commit" but GitHub doesn't allow that, we also have several maintainers and contributors who sign their commits because downstream consumers need that security, if we only used one type of merge method we'd lose that (squashed commits, or plain merged commits lose their sign information as it is recommitted), and having multiple means of merging things doesn't work with merge queues, and adds a burden to the production team |
6e77451 to
a09a5d2
Compare
It was a mistake that I made when rebasing on top of master to appease the PR guidelines. It's fixed now. |
|
And there you have the risks of having the production team doing it instead, not being familiar with the PR! |
|
Thanks! |
There are a bunch of music editors love to set invalid Vorbis comments in ogg vorbis files that they export (e.g. Sony's likes to write "Sony Ogg Vorbis 1.0 Final"), and this results in a lot of logspam whenever an ogg like this is loaded up. We should really only be emitting a warning about it if tools are enabled.