On date Thursday 2011-05-26 21:27:33 +0200, Anton Khirnov encoded:
> ---
> libavdevice/x11grab.c | 48 +++++++++++++++++++++++++++++++++++++++---------
> 1 files changed, 39 insertions(+), 9 deletions(-)
[...]
> +#define OFFSET(x) offsetof(struct x11_grab, x)
> +#define DEC AV_OPT_FLAG_DECODING_PARAM
> +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 },
Note: we could fetch the X11 size and maybe apply some eval magic for
getting more control on the grabbed area.XS
--
I have that old biological urge,
I have that old irresistible surge,
I'm hungry.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel