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(Format): Extracting audio language from captions #470

Merged
merged 1 commit into from
Aug 12, 2023

Conversation

absidue
Copy link
Collaborator

@absidue absidue commented Aug 12, 2023

This pull request fixes a bug in #445. Turns out caption_track_indices is used to determine the order of the caption tracks in the UI, whereas default_caption_track_index refers to the original order of the caption tracks.

Noticed that the order can differ while digging into this video with broken audio track: https://youtu.be/UJeSWbR6W04 (the bug doesn't actually crop up for that video, as it has multiple audio tracks, so we don't need to dig around in the captions but it would have picked Portuguese instead of English for that video, if it did only have one audio track).

@LuanRT LuanRT merged commit 31d27b1 into LuanRT:main Aug 12, 2023
3 checks passed
@absidue absidue deleted the fix-audio-caption-language branch August 12, 2023 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants