mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
Rename gst_vaapi_surface_update_composition() to
gst_vaapi_surface_set_subpictures_from_composition().
This commit is contained in:
parent
cbfd2aebcc
commit
a4244820af
4 changed files with 5 additions and 5 deletions
|
@ -799,7 +799,7 @@ gst_vaapi_surface_query_status(
|
|||
}
|
||||
|
||||
/**
|
||||
* gst_vaapi_surface_update_composition:
|
||||
* gst_vaapi_surface_set_subpictures_from_composition:
|
||||
* @surface: a #GstVaapiSurface
|
||||
* @compostion: a #GstVideoOverlayCompositon
|
||||
*
|
||||
|
@ -810,7 +810,7 @@ gst_vaapi_surface_query_status(
|
|||
* Return value: %TRUE on success
|
||||
*/
|
||||
gboolean
|
||||
gst_vaapi_surface_update_composition(
|
||||
gst_vaapi_surface_set_subpictures_from_composition(
|
||||
GstVaapiSurface *surface,
|
||||
GstVideoOverlayComposition *composition
|
||||
)
|
||||
|
|
|
@ -230,7 +230,7 @@ gst_vaapi_surface_query_status(
|
|||
);
|
||||
|
||||
gboolean
|
||||
gst_vaapi_surface_update_composition(
|
||||
gst_vaapi_surface_set_subpictures_from_composition(
|
||||
GstVaapiSurface *surface,
|
||||
GstVideoOverlayComposition *composition
|
||||
);
|
||||
|
|
|
@ -136,7 +136,7 @@ gst_vaapi_video_converter_glx_upload (GstSurfaceConverter *converter,
|
|||
GL_BGRA);
|
||||
}
|
||||
|
||||
if (!gst_vaapi_surface_update_composition (surface, composition))
|
||||
if (!gst_vaapi_surface_set_subpictures_from_composition (surface, composition))
|
||||
GST_WARNING ("could not update subtitles");
|
||||
|
||||
return gst_vaapi_texture_put_surface (priv->texture, surface,
|
||||
|
|
|
@ -681,7 +681,7 @@ gst_vaapisink_show_frame(GstBaseSink *base_sink, GstBuffer *buffer)
|
|||
|
||||
flags = GST_VAAPI_PICTURE_STRUCTURE_FRAME;
|
||||
|
||||
if (!gst_vaapi_surface_update_composition(surface, composition))
|
||||
if (!gst_vaapi_surface_set_subpictures_from_composition(surface, composition))
|
||||
GST_WARNING("could not update subtitles");
|
||||
|
||||
#if USE_VAAPISINK_GLX
|
||||
|
|
Loading…
Reference in a new issue