summaryrefslogtreecommitdiff
path: root/ext/wayland
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2014-03-13 13:13:08 +0200
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2014-06-17 13:51:26 +0200
commit87949dcb0774218dfe1362e500d2c25ef84b7f2f (patch)
tree9e397bc7a3e1d158b032111ef555084b44bded0c /ext/wayland
parent2f45d91ccde515209ebb3f6ec9dd77e71167d25a (diff)
downloadgstreamer-plugins-bad-87949dcb0774218dfe1362e500d2c25ef84b7f2f.tar.gz
waylandsink: remove unused functions
Diffstat (limited to 'ext/wayland')
-rw-r--r--ext/wayland/wlvideoformat.c15
-rw-r--r--ext/wayland/wlvideoformat.h3
-rw-r--r--ext/wayland/wlwindow.c12
-rw-r--r--ext/wayland/wlwindow.h1
4 files changed, 0 insertions, 31 deletions
diff --git a/ext/wayland/wlvideoformat.c b/ext/wayland/wlvideoformat.c
index 48f9fe504..f2166f934 100644
--- a/ext/wayland/wlvideoformat.c
+++ b/ext/wayland/wlvideoformat.c
@@ -109,18 +109,3 @@ gst_wayland_format_to_string (enum wl_shm_format wl_format)
return gst_video_format_to_string
(gst_wayland_format_to_video_format (wl_format));
}
-
-gboolean
-gst_wayland_sink_format_from_caps (enum wl_shm_format * wl_format,
- GstCaps * caps)
-{
- GstVideoInfo info;
- GstVideoFormat fmt;
-
- gst_video_info_from_caps (&info, caps);
- fmt = GST_VIDEO_INFO_FORMAT (&info);
-
- *wl_format = gst_video_format_to_wayland_format (fmt);
-
- return (*wl_format != -1);
-}
diff --git a/ext/wayland/wlvideoformat.h b/ext/wayland/wlvideoformat.h
index d5ddd627d..b203f9b6a 100644
--- a/ext/wayland/wlvideoformat.h
+++ b/ext/wayland/wlvideoformat.h
@@ -32,7 +32,4 @@ GstVideoFormat gst_wayland_format_to_video_format (enum wl_shm_format wl_format)
const gchar *gst_wayland_format_to_string (enum wl_shm_format wl_format);
-gboolean gst_wayland_sink_format_from_caps (enum wl_shm_format * wl_format,
- GstCaps * caps);
-
#endif
diff --git a/ext/wayland/wlwindow.c b/ext/wayland/wlwindow.c
index b79c01aad..992c7009e 100644
--- a/ext/wayland/wlwindow.c
+++ b/ext/wayland/wlwindow.c
@@ -167,18 +167,6 @@ gst_wl_window_is_toplevel (GstWlWindow * window)
}
void
-gst_wl_window_get_size (GstWlWindow * window, gint * w, gint * h)
-{
- g_return_if_fail (window != NULL);
-
- if (w)
- *w = window->width;
-
- if (h)
- *h = window->height;
-}
-
-void
gst_wl_window_set_size (GstWlWindow * window, gint w, gint h)
{
g_return_if_fail (window != NULL);
diff --git a/ext/wayland/wlwindow.h b/ext/wayland/wlwindow.h
index 51461e4c8..72a9e8463 100644
--- a/ext/wayland/wlwindow.h
+++ b/ext/wayland/wlwindow.h
@@ -61,7 +61,6 @@ GstWlDisplay *gst_wl_window_get_display (GstWlWindow * window);
struct wl_surface *gst_wl_window_get_wl_surface (GstWlWindow * window);
gboolean gst_wl_window_is_toplevel (GstWlWindow *window);
-void gst_wl_window_get_size (GstWlWindow * window, gint * w, gint * h);
void gst_wl_window_set_size (GstWlWindow * window, gint w, gint h);
#endif /* __GST_WL_WINDOW_H__ */