diff options
author | Dave Rice <dave@dericed.com> | 2018-10-02 00:17:24 +0300 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2018-10-23 20:42:32 +0300 |
commit | 110b4a491859e6e635f6513670785a9378c9551b (patch) | |
tree | 96c855fccaf437beefcba950433f3ea382217445 /libavdevice/version.h | |
parent | 3f2103ec73c96d530b0516869363ad9ea730c909 (diff) |
avdevice/sdl2: add option to set window position
Allows arrangement of multiple windows such as:
ffmpeg -re -f lavfi -i mandelbrot -f sdl -window_x 1 -window_y 1 mandelbrot -vf waveform,format=yuv420p -f sdl -window_x 641 -window_y 1 waveform -vf vectorscope,format=yuv420p -f sdl -window_x 1 -window_y 481 vectorscop
Some changes by Marton Balint:
- allow negative position (partially or fully out-of-screen positions seem to
be sanitized automatically by SDL (or my WM?), so no special handling is
needed)
- only show window after the position is set
- do not use resizable and borderless flags at the same time, that caused
issues in ffplay
- add docs
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/version.h')
-rw-r--r-- | libavdevice/version.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/version.h b/libavdevice/version.h index e6ee009cc4..c35c98aedb 100644 --- a/libavdevice/version.h +++ b/libavdevice/version.h @@ -29,7 +29,7 @@ #define LIBAVDEVICE_VERSION_MAJOR 58 #define LIBAVDEVICE_VERSION_MINOR 4 -#define LIBAVDEVICE_VERSION_MICRO 105 +#define LIBAVDEVICE_VERSION_MICRO 106 #define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \ LIBAVDEVICE_VERSION_MINOR, \ |