mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-08 23:00:51 +02:00
Fix direct play for DirectPlayProfiles without any codecs set
70771fdcd6
broke direct play by treating empty container/codec strings as unsupported in `ContainerProfile.ContainsContainer()`` (which is also used for video and audio codec checks). Instead, they should be treated as supported, for both the positive and negative list option.
This commit is contained in:
parent
48e81e65e8
commit
65a9a4771a
|
@ -55,7 +55,8 @@ namespace MediaBrowser.Model.Dlna
|
||||||
{
|
{
|
||||||
if (profileContainers == null || profileContainers.Length == 0)
|
if (profileContainers == null || profileContainers.Length == 0)
|
||||||
{
|
{
|
||||||
return isNegativeList;
|
// Empty profiles always support all containers/codecs
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
var allInputContainers = SplitValue(inputContainer);
|
var allInputContainers = SplitValue(inputContainer);
|
||||||
|
|
Loading…
Reference in a new issue