aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/VideoHlsController.cs
diff options
context:
space:
mode:
authorNyanmisaka <nst799610810@gmail.com>2020-11-14 10:19:41 +0000
committerGitHub <noreply@github.com>2020-11-14 10:19:41 +0000
commit06670351ae6be1d3c47a25fe14b2f253cc6ab3e7 (patch)
tree81d028a8ce1d9f40365fc6e9409e9ae827da3b66 /Jellyfin.Api/Controllers/VideoHlsController.cs
parentfc89b7e6416ed750725154104b37f32496435555 (diff)
Apply suggestions from code review
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
Diffstat (limited to 'Jellyfin.Api/Controllers/VideoHlsController.cs')
-rw-r--r--Jellyfin.Api/Controllers/VideoHlsController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/VideoHlsController.cs b/Jellyfin.Api/Controllers/VideoHlsController.cs
index 4ae61fbd3..93bb3a903 100644
--- a/Jellyfin.Api/Controllers/VideoHlsController.cs
+++ b/Jellyfin.Api/Controllers/VideoHlsController.cs
@@ -448,7 +448,7 @@ namespace Jellyfin.Api.Controllers
|| string.Equals(state.MediaSource.Container, "hls", StringComparison.OrdinalIgnoreCase)))
{
bitStreamArgs = _encodingHelper.GetBitStreamArgs(state.AudioStream);
- bitStreamArgs = !string.IsNullOrEmpty(bitStreamArgs) ? " " + bitStreamArgs : string.Empty;
+ bitStreamArgs = string.IsNullOrEmpty(bitStreamArgs) ? string.Empty : " " + bitStreamArgs;;
}
return "-acodec copy -strict -2" + bitStreamArgs;