vlc | branch: master | Romain Vimont <ro...@videolabs.io> | Mon Apr 12 17:58:56 2021 +0200| [f5658601f90d968bb66ab05b64311654e6362bc7] | committer: Alexandre Janniaux
opengl: do not overwrite output size The opengl filter output size is provided by the caller. Signed-off-by: Alexandre Janniaux <aja...@videolabs.io> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f5658601f90d968bb66ab05b64311654e6362bc7 --- modules/video_filter/opengl.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/modules/video_filter/opengl.c b/modules/video_filter/opengl.c index dab1645fa9..94dcc9b535 100644 --- a/modules/video_filter/opengl.c +++ b/modules/video_filter/opengl.c @@ -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 _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits