[vlc-commits] Wayland/screen: remove useless callbacks
Rémi Denis-Courmont
git at videolan.org
Thu Oct 16 19:26:15 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Oct 16 20:00:52 2014 +0300| [0fd8c3bbe595a7538810238a4505711a86f1be52] | committer: Rémi Denis-Courmont
Wayland/screen: remove useless callbacks
Those two callbacks only exist in wl_output version 2. VLC uses
version 1 only so far.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0fd8c3bbe595a7538810238a4505711a86f1be52
---
modules/access/screen/wayland.c | 19 ++-----------------
1 file changed, 2 insertions(+), 17 deletions(-)
diff --git a/modules/access/screen/wayland.c b/modules/access/screen/wayland.c
index ec6648e..adc6acc 100644
--- a/modules/access/screen/wayland.c
+++ b/modules/access/screen/wayland.c
@@ -145,27 +145,12 @@ static void output_mode_cb(void *data, struct wl_output *output,
(void) output;
}
-static void output_done_cb(void *data, struct wl_output *output)
-{
- demux_t *demux = data;
-
- (void) demux; (void) output;
-}
-
-static void output_scale_cb(void *data, struct wl_output *output,
- int32_t factor)
-{
- demux_t *demux = data;
-
- (void) demux; (void) output; (void) factor;
-}
-
const struct wl_output_listener output_cbs =
{
output_geometry_cb,
output_mode_cb,
- output_done_cb,
- output_scale_cb,
+ NULL,
+ NULL,
};
static void screenshooter_done_cb(void *data,
More information about the vlc-commits
mailing list