summaryrefslogtreecommitdiff
path: root/libavdevice/sdl2.c
Commit message (Collapse)AuthorAgeFilesLines
* avformat/avformat: Move AVOutputFormat internals out of public headerAndreas Rheinhardt2023-02-091-7/+8
| | | | | | | | | | | | | | This commit does for AVOutputFormat what commit 20f972701806be20a77f808db332d9489343bb78 did for AVCodec: It adds a new type FFOutputFormat, moves all the internals of AVOutputFormat to it and adds a now reduced AVOutputFormat as first member. This does not affect/improve extensibility of both public or private fields for muxers (it is still a mess due to lavd). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avdevice: Constify all devicesAndreas Rheinhardt2021-04-271-1/+1
| | | | | | | This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avdevice/sdl2: add option to set window positionDave Rice2018-10-231-4/+8
| | | | | | | | | | | | | | | | 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>
* avdevice/sdl2 : add option to define if the window quit action is availableMartin Vignali2018-05-191-1/+3
|
* avdevice/sdl2output : fix setting window_sizeMartin Vignali2018-05-191-4/+2
|
* avdevice: migrate to AVFormatContext->urlMarton Balint2018-01-281-1/+1
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* lavd/sdl2: add sdl aliasJosh de Kock2016-09-251-1/+1
| | | | This commit also adds an sdl alias for the configure script.
* lavd/sdl2: remove unused codeJosh de Kock2016-09-251-22/+5
|
* lavd/sdl2: Fix 32bit rgb formats on little-endian hardware.Carl Eugen Hoyos2016-09-241-8/+13
|
* lavd/sdl2: Move unsupported formats SDL_PIXELFORMAT_xxx888 updwards.Carl Eugen Hoyos2016-09-241-2/+2
| | | | There is a paragraph for unsupported SDL formats.
* lavd: Add SDL2 output deviceJosh de Kock2016-09-241-0/+377
Acked-by: Michael Niedermayer Signed-off-by: Josh de Kock <josh@itanimul.li>