File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11# Copy this file to ~/folk-live/setup.folk and edit it to make
22# changes.
33
4- Assert $this wishes $::thisNode uses camera "/dev/video0" with width 1280 height 720 bufferCount 4
4+ Assert $this wishes $::thisNode uses camera "/dev/video0" with width 1280 height 720
55
6- Assert $this wishes $::thisNode uses display 0 with swapchainPadding 1
6+ Assert $this wishes $::thisNode uses display 0
Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ When /someone/ wishes $::thisNode uses camera /cameraPath/ with /...options/ {
301301
302302 set width [dict get $options width]
303303 set height [dict get $options height]
304- set bufferCount [dict_getdef $options bufferCount 4 ]
304+ set bufferCount [dict_getdef $options bufferCount 2 ]
305305
306306 if {[dict exists $options crop]} {
307307 set crop [dict get $options crop]
Original file line number Diff line number Diff line change @@ -1640,9 +1640,9 @@ Start-display-process {
16401640 Wish $::thisProcess shares statements like \
16411641 [list /someone/ has error /err/ with info /errorInfo/]
16421642
1643- # for backwards compatibility
1643+ # If swapchain padding isn't indicated, default to this
16441644 When /someone/ wishes $::thisNode uses display /displayIdx/ {
1645- Wish $::thisNode uses display $displayIdx with swapchainPadding 1
1645+ Wish $::thisNode uses display $displayIdx with swapchainPadding 0
16461646 }
16471647
16481648 When /someone/ wishes $::thisNode uses display /displayIdx/ with /...options/ {
You can’t perform that action at this time.
0 commit comments