Fix incorrect HLS master playlist fields

Resolves: #3224
pull/3252/head
Andreas B 5 years ago
parent f0d182b8fe
commit d92b32a4c6

@ -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());
}
}

Loading…
Cancel
Save