[vlc-commits] vout/ios: remove touch recognizer from attached view

Gleb Pinigin git at videolan.org
Tue Feb 3 10:41:37 CET 2015


vlc | branch: master | Gleb Pinigin <gpinigin at gmail.com> | Tue Feb  3 08:23:41 2015 +0600| [27e35fb480c8b6ddea56612f8c874c74aa642997] | committer: Felix Paul Kühne

vout/ios: remove touch recognizer from attached view

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

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

 modules/video_output/ios2.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/ios2.m b/modules/video_output/ios2.m
index a86be6b..fd2c835 100644
--- a/modules/video_output/ios2.m
+++ b/modules/video_output/ios2.m
@@ -233,7 +233,7 @@ void Close (vlc_object_t *this)
     vout_display_sys_t *sys = vd->sys;
 
     if (sys->longTouchRecognizer) {
-        [sys->glESView removeGestureRecognizer:sys->longTouchRecognizer];
+        [sys->longTouchRecognizer.view removeGestureRecognizer:sys->longTouchRecognizer];
         [sys->longTouchRecognizer release];
     }
 



More information about the vlc-commits mailing list