Rename gst_vaapi_surface_update_composition() to

gst_vaapi_surface_set_subpictures_from_composition().
This commit is contained in:
Gwenole Beauchesne 2011-12-13 15:51:58 +01:00
parent cbfd2aebcc
commit a4244820af
4 changed files with 5 additions and 5 deletions

View file

@ -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
)

View file

@ -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
);

View file

@ -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,

View file

@ -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