mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-05-07 08:54:53 +00:00
waylandsink: remove unused functions
This commit is contained in:
parent
2f45d91ccd
commit
87949dcb07
4 changed files with 0 additions and 31 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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__ */
|
||||
|
|
Loading…
Reference in a new issue