[vlc-commits] video_output: remove unused support boolean in control calls

Steve Lhomme git at videolan.org
Tue Sep 15 12:24:46 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Sep 14 14:35:12 2020 +0200| [20646d056e92bd588024b42d7200219b312d932c] | committer: Steve Lhomme

video_output: remove unused support boolean in control calls

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

 src/video_output/control.c | 8 --------
 src/video_output/control.h | 2 --
 2 files changed, 10 deletions(-)

diff --git a/src/video_output/control.c b/src/video_output/control.c
index af1a714dc4..3b7fabb07e 100644
--- a/src/video_output/control.c
+++ b/src/video_output/control.c
@@ -88,14 +88,6 @@ void vout_control_PushVoid(vout_control_t *ctrl, int type)
     vout_control_cmd_Init(&cmd, type);
     vout_control_Push(ctrl, &cmd);
 }
-void vout_control_PushBool(vout_control_t *ctrl, int type, bool boolean)
-{
-    vout_control_cmd_t cmd;
-
-    vout_control_cmd_Init(&cmd, type);
-    cmd.boolean = boolean;
-    vout_control_Push(ctrl, &cmd);
-}
 
 void vout_control_Hold(vout_control_t *ctrl)
 {
diff --git a/src/video_output/control.h b/src/video_output/control.h
index 91819d0b32..5d84db34d1 100644
--- a/src/video_output/control.h
+++ b/src/video_output/control.h
@@ -36,7 +36,6 @@ typedef struct {
     int type;
 
     union {
-        bool    boolean;
         vlc_mouse_t mouse;
     };
 } vout_control_cmd_t;
@@ -65,7 +64,6 @@ void vout_control_WaitEmpty(vout_control_t *);
 
 void vout_control_Push(vout_control_t *, vout_control_cmd_t *);
 void vout_control_PushVoid(vout_control_t *, int type);
-void vout_control_PushBool(vout_control_t *, int type, bool boolean);
 void vout_control_Wake(vout_control_t *);
 void vout_control_Hold(vout_control_t *);
 void vout_control_Release(vout_control_t *);



More information about the vlc-commits mailing list