aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/DynamicHlsController.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2023-01-22 14:03:54 -0500
committerJoshua M. Boniface <joshua@boniface.me>2023-01-22 14:03:54 -0500
commitab96d1b7ad69d6f3e7aab0263238a008c9360e7e (patch)
treeb1e9b1f5c990d3297c63b9e581af6860f46c1238 /Jellyfin.Api/Controllers/DynamicHlsController.cs
parent491f1f88c7db8b830231012739610f048721eaf1 (diff)
Backport pull request #9049 from jellyfin/release-10.8.z
Add more codecs requiring ffmpeg strict -2 Original-merge: 2a6e292153fa84f82400079030fef0a289719a21 Merged-by: Cody Robibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
Diffstat (limited to 'Jellyfin.Api/Controllers/DynamicHlsController.cs')
-rw-r--r--Jellyfin.Api/Controllers/DynamicHlsController.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/DynamicHlsController.cs b/Jellyfin.Api/Controllers/DynamicHlsController.cs
index ba9a57f1d..b41e23925 100644
--- a/Jellyfin.Api/Controllers/DynamicHlsController.cs
+++ b/Jellyfin.Api/Controllers/DynamicHlsController.cs
@@ -1705,12 +1705,13 @@ namespace Jellyfin.Api.Controllers
return audioTranscodeParams;
}
- // dts, flac and opus are experimental in mp4 muxer
+ // dts, flac, opus and truehd are experimental in mp4 muxer
var strictArgs = string.Empty;
if (string.Equals(state.ActualOutputAudioCodec, "flac", StringComparison.OrdinalIgnoreCase)
|| string.Equals(state.ActualOutputAudioCodec, "opus", StringComparison.OrdinalIgnoreCase)
- || string.Equals(state.ActualOutputAudioCodec, "dts", StringComparison.OrdinalIgnoreCase))
+ || string.Equals(state.ActualOutputAudioCodec, "dts", StringComparison.OrdinalIgnoreCase)
+ || string.Equals(state.ActualOutputAudioCodec, "truehd", StringComparison.OrdinalIgnoreCase))
{
strictArgs = " -strict -2";
}