- yWeb: correction in fbshot handling

This commit is contained in:
svenhoefer
2015-03-31 11:53:58 +02:00
parent c10b7077b8
commit a56e3fb1bd

View File

@@ -44,7 +44,7 @@ function do_snapshot() {
} }
if ("{=var-get:fbshot=}" != "" && enableVideo == 0) if ("{=var-get:fbshot=}" != "" && enableVideo == 0)
dbox_exec_tools("{=var-get:fbshot=} fb /tmp/"+filename+".png"); dbox_exec_tools("fbshot fb /tmp/"+filename+".png");
else else
loadSyncURL("/control/screenshot?name="+filename+"&osd="+enableOSD+"&video="+enableVideo); loadSyncURL("/control/screenshot?name="+filename+"&osd="+enableOSD+"&video="+enableVideo);