diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-10-11 21:46:02 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-10-11 21:46:02 -0400 |
| commit | 314a51dff3f070be75bcaf00be244977fdd3ceb5 (patch) | |
| tree | 9fd0588448932f9f829f314521f6f2ba340da9a6 /MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs | |
| parent | f3539686bd7ff6c748a0a9441086538081fa8903 (diff) | |
add more device options
Diffstat (limited to 'MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs b/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs index 24dce64df..8f9fa11db 100644 --- a/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs +++ b/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs @@ -53,9 +53,9 @@ namespace MediaBrowser.Api.Playback /// <returns>Task.</returns> public async Task WriteToAsync(Stream responseStream) { - using (var remoteStream = _response.Content) + using (_response) { - await remoteStream.CopyToAsync(responseStream, 819200).ConfigureAwait(false); + await _response.Content.CopyToAsync(responseStream, 819200).ConfigureAwait(false); } } } |
