Merge pull request #7141 from nyanmisaka/seek-audio

Seek the external audio stream
pull/7149/head
Cody Robibero 3 years ago committed by GitHub
commit d24683f0ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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('"');
}

Loading…
Cancel
Save