mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-03 12:23:27 +02:00
fix an issue about determining 'IsSecondaryAudio'
fix an issue that could not correctly determine 'IsSecondaryAudio' in some cases.
This commit is contained in:
parent
2ce16d4bb5
commit
48e9c004b4
|
@ -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…
Reference in a new issue