Fix video stream limit check condition to use IsOutputVideo property

This commit is contained in:
Mahmoud Almontasser 2025-08-03 20:23:03 +02:00
parent 03125c8904
commit 005081c52d

View File

@ -303,7 +303,7 @@ public class DynamicHlsController : BaseJellyfinApiController
.ConfigureAwait(false);
// Check video stream limits before starting transcoding
if (state.MediaSource?.VideoType is not null)
if (state.IsOutputVideo)
{
var userId = HttpContext.User.GetUserId();
if (!userId.IsEmpty())