diff --git a/ext/wayland/wlvideoformat.c b/ext/wayland/wlvideoformat.c index 48f9fe504c..f2166f9340 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 d5ddd627d5..b203f9b6a0 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 b79c01aad5..992c7009e3 100644 --- a/ext/wayland/wlwindow.c +++ b/ext/wayland/wlwindow.c @@ -166,18 +166,6 @@ gst_wl_window_is_toplevel (GstWlWindow * window) return (window->shell_surface != NULL); } -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) { diff --git a/ext/wayland/wlwindow.h b/ext/wayland/wlwindow.h index 51461e4c87..72a9e84636 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__ */