surface: don't expose gst_vaapi_surface_get_parent_context().

gst_vaapi_surface_get_parent_context() was not meant to be exposed globally.
It's just an internal helper function. However, it's still possible to get
the parent context through the "parent-context" property.
This commit is contained in:
Gwenole Beauchesne 2012-01-18 10:42:38 +01:00
parent 9f5c487593
commit 0f511e1e0b
3 changed files with 5 additions and 5 deletions

View file

@ -334,7 +334,6 @@ gst_vaapi_surface_get_chroma_type
gst_vaapi_surface_get_width
gst_vaapi_surface_get_height
gst_vaapi_surface_get_size
gst_vaapi_surface_get_parent_context
gst_vaapi_surface_derive_image
gst_vaapi_surface_get_image
gst_vaapi_surface_put_image

View file

@ -35,7 +35,6 @@ G_BEGIN_DECLS
typedef enum _GstVaapiChromaType GstVaapiChromaType;
typedef enum _GstVaapiSurfaceStatus GstVaapiSurfaceStatus;
typedef enum _GstVaapiSurfaceRenderFlags GstVaapiSurfaceRenderFlags;
typedef struct _GstVaapiContext GstVaapiContext;
/**
* GST_VAAPI_SURFACE_CAPS_NAME:
@ -198,9 +197,6 @@ gst_vaapi_surface_get_size(
guint *pheight
);
GstVaapiContext *
gst_vaapi_surface_get_parent_context(GstVaapiSurface *surface);
GstVaapiImage *
gst_vaapi_surface_derive_image(GstVaapiSurface *surface);

View file

@ -22,6 +22,7 @@
#ifndef GST_VAAPI_SURFACE_PRIV_H
#define GST_VAAPI_SURFACE_PRIV_H
#include <gst/vaapi/gstvaapicontext.h>
#include <gst/vaapi/gstvaapisurface.h>
void
@ -30,4 +31,8 @@ gst_vaapi_surface_set_parent_context(
GstVaapiContext *context
) attribute_hidden;
GstVaapiContext *
gst_vaapi_surface_get_parent_context(GstVaapiSurface *surface)
attribute_hidden;
#endif /* GST_VAAPI_SURFACE_PRIV_H */