waylandsink: remove unused functions
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Thu, 13 Mar 2014 11:13:08 +0000 (13:13 +0200)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Tue, 17 Jun 2014 11:51:26 +0000 (13:51 +0200)
ext/wayland/wlvideoformat.c
ext/wayland/wlvideoformat.h
ext/wayland/wlwindow.c
ext/wayland/wlwindow.h

index 48f9fe5..f2166f9 100644 (file)
@@ -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);
-}
index d5ddd62..b203f9b 100644 (file)
@@ -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
index b79c01a..992c700 100644 (file)
@@ -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);
index 51461e4..72a9e84 100644 (file)
@@ -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__ */