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

handle exoplayer track selection indexes starting at 1 #1878

Conversation

mueslimak3r
Copy link
Member

@mueslimak3r mueslimak3r commented Jul 22, 2022

Changes

  • offsetStreamIndex() can now account for a players indexing from 1 (exoplayer starts at 1, libVLC starts at 0)
  • return true when trying to set a track with exoplayer and it is already selected. Returning false indicates an error/that transcoding may be needed so the stream is recreated, and that is not needed in this situation.

Issues

@mueslimak3r mueslimak3r added this to In progress in v0.14.0 via automation Jul 22, 2022
@mueslimak3r mueslimak3r added the bug Something isn't working label Jul 22, 2022
v0.14.0 automation moved this from In progress to Review in progress Jul 22, 2022
@mueslimak3r mueslimak3r force-pushed the exoplayer-track-selection-indexing-fix branch from 3e68062 to 78bd8d3 Compare July 23, 2022 04:05
v0.14.0 automation moved this from Review in progress to Reviewer approved Jul 23, 2022
@nielsvanvelzen nielsvanvelzen merged commit 1f2b757 into jellyfin:master Jul 23, 2022
v0.14.0 automation moved this from Reviewer approved to Done Jul 23, 2022
@mueslimak3r mueslimak3r deleted the exoplayer-track-selection-indexing-fix branch July 23, 2022 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
v0.14.0
  
Done
Development

Successfully merging this pull request may close these issues.

Media is constantly played using the wrong sound track
2 participants