mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
add subtitle profiles to dlna profile editor
This commit is contained in:
@@ -925,11 +925,6 @@ namespace MediaBrowser.Api.Playback
|
||||
/// <exception cref="System.InvalidOperationException">ffmpeg was not found at + MediaEncoder.EncoderPath</exception>
|
||||
protected async Task<TranscodingJob> StartFfMpeg(StreamState state, string outputPath, CancellationTokenSource cancellationTokenSource)
|
||||
{
|
||||
if (!File.Exists(MediaEncoder.EncoderPath))
|
||||
{
|
||||
throw new InvalidOperationException("ffmpeg was not found at " + MediaEncoder.EncoderPath);
|
||||
}
|
||||
|
||||
Directory.CreateDirectory(Path.GetDirectoryName(outputPath));
|
||||
|
||||
await AcquireResources(state, cancellationTokenSource).ConfigureAwait(false);
|
||||
@@ -955,7 +950,6 @@ namespace MediaBrowser.Api.Playback
|
||||
RedirectStandardInput = true,
|
||||
|
||||
FileName = MediaEncoder.EncoderPath,
|
||||
WorkingDirectory = Path.GetDirectoryName(MediaEncoder.EncoderPath),
|
||||
Arguments = commandLineArgs,
|
||||
|
||||
WindowStyle = ProcessWindowStyle.Hidden,
|
||||
|
||||
Reference in New Issue
Block a user