aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-10 00:03:37 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-10 00:03:37 -0400
commitc42f8eba689cd9aac53e3685d1e319461ec6a8a1 (patch)
tree581ffa226df2c13bcfb289f53c10f236fb053f35
parent581d83e03f8fa6b2257fad62deacf560573a967a (diff)
update dash manifest
-rw-r--r--MediaBrowser.Api/Playback/Hls/MpegDashService.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/Hls/MpegDashService.cs b/MediaBrowser.Api/Playback/Hls/MpegDashService.cs
index 09bf56be7..5fe92682e 100644
--- a/MediaBrowser.Api/Playback/Hls/MpegDashService.cs
+++ b/MediaBrowser.Api/Playback/Hls/MpegDashService.cs
@@ -664,13 +664,14 @@ namespace MediaBrowser.Api.Playback.Hls
var inputModifier = GetInputModifier(state);
- var args = string.Format("{0} {1} -map_metadata -1 -threads {2} {3} {4} -copyts {5} -f dash -use_template 0 -min_seg_duration 2000 \"{6}\"",
+ var args = string.Format("{0} {1} -map_metadata -1 -threads {2} {3} {4} -copyts {5} -f dash -use_template 0 -min_seg_duration {6} \"{7}\"",
inputModifier,
GetInputArgument(transcodingJobId, state),
threads,
GetMapArgs(state),
GetVideoArguments(state),
GetAudioArguments(state),
+ (state.SegmentLength * 1000000).ToString(CultureInfo.InvariantCulture),
outputPath
).Trim();