vlc | branch: master | Thomas Guillem <tho...@gllm.fr> | Thu Jul 13 15:21:01 
2017 +0200| [640dcf42062891b29bac1af72069528c241a19a1] | committer: Thomas 
Guillem

gl: vaapi: add missing breaks

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=640dcf42062891b29bac1af72069528c241a19a1
---

 modules/video_output/opengl/converter_vaapi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/video_output/opengl/converter_vaapi.c 
b/modules/video_output/opengl/converter_vaapi.c
index 5cd1de1303..e236de7f8b 100644
--- a/modules/video_output/opengl/converter_vaapi.c
+++ b/modules/video_output/opengl/converter_vaapi.c
@@ -400,12 +400,14 @@ opengl_tex_converter_vaapi_init(opengl_tex_converter_t 
*tc)
 
             ret = tc_vaegl_init(tc, vaGetDisplay(x11dpy), x11dpy,
                                 x11_native_destroy_cb);
+            break;
         }
 #endif
 #ifdef HAVE_VA_WL
         case VOUT_WINDOW_TYPE_WAYLAND:
             ret = tc_vaegl_init(tc, 
vaGetDisplayWl(tc->gl->surface->display.wl),
                                 NULL, NULL);
+            break;
 #endif
     }
 

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to