aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/BaseStreamingService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-08-05 22:26:12 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-08-05 22:26:12 -0400
commite3c52b6f73d938033d5d4d5db1284a2367c75ecd (patch)
treeec0f96d602e417c0d0dfd9ef72d5a9313ba3aadf /MediaBrowser.Api/Playback/BaseStreamingService.cs
parent3ff3d04284429d78ec8adc2292de79ef0c022449 (diff)
support srt in didl
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
-rw-r--r--MediaBrowser.Api/Playback/BaseStreamingService.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index bfbad5635..9d54458a6 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -1642,7 +1642,10 @@ namespace MediaBrowser.Api.Playback
// Can't stream copy if we're burning in subtitles
if (request.SubtitleStreamIndex.HasValue)
{
- return false;
+ if (request.SubtitleMethod == SubtitleDeliveryMethod.Encode)
+ {
+ return false;
+ }
}
// Source and target codecs must match