From 5e5bf1e4e1528b2f05fe038557ba70353ff1d2a6 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 8 Aug 2020 19:54:32 +0800 Subject: [PATCH] bugfix --- kivyblocks/newvideo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kivyblocks/newvideo.py b/kivyblocks/newvideo.py index 2a49ab2..1dba6ec 100644 --- a/kivyblocks/newvideo.py +++ b/kivyblocks/newvideo.py @@ -34,6 +34,7 @@ class NewVideo(Video): Window.bind(on_rotate=self.ctrl_fullscreen) def ctrl_fullscreen(self,*args): + print('newvideo(),crtl_fullscreen',args) if Window.width > Window.height: self.fullscreen = True else: @@ -48,6 +49,7 @@ class NewVideo(Video): x = self._video._ffplayer.request_channel('audio') def on_fullscreen(self, instance, value): + print('NewVideo::on_fullscreen(),value=', value) window = self.get_parent_window() if not window: Logger.warning('VideoPlayer: Cannot switch to fullscreen, '