Merge pull request #902 from oddstr13/pr-transcode-settings-logic-1

Fix transcode settings visibility logic
This commit is contained in:
Odd Stråbø 2024-08-11 22:44:46 +02:00 committed by GitHub
commit 4f66b69bea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,14 +47,14 @@
<setting type="sep" />
<setting label="33115" type="lsep" />
<setting label="30161" id="videoPreferredCodec" type="select" values="H264/AVC|H265/HEVC|AV1" visible="true" default="H264/AVC" />
<setting label="30522" id="transcode_h265" type="bool" default="false" visible="!eq(-1,H265/HEVC)" />
<setting label="33202" id="transcode_h265_rext" type="bool" default="false" visible="eq(-1,false)|eq(-2,H265/HEVC)" subsetting="true" />
<setting label="30537" id="transcodeHi10P" type="bool" default="false" visible="true" />
<setting label="30522" id="transcode_h265" type="bool" default="false" visible="true" />
<setting label="33202" id="transcode_h265_rext" type="bool" default="false" visible="eq(-1,false)" />
<setting label="30523" id="transcode_mpeg2" type="bool" default="false" visible="true" />
<setting label="30524" id="transcode_vc1" type="bool" default="false" visible="true" />
<setting label="30525" id="transcode_vp9" type="bool" default="false" visible="true" />
<setting label="30526" id="transcode_av1" type="bool" default="false" visible="true" />
<setting label="30161" id="videoPreferredCodec" type="select" values="H264/AVC|H265/HEVC|AV1" visible="eq(-2,false)" default="H264/AVC" />
<setting label="30526" id="transcode_av1" type="bool" default="false" visible="!eq(-7,AV1)" />
<setting label="30162" id="audioPreferredCodec" type="select" values="AAC|AC3|MP3|Opus|FLAC|Vorbis" visible="true" default="AAC" />
<setting label="30163" id="audioBitrate" type="enum" values="96|128|160|192|256|320|384" visible="true" default="4" />
<setting label="30164" id="audioMaxChannels" type="slider" range="2,1,6" option="int" visible="true" default="6" />