diff options
author | Dave Rice <dave@dericed.com> | 2018-10-01 17:17:24 -0400 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2018-10-23 19:42:32 +0200 |
commit | 110b4a491859e6e635f6513670785a9378c9551b (patch) | |
tree | 96c855fccaf437beefcba950433f3ea382217445 /tests/utils.c | |
parent | 3f2103ec73c96d530b0516869363ad9ea730c909 (diff) | |
download | ffmpeg-110b4a491859e6e635f6513670785a9378c9551b.tar.gz |
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 'tests/utils.c')
0 files changed, 0 insertions, 0 deletions