[vlc-devel] [PATCH 3/3] control: remove unused PushInteger()
RĂ©mi Denis-Courmont
remi at remlab.net
Sun Jan 27 15:41:22 CET 2019
---
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 946f470872..cdc1663986 100644
--- a/src/video_output/control.c
+++ b/src/video_output/control.c
@@ -125,14 +125,6 @@ void vout_control_PushBool(vout_control_t *ctrl, int type, bool boolean)
cmd.boolean = boolean;
vout_control_Push(ctrl, &cmd);
}
-void vout_control_PushInteger(vout_control_t *ctrl, int type, int integer)
-{
- vout_control_cmd_t cmd;
-
- vout_control_cmd_Init(&cmd, type);
- cmd.integer = integer;
- vout_control_Push(ctrl, &cmd);
-}
void vout_control_PushTime(vout_control_t *ctrl, int type, vlc_tick_t time)
{
vout_control_cmd_t cmd;
diff --git a/src/video_output/control.h b/src/video_output/control.h
index 28174ad4cc..29453b5360 100644
--- a/src/video_output/control.h
+++ b/src/video_output/control.h
@@ -64,7 +64,6 @@ typedef struct {
vlc_tick_t time;
vlc_tick_t *time_ptr;
char *string;
- int integer;
struct {
int a;
int b;
@@ -116,7 +115,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_PushInteger(vout_control_t *, int type, int integer);
void vout_control_PushTime(vout_control_t *, int type, vlc_tick_t time);
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);
--
2.20.1
More information about the vlc-devel
mailing list