Merge pull request #2331 from nyanmisaka/master

fix an issue that could not correctly determine 'IsSecondaryAudio' in some cases.
pull/2347/head
Vasily 5 years ago committed by GitHub
commit 8c520160cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save