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

195 forced subtitles support #201

Merged
merged 16 commits into from
Aug 11, 2023
Merged

195 forced subtitles support #201

merged 16 commits into from
Aug 11, 2023

Conversation

StaehliJ
Copy link
Contributor

@StaehliJ StaehliJ commented Aug 10, 2023

Pull request

Description

Improve handling of forced subtitles. Forced subtitle are special subtitles that are displayed in the same language of the current audio track and are always displayed if no other subtitles are selected.

Changes made

Changing audio and text tracks state has been changed. Now they setup TrackSelectionParameters with parameters that fit the need of forced subtitles.

Related to : #199

Checklist

  • Your branch has been rebased onto the main branch.
  • APIs have been properly documented (if relevant).
  • The documentation has been updated (if relevant).
  • New unit tests have been written (if relevant).
  • The demo has been updated (if relevant).
  • All pull request status checks pass.

@StaehliJ StaehliJ linked an issue Aug 10, 2023 that may be closed by this pull request
3 tasks
@StaehliJ StaehliJ requested a review from defagos August 10, 2023 12:12
@@ -79,13 +77,17 @@ fun TrackSelectionParameters.disableAudioTrack(): TrackSelectionParameters {
/**
* Default text track
*
* Reset [TrackSelectionParameters] for text as Default.
*
* @param context
* @return
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drop or complete.

@StaehliJ StaehliJ merged commit 16c7a49 into main Aug 11, 2023
4 checks passed
@StaehliJ StaehliJ deleted the 195-forced-subtitles-support branch August 11, 2023 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Forced subtitles support
2 participants