• Dave Rice's avatar
    avdevice/sdl2: add option to set window position · 110b4a49
    Dave Rice authored
    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: 's avatarMarton Balint <cus@passwd.hu>
    110b4a49
Name
Last commit
Last update
..
tests Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
alldevices.c Loading commit data...
alsa.c Loading commit data...
alsa.h Loading commit data...
alsa_dec.c Loading commit data...
alsa_enc.c Loading commit data...
android_camera.c Loading commit data...
avdevice.c Loading commit data...
avdevice.h Loading commit data...
avdeviceres.rc Loading commit data...
avfoundation.m Loading commit data...
bktr.c Loading commit data...
caca.c Loading commit data...
decklink_common.cpp Loading commit data...
decklink_common.h Loading commit data...
decklink_common_c.h Loading commit data...
decklink_dec.cpp Loading commit data...
decklink_dec.h Loading commit data...
decklink_dec_c.c Loading commit data...
decklink_enc.cpp Loading commit data...
decklink_enc.h Loading commit data...
decklink_enc_c.c Loading commit data...
dshow.c Loading commit data...
dshow_capture.h Loading commit data...
dshow_common.c Loading commit data...
dshow_crossbar.c Loading commit data...
dshow_enummediatypes.c Loading commit data...
dshow_enumpins.c Loading commit data...
dshow_filter.c Loading commit data...
dshow_pin.c Loading commit data...
fbdev_common.c Loading commit data...
fbdev_common.h Loading commit data...
fbdev_dec.c Loading commit data...
fbdev_enc.c Loading commit data...
file_open.c Loading commit data...
gdigrab.c Loading commit data...
iec61883.c Loading commit data...
internal.h Loading commit data...
jack.c Loading commit data...
kmsgrab.c Loading commit data...
lavfi.c Loading commit data...
libavdevice.v Loading commit data...
libcdio.c Loading commit data...
libdc1394.c Loading commit data...
libndi_newtek_common.h Loading commit data...
libndi_newtek_dec.c Loading commit data...
libndi_newtek_enc.c Loading commit data...
openal-dec.c Loading commit data...
opengl_enc.c Loading commit data...
opengl_enc_shaders.h Loading commit data...
oss.c Loading commit data...
oss.h Loading commit data...
oss_dec.c Loading commit data...
oss_enc.c Loading commit data...
pulse_audio_common.c Loading commit data...
pulse_audio_common.h Loading commit data...
pulse_audio_dec.c Loading commit data...
pulse_audio_enc.c Loading commit data...
reverse.c Loading commit data...
sdl2.c Loading commit data...
sndio.c Loading commit data...
sndio.h Loading commit data...
sndio_dec.c Loading commit data...
sndio_enc.c Loading commit data...
timefilter.c Loading commit data...
timefilter.h Loading commit data...
utils.c Loading commit data...
v4l2-common.c Loading commit data...
v4l2-common.h Loading commit data...
v4l2.c Loading commit data...
v4l2enc.c Loading commit data...
version.h Loading commit data...
vfwcap.c Loading commit data...
xcbgrab.c Loading commit data...
xv.c Loading commit data...