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
..
2017-03-19 16:08:27 +01:00
2018-04-05 22:08:53 +01:00
2018-04-02 02:16:14 +01:00
2016-04-10 20:59:55 +01:00
2017-04-23 14:35:08 +07:00
2018-01-28 23:06:43 +01:00
2017-11-27 14:05:28 +01:00
2018-04-19 23:44:33 +02:00
2018-03-31 23:26:31 +01:00
2018-03-31 23:26:31 +01:00
2018-09-14 00:27:44 +02:00
2018-01-28 23:06:43 +01:00
2018-01-28 23:06:43 +01:00
2018-09-30 21:09:12 +02:00
2018-10-20 01:57:08 +02:00
2018-09-23 18:55:29 +02:00
2018-09-30 21:09:12 +02:00
2018-09-30 21:09:12 +02:00
2017-10-10 20:07:25 +02:00
2018-09-09 21:21:42 +02:00
2018-09-09 22:42:26 +02:00
2017-10-10 20:07:25 +02:00
2016-06-23 03:18:16 +02:00
2016-03-28 13:31:38 -08:00
2015-11-06 09:36:57 -05:00
2016-08-20 12:06:50 +02:00
2015-07-31 18:30:03 +02:00
2018-09-19 18:14:40 +02:00
2015-07-11 12:25:03 +02:00
2018-01-28 23:06:43 +01:00
2018-01-28 23:06:43 +01:00
2018-01-28 23:06:43 +01:00
2018-04-18 22:45:09 -03:00
2015-10-16 17:28:40 -04:00
2018-01-28 23:06:43 +01:00
2018-03-26 22:39:12 +01:00
2018-04-02 03:26:22 +01:00
2016-06-27 17:56:47 +02:00
2018-01-28 23:06:43 +01:00
2017-08-18 19:20:15 +02:00
2017-08-27 18:07:50 +02:00
2018-01-28 23:06:43 +01:00
2018-01-28 23:06:43 +01:00
2018-02-22 00:29:27 +01:00
2018-01-28 23:06:43 +01:00
2016-01-31 15:44:11 -08:00
2018-01-28 23:06:43 +01:00
2018-01-28 23:06:43 +01:00
2018-01-28 23:06:43 +01:00
2017-11-11 16:19:50 -03:00
2015-04-09 21:36:42 +02:00
2015-10-22 19:03:50 -04:00
2018-09-14 22:12:54 +02:00
2018-01-28 23:06:43 +01:00
2017-07-20 00:33:29 -03:00
2018-10-23 19:42:32 +02:00
2018-01-28 23:06:43 +01:00
2018-01-28 23:06:43 +01:00
2015-04-09 21:36:42 +02:00
2015-04-09 21:36:42 +02:00
2016-05-11 19:13:03 +01:00
2015-01-11 18:58:26 +01:00
2018-05-10 22:40:57 +02:00
2017-03-22 17:55:18 +01:00
2018-01-28 23:06:43 +01:00
2018-06-18 16:26:23 -08:00
2018-10-23 19:42:32 +02:00
2018-04-18 20:26:44 +02:00
2018-01-28 23:06:43 +01:00
2018-01-28 23:06:43 +01:00