aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas B <6439218+YouKnowBlom@users.noreply.github.com>2020-06-05 22:05:33 +0200
committerAndreas B <6439218+YouKnowBlom@users.noreply.github.com>2020-06-05 22:05:33 +0200
commitd92b32a4c645749970692431f459cbacfc68601d (patch)
tree9e5410c1c943b68a1cc691f4ced62195781b9842
parentf0d182b8fe2a2ff2c893c3973b99cda85c30ca70 (diff)
Fix incorrect HLS master playlist fields
Resolves: #3224
-rw-r--r--MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs10
1 files changed, 4 insertions, 6 deletions
diff --git a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs
index c746cef80..0a6ed2786 100644
--- a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs
+++ b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs
@@ -872,9 +872,8 @@ namespace MediaBrowser.Api.Playback.Hls
if (framerate.HasValue)
{
- builder.Append(",FRAME-RATE=\"")
- .Append(framerate.Value)
- .Append('"');
+ builder.Append(",FRAME-RATE=")
+ .Append(framerate.Value);
}
}
@@ -888,11 +887,10 @@ namespace MediaBrowser.Api.Playback.Hls
{
if (state.OutputWidth.HasValue && state.OutputHeight.HasValue)
{
- builder.Append(",RESOLUTION=\"")
+ builder.Append(",RESOLUTION=")
.Append(state.OutputWidth.GetValueOrDefault())
.Append('x')
- .Append(state.OutputHeight.GetValueOrDefault())
- .Append('"');
+ .Append(state.OutputHeight.GetValueOrDefault());
}
}