mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-11 11:51:34 +00:00
d3d11videosink: Fix typo
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5532>
This commit is contained in:
parent
b7c49f8e9f
commit
0b45548f18
1 changed files with 5 additions and 5 deletions
|
@ -104,7 +104,7 @@ static void gst_d3d11_window_set_property (GObject * object, guint prop_id,
|
|||
static void gst_d3d11_window_get_property (GObject * object, guint prop_id,
|
||||
GValue * value, GParamSpec * pspec);
|
||||
static void gst_d3d11_window_dispose (GObject * object);
|
||||
static GstFlowReturn gst_d3d111_window_present (GstD3D11Window * self,
|
||||
static GstFlowReturn gst_d3d11_window_present (GstD3D11Window * self,
|
||||
GstBuffer * buffer, GstBuffer * render_target);
|
||||
static void gst_d3d11_window_on_resize_default (GstD3D11Window * window,
|
||||
guint width, guint height);
|
||||
|
@ -400,7 +400,7 @@ gst_d3d11_window_on_resize_default (GstD3D11Window * self, guint width,
|
|||
|
||||
/* redraw the last scene if cached buffer exits */
|
||||
if (self->cached_buffer)
|
||||
gst_d3d111_window_present (self, self->cached_buffer, self->backbuffer);
|
||||
gst_d3d11_window_present (self, self->cached_buffer, self->backbuffer);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -848,7 +848,7 @@ gst_d3d11_window_set_title (GstD3D11Window * window, const gchar * title)
|
|||
}
|
||||
|
||||
static GstFlowReturn
|
||||
gst_d3d111_window_present (GstD3D11Window * self, GstBuffer * buffer,
|
||||
gst_d3d11_window_present (GstD3D11Window * self, GstBuffer * buffer,
|
||||
GstBuffer * backbuffer)
|
||||
{
|
||||
GstD3D11WindowClass *klass = GST_D3D11_WINDOW_GET_CLASS (self);
|
||||
|
@ -962,7 +962,7 @@ gst_d3d11_window_render (GstD3D11Window * window, GstBuffer * buffer)
|
|||
if (buffer)
|
||||
gst_buffer_replace (&window->cached_buffer, buffer);
|
||||
|
||||
return gst_d3d111_window_present (window, window->cached_buffer,
|
||||
return gst_d3d11_window_present (window, window->cached_buffer,
|
||||
window->backbuffer);
|
||||
}
|
||||
|
||||
|
@ -993,7 +993,7 @@ gst_d3d11_window_render_on_shared_handle (GstD3D11Window * window,
|
|||
return GST_FLOW_OK;
|
||||
}
|
||||
|
||||
ret = gst_d3d111_window_present (window, buffer, data.render_target);
|
||||
ret = gst_d3d11_window_present (window, buffer, data.render_target);
|
||||
|
||||
klass->release_shared_handle (window, &data);
|
||||
|
||||
|
|
Loading…
Reference in a new issue