mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-05 21:33:02 +02:00
Merge pull request #2331 from nyanmisaka/master
fix an issue that could not correctly determine 'IsSecondaryAudio' in some cases.
This commit is contained in:
commit
8c520160cc
|
@ -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…
Reference in a new issue