Hinweis angepasst

This commit is contained in:
livecam 2020-08-14 13:37:50 +02:00
parent 2453892afe
commit c742164408
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ export DISPLAY=:0
GSTPID=$!
while true; do
# rename window (FIXME: possible race condition with window for cam 2)
# rename window (FIXME: using different players is a nasty hack)
GSTXID="$(wmctrl -l | grep "OpenGL renderer" | cut -d" " -f1)" >/dev/null 2>&1
wmctrl -i -r "$GSTXID" -e 0,2000,0,1000,1000 >/dev/null 2>&1
wmctrl -i -r "$GSTXID" -b add,fullscreen >/dev/null 2>&1
@ -68,7 +68,7 @@ PIDS="$PIDS $!"
GSTPID=$!
while true; do
# rename window (FIXME: possible race condition with window for cam 2)
# rename window (FIXME: using different players is a nasty hack)
GSTXID="$(wmctrl -l | grep "gst-launch-1.0" | cut -d" " -f1)" >/dev/null 2>&1
wmctrl -i -r "$GSTXID" -e 0,0,0,1000,1000 >/dev/null 2>&1
wmctrl -i -r "$GSTXID" -b add,fullscreen >/dev/null 2>&1