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

Expose video metadata in the video addon #1134

Open
SiegeLord opened this issue May 19, 2020 · 0 comments
Open

Expose video metadata in the video addon #1134

SiegeLord opened this issue May 19, 2020 · 0 comments

Comments

@SiegeLord
Copy link
Member

I think we already read it in (into th_comment and vorbis_comment structures), just need a function to expose it. Maybe al_get_video_metadata(const VIDEO* video, char*** video_metadata, char*** audio_metadata), where both of the axes of the output parameters are zero-terminated.

Alternatively, could just make a al_get_video_theora_comment and al_get_video_vorbis_comment and return the original structures (this would be a platform style function, and would be placed in addons/video/include/allegro_ogv.h or something like that).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant