diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-24 22:45:06 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-24 22:45:06 -0400 |
| commit | 1544b7bf9ce3221aec47da22a76e171f6714ce26 (patch) | |
| tree | a737f44f8cf44162ff264887c0b234cf17c6023e /MediaBrowser.Api/Playback/BaseStreamingService.cs | |
| parent | eca1ba0b12da195dff3c31ffb799e4e3a7b5b5b9 (diff) | |
display timestamp info
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs index ac7dab080..aafda7812 100644 --- a/MediaBrowser.Api/Playback/BaseStreamingService.cs +++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs @@ -24,6 +24,7 @@ using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; +using MediaBrowser.Model.MediaInfo; namespace MediaBrowser.Api.Playback { @@ -1437,7 +1438,7 @@ namespace MediaBrowser.Api.Playback : video.PlayableStreamFileNames.ToList(); state.DeInterlace = string.Equals(video.Container, "wtv", StringComparison.OrdinalIgnoreCase); - state.InputTimestamp = video.Timestamp; + state.InputTimestamp = video.Timestamp ?? TransportStreamTimestamp.None; } state.RunTimeTicks = item.RunTimeTicks; |
