---
libavdevice/x11grab.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavdevice/x11grab.c b/libavdevice/x11grab.c
index 6e77a5c..deeae8a 100644
--- a/libavdevice/x11grab.c
+++ b/libavdevice/x11grab.c
@@ -104,7 +104,6 @@ x11grab_read_header(AVFormatContext *s1, AVFormatParameters
*ap)
offset = strchr(param, '+');
if (offset) {
sscanf(offset, "%d,%d", &x_off, &y_off);
- x11grab->nomouse= strstr(offset, "nomouse");
*offset= 0;
}
@@ -466,6 +465,7 @@ x11grab_read_close(AVFormatContext *s1)
static const AVOption options[] = {
{ "video_size", "A string describing frame size, such as 640x480 or
hd720.", OFFSET(video_size), FF_OPT_TYPE_STRING, {.str = "vga"}, 0, 0, DEC },
{ "framerate", "", OFFSET(framerate), FF_OPT_TYPE_STRING, {.str = "ntsc"},
0, 0, DEC },
+ { "nomouse", "Do not draw the mouse pointer.\n", OFFSET(nomouse),
FF_OPT_TYPE_INT, { 0 }, 0, 1, DEC },
{ NULL },
};
--
1.7.5.3
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel