mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-02 08:23:04 +00:00
Add GPL modules
This commit is contained in:
@@ -69,7 +69,6 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
{
|
||||
DisposeLiveStream();
|
||||
DisposeLogStream();
|
||||
DisposeIsoMount();
|
||||
}
|
||||
|
||||
private void DisposeLogStream()
|
||||
|
||||
@@ -727,11 +727,13 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
var encodinghelper = new EncodingHelper(this, FileSystem, SubtitleEncoder());
|
||||
if (videoStream != null)
|
||||
{
|
||||
/* fix
|
||||
var decoder = encodinghelper.GetHardwareAcceleratedVideoDecoder(VideoType.VideoFile, videoStream, GetEncodingOptions());
|
||||
if (!string.IsNullOrWhiteSpace(decoder))
|
||||
{
|
||||
args = decoder + " " + args;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(container))
|
||||
@@ -847,11 +849,13 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
var encodinghelper = new EncodingHelper(this, FileSystem, SubtitleEncoder());
|
||||
if (videoStream != null)
|
||||
{
|
||||
/* fix
|
||||
var decoder = encodinghelper.GetHardwareAcceleratedVideoDecoder(VideoType.VideoFile, videoStream, GetEncodingOptions());
|
||||
if (!string.IsNullOrWhiteSpace(decoder))
|
||||
{
|
||||
args = decoder + " " + args;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(container))
|
||||
@@ -1145,4 +1149,4 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user