mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-13 04:38:59 +00:00
add ios dts workaround
This commit is contained in:
parent
81d685b882
commit
afabbfa22b
13 changed files with 104 additions and 19 deletions
|
|
@ -11,6 +11,7 @@ using MediaBrowser.Model.Net;
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
@ -117,6 +118,17 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
}
|
||||
}
|
||||
|
||||
public List<string> AllAudioCodecs
|
||||
{
|
||||
get
|
||||
{
|
||||
return MediaSource.MediaStreams.Where(i => i.Type == MediaStreamType.Audio)
|
||||
.Select(i => i.Codec)
|
||||
.Where(i => !string.IsNullOrWhiteSpace(i))
|
||||
.ToList();
|
||||
}
|
||||
}
|
||||
|
||||
private void DisposeIsoMount()
|
||||
{
|
||||
if (IsoMount != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue