On Fri, Feb 20, 2015 at 4:46 PM, Luca Barbato <[email protected]> wrote: > On 15/02/15 16:33, Luca Barbato wrote: >> >> Incidentally `-y` also collide with avconv global options. >> >> CC: [email protected] >> --- >> libavdevice/xcbgrab.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/libavdevice/xcbgrab.c b/libavdevice/xcbgrab.c >> index 7e9f258..032bbcc 100644 >> --- a/libavdevice/xcbgrab.c >> +++ b/libavdevice/xcbgrab.c >> @@ -77,6 +77,8 @@ typedef struct XCBGrabContext { >> static const AVOption options[] = { >> { "x", "Initial x coordinate.", OFFSET(x), AV_OPT_TYPE_INT, { .i64 = >> 0 }, 0, INT_MAX, D }, >> { "y", "Initial y coordinate.", OFFSET(y), AV_OPT_TYPE_INT, { .i64 = >> 0 }, 0, INT_MAX, D }, >> + { "grab_x", "Initial x coordinate.", OFFSET(x), AV_OPT_TYPE_INT, { >> .i64 = 0 }, 0, INT_MAX, D }, >> + { "grab_y", "Initial y coordinate.", OFFSET(y), AV_OPT_TYPE_INT, { >> .i64 = 0 }, 0, INT_MAX, D }, >> { "video_size", "A string describing frame size, such as 640x480 or >> hd720.", OFFSET(video_size), AV_OPT_TYPE_STRING, {.str = "vga" }, 0, 0, D }, >> { "framerate", "", OFFSET(framerate), AV_OPT_TYPE_STRING, {.str = >> "ntsc" }, 0, 0, D }, >> { "draw_mouse", "Draw the mouse pointer.", OFFSET(draw_mouse), >> AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, D }, >> > > Ping, and I'll update the documentation accordingly. > > lu
ok -- Vittorio _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
