[vlc-commits] vout/control: remove unused message control type

Rémi Denis-Courmont git at videolan.org
Tue Aug 28 15:44:53 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 13 12:21:26 2018 +0300| [92a1927d19b3b816b2ea9f6c71fcad632f80d419] | committer: Rémi Denis-Courmont

vout/control: remove unused message control type

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

 src/video_output/control.c | 9 ---------
 src/video_output/control.h | 5 -----
 2 files changed, 14 deletions(-)

diff --git a/src/video_output/control.c b/src/video_output/control.c
index b67ee7fec7..86e2277075 100644
--- a/src/video_output/control.c
+++ b/src/video_output/control.c
@@ -146,15 +146,6 @@ void vout_control_PushTime(vout_control_t *ctrl, int type, vlc_tick_t time)
     cmd.time = time;
     vout_control_Push(ctrl, &cmd);
 }
-void vout_control_PushMessage(vout_control_t *ctrl, int type, int channel, const char *string)
-{
-    vout_control_cmd_t cmd;
-
-    vout_control_cmd_Init(&cmd, type);
-    cmd.message.channel = channel;
-    cmd.message.string = strdup(string);
-    vout_control_Push(ctrl, &cmd);
-}
 void vout_control_PushPair(vout_control_t *ctrl, int type, int a, int b)
 {
     vout_control_cmd_t cmd;
diff --git a/src/video_output/control.h b/src/video_output/control.h
index 9be9f64b3e..ddb3b1ad99 100644
--- a/src/video_output/control.h
+++ b/src/video_output/control.h
@@ -76,10 +76,6 @@ typedef struct {
             vlc_tick_t date;
         } pause;
         struct {
-            int channel;
-            char *string;
-        } message;
-        struct {
             unsigned left;
             unsigned top;
             unsigned right;
@@ -125,7 +121,6 @@ void vout_control_PushVoid(vout_control_t *, int type);
 void vout_control_PushBool(vout_control_t *, int type, bool boolean);
 void vout_control_PushInteger(vout_control_t *, int type, int integer);
 void vout_control_PushTime(vout_control_t *, int type, vlc_tick_t time);
-void vout_control_PushMessage(vout_control_t *, int type, int channel, const char *string);
 void vout_control_PushPair(vout_control_t *, int type, int a, int b);
 void vout_control_PushString(vout_control_t *, int type, const char *string);
 void vout_control_Wake(vout_control_t *);



More information about the vlc-commits mailing list