mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-16 11:02:20 +00:00
Also seek the external audio stream
This commit is contained in:
1 parent
ddc2569258
commit
8c3f98f41b
1 file changed
+7
@@ -886,6 +886,13 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
|
||||
if (state.AudioStream != null && state.AudioStream.IsExternal)
|
||||
{
|
||||
// Also seek the external audio stream.
|
||||
var seekAudioParam = GetFastSeekCommandLineParameter(state, options);
|
||||
if (!string.IsNullOrEmpty(seekAudioParam))
|
||||
{
|
||||
arg.Append(' ').Append(seekAudioParam);
|
||||
}
|
||||
|
||||
arg.Append(" -i \"").Append(state.AudioStream.Path).Append('"');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user