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

Gleb Pinigin git at videolan.org
Tue Feb 3 18:41:50 CET 2015


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

vout/ios: remove touch recognizer from attached view

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>
(cherry picked from commit 27e35fb480c8b6ddea56612f8c874c74aa642997)
Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=350bbece7aaeee08e8c9ceed2906ad71e60a0f40
---

 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 40bf994..e6274d5 100644
--- a/modules/video_output/ios2.m
+++ b/modules/video_output/ios2.m
@@ -231,7 +231,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