修复HDMI采集右键修改画质后WEB不更新显示状态的BUG

This commit is contained in:
fangxiang 2022-11-01 09:55:02 +08:00
parent 2b421b8262
commit 0032e8c17c
1 changed files with 5 additions and 1 deletions

View File

@ -428,7 +428,11 @@ export default defineComponent({
}); });
} }
}, },
updateContextMenu() {}, updateContextMenu() {
lossy_pic.value =
GlobalData.getInstance().applicationConfig?.hdmi_in_decode_type_1 ==
"NV12";
},
async setHdmiInDecodeType(index: number, type: string) { async setHdmiInDecodeType(index: number, type: string) {
let success = false; let success = false;