diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-24 22:00:19 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-24 22:00:19 -0400 |
| commit | eca1ba0b12da195dff3c31ffb799e4e3a7b5b5b9 (patch) | |
| tree | 436352b39c2c78e1b6731a9d44c09dd8407bed2f /MediaBrowser.Api/Playback/BaseStreamingService.cs | |
| parent | 725e1a1509231650ae448d9eb7db55cce6fcd6bb (diff) | |
fixes #797 - Determine mpeg2ts timestamp info
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs index a4abb129b..ac7dab080 100644 --- a/MediaBrowser.Api/Playback/BaseStreamingService.cs +++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs @@ -1435,6 +1435,9 @@ namespace MediaBrowser.Api.Playback state.PlayableStreamFileNames = video.PlayableStreamFileNames == null ? new List<string>() : video.PlayableStreamFileNames.ToList(); + + state.DeInterlace = string.Equals(video.Container, "wtv", StringComparison.OrdinalIgnoreCase); + state.InputTimestamp = video.Timestamp; } state.RunTimeTicks = item.RunTimeTicks; |
