[vlc-commits] vout: do not send bogus fullscreen event

Rémi Denis-Courmont git at videolan.org
Tue Dec 20 00:16:18 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Dec 20 00:49:33 2016 +0200| [ef7a757bcbf0ab8c3b05df4c751d3ad46f34f3f1] | committer: Rémi Denis-Courmont

vout: do not send bogus fullscreen event

This had no effects: the core would send a fullscreen event back to the
display plugin, which would then ignore it.

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

 modules/codec/omxil/vout.c             | 3 ---
 modules/video_output/android/display.c | 3 ---
 modules/video_output/directfb.c        | 1 -
 modules/video_output/evas.c            | 3 ---
 modules/video_output/fb.c              | 1 -
 5 files changed, 11 deletions(-)

diff --git a/modules/codec/omxil/vout.c b/modules/codec/omxil/vout.c
index 4e923ad..3868343 100644
--- a/modules/codec/omxil/vout.c
+++ b/modules/codec/omxil/vout.c
@@ -329,9 +329,6 @@ static int Open(vlc_object_t *p_this)
         goto error;
     }
 
-    /* Fix initial state */
-    vout_display_SendEventFullscreen(vd, true);
-
     free(pictures);
     return VLC_SUCCESS;
 
diff --git a/modules/video_output/android/display.c b/modules/video_output/android/display.c
index d5bc65e..15db383 100644
--- a/modules/video_output/android/display.c
+++ b/modules/video_output/android/display.c
@@ -743,9 +743,6 @@ static int OpenCommon(vout_display_t *vd)
     vd->manage  = NULL;
     vd->info.is_slow = !sys->p_window->b_opaque;
 
-    /* Fix initial state */
-    vout_display_SendEventFullscreen(vd, true);
-
     return VLC_SUCCESS;
 
 error:
diff --git a/modules/video_output/directfb.c b/modules/video_output/directfb.c
index 26fa047..f5728f4 100644
--- a/modules/video_output/directfb.c
+++ b/modules/video_output/directfb.c
@@ -157,7 +157,6 @@ static int Open(vlc_object_t *object)
     vd->manage  = NULL;
 
     /* */
-    vout_display_SendEventFullscreen(vd, true);
     vout_display_SendEventDisplaySize(vd, fmt.i_width, fmt.i_height);
     return VLC_SUCCESS;
 
diff --git a/modules/video_output/evas.c b/modules/video_output/evas.c
index 9166d09..213fdf7 100644
--- a/modules/video_output/evas.c
+++ b/modules/video_output/evas.c
@@ -912,9 +912,6 @@ Open( vlc_object_t *p_this )
     vd->control = Control;
     vd->manage  = Manage;
 
-    /* Fix initial state */
-    vout_display_SendEventFullscreen( vd, true );
-
     return VLC_SUCCESS;
 }
 
diff --git a/modules/video_output/fb.c b/modules/video_output/fb.c
index cf6c2a7..de2c35c 100644
--- a/modules/video_output/fb.c
+++ b/modules/video_output/fb.c
@@ -313,7 +313,6 @@ static int Open(vlc_object_t *object)
     vd->manage  = NULL;
 
     /* */
-    vout_display_SendEventFullscreen(vd, true);
     vout_display_SendEventDisplaySize(vd, fmt.i_visible_width, fmt.i_visible_height);
     return VLC_SUCCESS;
 }



More information about the vlc-commits mailing list