Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit a005624

Browse files
committed
Fixed that setting the cursor visibility didn't work.
'-draw_mouse' is an input option, so it has to go before the -i argument, otherwise it won't work.
1 parent 7f84f74 commit a005624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

video-rec/bin/start-video-rec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ fi
4949
# avconv or ffmpeg
5050
ffmpeg -f x11grab \
5151
-s ${FFMPEG_FRAME_SIZE} \
52-
-i "${DISPLAY}.0" \
5352
-draw_mouse ${FFMPEG_DRAW_MOUSE} \
53+
-i "${DISPLAY}.0" \
5454
${FFMPEG_CODEC_ARGS} \
5555
-r ${FFMPEG_FRAME_RATE} \
5656
-y -an "${tmp_video_path}" 2>&1 &

0 commit comments

Comments
 (0)