mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-08-06 06:07:05 +02:00
Fix video stream limit check condition to use IsOutputVideo property
This commit is contained in:
parent
03125c8904
commit
005081c52d
@ -303,7 +303,7 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
|
|
||||||
// Check video stream limits before starting transcoding
|
// Check video stream limits before starting transcoding
|
||||||
if (state.MediaSource?.VideoType is not null)
|
if (state.IsOutputVideo)
|
||||||
{
|
{
|
||||||
var userId = HttpContext.User.GetUserId();
|
var userId = HttpContext.User.GetUserId();
|
||||||
if (!userId.IsEmpty())
|
if (!userId.IsEmpty())
|
||||||
|
Loading…
Reference in New Issue
Block a user