-
-
Notifications
You must be signed in to change notification settings - Fork 23.3k
AudioStreamOggVorbis: only show invalid comment warning in Editor builds #109844
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
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.