Merge pull request #543 from whiteowl3/patch-1
This commit is contained in:
commit
5bf3a68634
|
@ -32,6 +32,10 @@ function getDeviceProfile() as object
|
|||
tsVideoCodecs = "h264"
|
||||
end if
|
||||
|
||||
if di.CanDecodeVideo({ Codec: "hevc" }).Result = true
|
||||
tsVideoCodecs = tsVideoCodecs + ",h265,hevc"
|
||||
end if
|
||||
|
||||
if di.CanDecodeAudio({ Codec: "ac3" }).result
|
||||
tsAudioCodecs = "aac,ac3"
|
||||
else
|
||||
|
@ -100,18 +104,6 @@ function getDeviceProfile() as object
|
|||
],
|
||||
"ContainerProfiles": [],
|
||||
"CodecProfiles": [
|
||||
{
|
||||
"Type": "VideoAudio",
|
||||
"Codec": "aac",
|
||||
"Conditions": [
|
||||
{
|
||||
"Condition": "Equals",
|
||||
"Property": "IsSecondaryAudio",
|
||||
"Value": "false",
|
||||
"IsRequired": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "VideoAudio",
|
||||
"Codec": DirectPlayProfile[1].AudioCodec, ' Use supported MKV Audio list
|
||||
|
@ -155,6 +147,10 @@ function getDeviceProfile() as object
|
|||
{
|
||||
"Format": "ttml",
|
||||
"Method": "External"
|
||||
},
|
||||
{
|
||||
"Format": "sub",
|
||||
"Method": "External"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -258,4 +254,4 @@ function GetDirectPlayProfiles() as object
|
|||
}
|
||||
]
|
||||
|
||||
end function
|
||||
end function
|
||||
|
|
Loading…
Reference in New Issue
Block a user