1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +02:00
Dave Rice 110b4a4918 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>
2018-10-23 19:42:32 +02:00
..
2016-10-21 23:58:47 +02:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-10-23 11:12:41 +02:00
2018-10-13 15:40:08 +02:00
2018-01-06 18:31:37 +00:00
2017-02-03 15:03:44 +01:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2017-10-03 15:25:07 -08:00
2016-03-28 14:13:17 -08:00
2016-05-04 18:16:21 +02:00
2016-10-03 00:16:27 +01:00
2016-10-03 00:16:27 +01:00