Skip to content
Snippets Groups Projects
Commit f5658601 authored by Romain Vimont's avatar Romain Vimont Committed by Alexandre Janniaux
Browse files

opengl: do not overwrite output size


The opengl filter output size is provided by the caller.

Signed-off-by: Alexandre Janniaux's avatarAlexandre Janniaux <ajanni@videolabs.io>
parent 199f3812
No related branches found
No related tags found
No related merge requests found
......@@ -171,13 +171,8 @@ static int Open( vlc_object_t *obj )
if (sys == NULL)
return VLC_ENOMEM;
unsigned width
= filter->fmt_out.video.i_visible_width
= filter->fmt_in.video.i_visible_width;
unsigned height
= filter->fmt_out.video.i_visible_height
= filter->fmt_in.video.i_visible_height;
unsigned width = filter->fmt_out.video.i_visible_width;
unsigned height = filter->fmt_out.video.i_visible_height;
// TODO: other than BGRA format ?
#ifdef USE_OPENGL_ES2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment