fix an issue about determining 'IsSecondaryAudio'

fix an issue that could not correctly determine 'IsSecondaryAudio' in some cases.
pull/2331/head
Nyanmisaka 5 years ago committed by GitHub
parent 2ce16d4bb5
commit 48e9c004b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -209,10 +209,7 @@ namespace MediaBrowser.Model.Dto
{
if (currentStream.Type == MediaStreamType.Audio && currentStream.IsDefault)
{
if (currentStream.Index != stream.Index)
{
return true;
}
return currentStream.Index != stream.Index;
}
}

Loading…
Cancel
Save