]> git.sesse.net Git - vlc/blobdiff - modules/video_output/ios2.m
sftp: change item b_net
[vlc] / modules / video_output / ios2.m
index 3efeb1207b2dab0d43bc418c18a8b4de88317341..5039febecbe797d5697088ea2591a6434cdebedc 100644 (file)
@@ -161,7 +161,6 @@ static int Open(vlc_object_t *this)
     /* add tap gesture recognizer for DVD menus and stuff */
     sys->tapRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:sys->glESView
                                                                  action:@selector(tapRecognized:)];
-    sys->tapRecognizer.numberOfTapsRequired = 2;
     if (sys->viewContainer.window) {
         if (sys->viewContainer.window.rootViewController) {
             if (sys->viewContainer.window.rootViewController.view)
@@ -233,7 +232,7 @@ void Close (vlc_object_t *this)
     vout_display_sys_t *sys = vd->sys;
 
     if (sys->tapRecognizer) {
-        [sys->glESView removeGestureRecognizer:sys->tapRecognizer];
+        [sys->tapRecognizer.view removeGestureRecognizer:sys->tapRecognizer];
         [sys->tapRecognizer release];
     }
 
@@ -316,7 +315,7 @@ static int Control(vout_display_t *vd, int query, va_list ap)
         }
 
         case VOUT_DISPLAY_RESET_PICTURES:
-            assert (0);
+            vlc_assert_unreachable ();
         default:
             msg_Err(vd, "Unknown request %d", query);
         case VOUT_DISPLAY_CHANGE_FULLSCREEN: