[FFmpeg-devel] [PATCH] lavd/sdl: allow to change window size

Stefano Sabatini stefasab at gmail.com
Tue Nov 26 18:22:44 CET 2013


On date Monday 2013-11-25 13:37:51 +0100, Stefano Sabatini encoded:
> ---
>  libavdevice/sdl.c | 21 ++++++++++++++++++---
>  1 file changed, 18 insertions(+), 3 deletions(-)
> 
> diff --git a/libavdevice/sdl.c b/libavdevice/sdl.c
> index 47b8ef5..ae66925 100644
> --- a/libavdevice/sdl.c
> +++ b/libavdevice/sdl.c
> @@ -124,11 +124,13 @@ static void compute_overlay_rect(AVFormatContext *s)
>      overlay_rect->y = (sdl->window_height - overlay_rect->h) / 2;
>  }

Applied with various fixes.
-- 
FFmpeg = Fundamental Frightening Multipurpose Patchable Enhanced Generator


More information about the ffmpeg-devel mailing list