mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
wayland: remove gst_wayland_video_set_surface_size()
Not needed anymore, since we use gst_video_overlay_set_render_rectangle()
This commit is contained in:
parent
07f671fcaf
commit
39c5a9ce13
2 changed files with 0 additions and 28 deletions
|
@ -72,29 +72,6 @@ gst_wayland_video_default_init (GstWaylandVideoInterface * klass)
|
|||
(void) 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:
|
||||
*
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue