diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2014-05-26 11:34:51 +0300 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2014-06-17 13:51:27 +0200 |
commit | 39c5a9ce13a1f2d8156903e1376396c2c8cf5671 (patch) | |
tree | 09d430fa4b62a60795884e4f84a5e64b712dffd9 /gst-libs/gst/wayland | |
parent | 07f671fcaf4d2956cba920fe19ce394607ec10e0 (diff) | |
download | gstreamer-plugins-bad-39c5a9ce13a1f2d8156903e1376396c2c8cf5671.tar.gz |
wayland: remove gst_wayland_video_set_surface_size()
Not needed anymore, since we use gst_video_overlay_set_render_rectangle()
Diffstat (limited to 'gst-libs/gst/wayland')
-rw-r--r-- | gst-libs/gst/wayland/wayland.c | 23 | ||||
-rw-r--r-- | gst-libs/gst/wayland/wayland.h | 5 |
2 files changed, 0 insertions, 28 deletions
diff --git a/gst-libs/gst/wayland/wayland.c b/gst-libs/gst/wayland/wayland.c index 81c673fc9..4a04b753a 100644 --- a/gst-libs/gst/wayland/wayland.c +++ b/gst-libs/gst/wayland/wayland.c @@ -73,29 +73,6 @@ gst_wayland_video_default_init (GstWaylandVideoInterface * klass) } /** - * gst_wayland_video_set_surface_size: - * - * This tells the video sink to change the size of its drawing - * surface. The caller must call gst_wayland_video_pause_rendering - * before calling this method and gst_wayland_video_resume_rendering - * later, on the next redraw request. - */ -void -gst_wayland_video_set_surface_size (GstWaylandVideo * video, gint w, gint h) -{ - GstWaylandVideoInterface *iface; - - g_return_if_fail (video != NULL); - g_return_if_fail (GST_IS_WAYLAND_VIDEO (video)); - - iface = GST_WAYLAND_VIDEO_GET_INTERFACE (video); - - if (iface->set_surface_size) { - iface->set_surface_size (video, w, h); - } -} - -/** * gst_wayland_video_pause_rendering: * * This tells the video sink to stop rendering on the surface, diff --git a/gst-libs/gst/wayland/wayland.h b/gst-libs/gst/wayland/wayland.h index 49e57a741..ce1749cca 100644 --- a/gst-libs/gst/wayland/wayland.h +++ b/gst-libs/gst/wayland/wayland.h @@ -65,7 +65,6 @@ struct _GstWaylandVideoInterface { GTypeInterface iface; /* virtual functions */ - void (*set_surface_size) (GstWaylandVideo *video, gint w, gint h); void (*pause_rendering) (GstWaylandVideo *video); void (*resume_rendering) (GstWaylandVideo *video); }; @@ -73,10 +72,6 @@ struct _GstWaylandVideoInterface { GType gst_wayland_video_get_type (void); /* virtual function wrappers */ - -void gst_wayland_video_set_surface_size (GstWaylandVideo * video, - gint w, gint h); - void gst_wayland_video_pause_rendering (GstWaylandVideo * video); void gst_wayland_video_resume_rendering (GstWaylandVideo * video); |