[vlc-commits] mmal vout: pictures reset is impossible

Rémi Denis-Courmont git at videolan.org
Sun Aug 6 20:10:29 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug  5 21:23:01 2017 +0300| [018014838387f559309a7d3252020793603697f3] | committer: Rémi Denis-Courmont

mmal vout: pictures reset is impossible

Assert that it does not happen, like with all or almost all other
non-resetting video outputs.

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

 modules/hw/mmal/vout.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/hw/mmal/vout.c b/modules/hw/mmal/vout.c
index 24a4cf73c3..94f3180b4d 100644
--- a/modules/hw/mmal/vout.c
+++ b/modules/hw/mmal/vout.c
@@ -635,9 +635,10 @@ static int vd_control(vout_display_t *vd, int query, va_list args)
                 ret = VLC_SUCCESS;
             break;
 
+        case VOUT_DISPLAY_RESET_PICTURES:
+            vlc_assert_unreachable();
         case VOUT_DISPLAY_CHANGE_FULLSCREEN:
         case VOUT_DISPLAY_CHANGE_ZOOM:
-        case VOUT_DISPLAY_RESET_PICTURES:
             msg_Warn(vd, "Unsupported control query %d", query);
             break;
 



More information about the vlc-commits mailing list