Allowing transcoding to 5.1ch if appropriate output connected
This commit is contained in:
parent
ff732dd4a9
commit
99b50d99c4
|
@ -106,6 +106,12 @@ function getTranscodeParameters(meta as object)
|
|||
else
|
||||
audioCodec = "aac"
|
||||
audioChannels = 2
|
||||
|
||||
' If 5.1 Audio Output is connected then allow transcoding to 5.1
|
||||
di = CreateObject("roDeviceInfo")
|
||||
if di.GetAudioOutputChannel() = "5.1 surround" then
|
||||
audioChannels = 6
|
||||
end if
|
||||
end if
|
||||
return {
|
||||
"VideoCodec": "h264",
|
||||
|
|
Loading…
Reference in New Issue
Block a user