mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 22:13:06 +03:00
Apply suggestions from code review
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user