[vlc-commits] vout/control: remove dead code
Rémi Denis-Courmont
git at videolan.org
Fri Jun 14 05:31:24 CEST 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jun 12 19:46:30 2019 +0300| [4e2253440c6332179092af05d708a52fd6b82815] | committer: Rémi Denis-Courmont
vout/control: remove dead code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4e2253440c6332179092af05d708a52fd6b82815
---
src/video_output/control.c | 8 --------
src/video_output/control.h | 5 -----
2 files changed, 13 deletions(-)
diff --git a/src/video_output/control.c b/src/video_output/control.c
index 84bcc31869..e456f19869 100644
--- a/src/video_output/control.c
+++ b/src/video_output/control.c
@@ -114,15 +114,7 @@ void vout_control_PushBool(vout_control_t *ctrl, int type, bool boolean)
cmd.boolean = boolean;
vout_control_Push(ctrl, &cmd);
}
-void vout_control_PushPair(vout_control_t *ctrl, int type, int a, int b)
-{
- vout_control_cmd_t cmd;
- vout_control_cmd_Init(&cmd, type);
- cmd.pair.a = a;
- cmd.pair.b = b;
- vout_control_Push(ctrl, &cmd);
-}
void vout_control_PushString(vout_control_t *ctrl, int type, const char *string)
{
vout_control_cmd_t cmd;
diff --git a/src/video_output/control.h b/src/video_output/control.h
index d24784bd6a..5eaf766bbb 100644
--- a/src/video_output/control.h
+++ b/src/video_output/control.h
@@ -45,10 +45,6 @@ typedef struct {
bool boolean;
char *string;
struct {
- int a;
- int b;
- } pair;
- struct {
unsigned left;
unsigned top;
unsigned right;
@@ -99,7 +95,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_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 *);
void vout_control_Hold(vout_control_t *);
More information about the vlc-commits
mailing list