[vlc-commits] vout/control: remove unused PushTime()
Rémi Denis-Courmont
git at videolan.org
Sun Jan 27 22:10:09 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan 27 19:27:32 2019 +0200| [df872e9e59312e3b99901f824f875e912ad6d574] | committer: Rémi Denis-Courmont
vout/control: remove unused PushTime()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df872e9e59312e3b99901f824f875e912ad6d574
---
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 d3bc3666a7..c9233dcf56 100644
--- a/src/video_output/control.c
+++ b/src/video_output/control.c
@@ -137,14 +137,6 @@ void vout_control_PushInteger(vout_control_t *ctrl, int type, int integer)
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;
-
- vout_control_cmd_Init(&cmd, type);
- cmd.time = time;
- 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 9c7f5384e1..fcccc53d2a 100644
--- a/src/video_output/control.h
+++ b/src/video_output/control.h
@@ -59,7 +59,6 @@ typedef struct {
union {
bool boolean;
- vlc_tick_t time;
vlc_tick_t *time_ptr;
char *string;
int integer;
@@ -113,7 +112,6 @@ 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);
void vout_control_Wake(vout_control_t *);
More information about the vlc-commits
mailing list