mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-23 08:00:49 +01:00
added new cabac value
This commit is contained in:
@@ -149,6 +149,7 @@ namespace MediaBrowser.Dlna.Didl
|
||||
streamInfo.TargetPacketLength,
|
||||
streamInfo.TranscodeSeekInfo,
|
||||
streamInfo.IsTargetAnamorphic,
|
||||
streamInfo.IsTargetCabac,
|
||||
streamInfo.TargetRefFrames);
|
||||
|
||||
foreach (var contentFeature in contentFeatureList)
|
||||
@@ -270,6 +271,7 @@ namespace MediaBrowser.Dlna.Didl
|
||||
streamInfo.TargetPacketLength,
|
||||
streamInfo.TargetTimestamp,
|
||||
streamInfo.IsTargetAnamorphic,
|
||||
streamInfo.IsTargetCabac,
|
||||
streamInfo.TargetRefFrames);
|
||||
|
||||
var filename = url.Substring(0, url.IndexOf('?'));
|
||||
|
||||
@@ -452,19 +452,9 @@ namespace MediaBrowser.Dlna.PlayTo
|
||||
private void AddItemFromId(Guid id, List<BaseItem> list)
|
||||
{
|
||||
var item = _libraryManager.GetItemById(id);
|
||||
if (item.IsFolder)
|
||||
if (item.MediaType == MediaType.Audio || item.MediaType == MediaType.Video)
|
||||
{
|
||||
foreach (var childId in _itemRepository.GetChildren(item.Id))
|
||||
{
|
||||
AddItemFromId(childId, list);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (item.MediaType == MediaType.Audio || item.MediaType == MediaType.Video)
|
||||
{
|
||||
list.Add(item);
|
||||
}
|
||||
list.Add(item);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -537,6 +527,7 @@ namespace MediaBrowser.Dlna.PlayTo
|
||||
streamInfo.TargetPacketLength,
|
||||
streamInfo.TranscodeSeekInfo,
|
||||
streamInfo.IsTargetAnamorphic,
|
||||
streamInfo.IsTargetCabac,
|
||||
streamInfo.TargetRefFrames);
|
||||
|
||||
return list.FirstOrDefault();
|
||||
|
||||
@@ -51,6 +51,7 @@
|
||||
<ProfileCondition condition="LessThanEqual" property="Height" value="1080" isRequired="false" />
|
||||
<ProfileCondition condition="LessThanEqual" property="VideoBitDepth" value="8" isRequired="false" />
|
||||
<ProfileCondition condition="NotEquals" property="IsAnamorphic" value="true" isRequired="false" />
|
||||
<ProfileCondition condition="Equals" property="IsCabac" value="true" isRequired="false" />
|
||||
</Conditions>
|
||||
</CodecProfile>
|
||||
<CodecProfile type="Video">
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user