Ensure device can decode AAC 5.1 before transcoding to that
This commit is contained in:
parent
99b50d99c4
commit
31ac79c035
|
@ -109,7 +109,7 @@ function getTranscodeParameters(meta as object)
|
|||
|
||||
' If 5.1 Audio Output is connected then allow transcoding to 5.1
|
||||
di = CreateObject("roDeviceInfo")
|
||||
if di.GetAudioOutputChannel() = "5.1 surround" then
|
||||
if di.GetAudioOutputChannel() = "5.1 surround" and di.CanDecodeAudio({ Codec: "aac", ChCnt: 6 }).result then
|
||||
audioChannels = 6
|
||||
end if
|
||||
end if
|
||||
|
|
Loading…
Reference in New Issue
Block a user