1
mirror of https://code.videolan.org/videolan/vlc synced 2024-07-25 09:41:30 +02:00

vout: opengl: set viewpoint failure non fatal

prevents infinite loop
This commit is contained in:
Francois Cartegnie 2022-12-13 16:11:08 +01:00 committed by Jean-Baptiste Kempf
parent 0c923456eb
commit 99e3c1c47e

View File

@ -248,7 +248,7 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
if (fmt->projection_mode != PROJECTION_MODE_RECTANGULAR
&& vout_display_opengl_SetViewpoint(vgl, viewpoint) != VLC_SUCCESS)
goto delete_sub_renderer;
msg_Err(gl, "Could not set viewpoint");
/* Forward to the core the changes to the input format requested by the
* interop */