aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/StreamState.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-03-24 11:04:34 -0400
committerGitHub <noreply@github.com>2017-03-24 11:04:34 -0400
commite96b9cb05c3c5d71adf5918f862dfb66155ca0ea (patch)
tree2c202f33338bbcf2bc67c902e815c836afdb85b1 /MediaBrowser.Api/Playback/StreamState.cs
parent410a75d03d9904cd3e8c33b11ac8a85cfd3f7f42 (diff)
parentaa8f3cd493509ce4d6af836d3f231e7437a8ae49 (diff)
Merge pull request #2543 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Api/Playback/StreamState.cs')
-rw-r--r--MediaBrowser.Api/Playback/StreamState.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Playback/StreamState.cs b/MediaBrowser.Api/Playback/StreamState.cs
index 24ba0606d..2f5f6227a 100644
--- a/MediaBrowser.Api/Playback/StreamState.cs
+++ b/MediaBrowser.Api/Playback/StreamState.cs
@@ -154,6 +154,8 @@ namespace MediaBrowser.Api.Playback
DisposeLiveStream();
DisposeLogStream();
DisposeIsoMount();
+
+ TranscodingJob = null;
}
private void DisposeLogStream()
@@ -476,5 +478,11 @@ namespace MediaBrowser.Api.Playback
return true;
}
}
+
+ public TranscodingJob TranscodingJob;
+ public override void ReportTranscodingProgress(TimeSpan? transcodingPosition, float? framerate, double? percentComplete, long? bytesTranscoded, int? bitRate)
+ {
+ ApiEntryPoint.Instance.ReportTranscodingProgress(TranscodingJob, this, transcodingPosition, framerate, percentComplete, bytesTranscoded, bitRate);
+ }
}
}