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:
parent
0c923456eb
commit
99e3c1c47e
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user