Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
fix(subtitles): report subtitles none when direct playing subtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
ttshivers committed Sep 28, 2020
1 parent 1ae6dad commit 95c2d74
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/store/modules/slplayer/getters.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,9 @@ export default {
GET_SUBTITLE_PARAMS: (state, getters) => {
if (!getters.GET_SELECTED_SUBTITLE_STREAM || getters.CAN_DIRECT_PLAY
|| getters.CAN_DIRECT_PLAY_SUBTITLES) {
return null;
return {
subtitles: 'none',
};
}

if (getters.SHOULD_FORCE_BURN_SUBTITLES) {
Expand Down

0 comments on commit 95c2d74

Please sign in to comment.