waylandsink: remove unused functions
This commit is contained in:
parent
2f45d91ccd
commit
87949dcb07
@ -109,18 +109,3 @@ gst_wayland_format_to_string (enum wl_shm_format wl_format)
|
|||||||
return gst_video_format_to_string
|
return gst_video_format_to_string
|
||||||
(gst_wayland_format_to_video_format (wl_format));
|
(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);
|
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
|
#endif
|
||||||
|
@ -166,18 +166,6 @@ gst_wl_window_is_toplevel (GstWlWindow * window)
|
|||||||
return (window->shell_surface != NULL);
|
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
|
void
|
||||||
gst_wl_window_set_size (GstWlWindow * window, gint w, gint h)
|
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);
|
struct wl_surface *gst_wl_window_get_wl_surface (GstWlWindow * window);
|
||||||
gboolean gst_wl_window_is_toplevel (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);
|
void gst_wl_window_set_size (GstWlWindow * window, gint w, gint h);
|
||||||
|
|
||||||
#endif /* __GST_WL_WINDOW_H__ */
|
#endif /* __GST_WL_WINDOW_H__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user