Mikael Finstad 1 year ago
parent 2599c4c204
commit 8a01a928a1
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -336,7 +336,7 @@ function App() {
const compatPlayerWanted = (isRotationSet || activeVideoStreamIndex != null || activeAudioStreamIndex != null) && !hideMediaSourcePlayer;
const compatPlayerEnabled = (compatPlayerRequired || compatPlayerWanted) && (activeVideoStream != null || activeAudioStream != null);
const shouldShowPlaybackStreamSelector = videoStreams.length > 1 || audioStreams.length > 1 || (compatPlayerEnabled && subtitleStreams.length > 0);
const shouldShowPlaybackStreamSelector = videoStreams.length > 1 || audioStreams.length > 1 || (subtitleStreams.length > 0 && !compatPlayerEnabled);
useEffect(() => {
// Reset the user preference when the state changes to true

Loading…
Cancel
Save