[FFmpeg-devel] [PATCH v4 1/3] lavd: Add SDL2 output device

Moritz Barsnick barsnick at gmx.net
Mon Sep 12 00:09:52 EEST 2016


On Sun, Sep 11, 2016 at 21:46:58 +0100, Josh de Kock wrote:
> +    { "window_fullscreen", "set SDL window fullscreen", OFFSET(window_fullscreen), AV_OPT_TYPE_BOOL, { .i64 = 0 }, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM },
> +    { "window_borderless", "set SDL window border off", OFFSET(window_borderless), AV_OPT_TYPE_BOOL, { .i64 = 0 }, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM },

Limits should be 0, 1. (It might accept anything, and I do see cases for "-1"
as "auto", but 0 and 1 really make sense here.)

Moritz


More information about the ffmpeg-devel mailing list