Change return type from Task<List<MediaStream>> to Task<IAsyncEnumerable<MediaStream>> in MediaBrowser.Providers/MediaInfo/AudioResolver.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
Jonas Resch 2021-11-27 16:56:17 +01:00 committed by Jonas Resch
parent 61b191d345
commit d016d483ae

View File

@ -21,7 +21,7 @@ namespace MediaBrowser.Providers.MediaInfo
{
public class AudioResolver
{
public async Task<List<MediaStream>> GetExternalAudioStreams(
public async Task<IAsyncEnumerable<MediaStream>> GetExternalAudioStreams(
Video video,
int startIndex,
IDirectoryService directoryService,