diff --git a/docs/reference/libs/libs-sections.txt b/docs/reference/libs/libs-sections.txt index 46da57a15f..b4fd5130d7 100644 --- a/docs/reference/libs/libs-sections.txt +++ b/docs/reference/libs/libs-sections.txt @@ -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 diff --git a/gst-libs/gst/vaapi/gstvaapisurface.h b/gst-libs/gst/vaapi/gstvaapisurface.h index 0bd8139936..9057290b49 100644 --- a/gst-libs/gst/vaapi/gstvaapisurface.h +++ b/gst-libs/gst/vaapi/gstvaapisurface.h @@ -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); diff --git a/gst-libs/gst/vaapi/gstvaapisurface_priv.h b/gst-libs/gst/vaapi/gstvaapisurface_priv.h index 7c99c69ae7..a7eeda91d1 100644 --- a/gst-libs/gst/vaapi/gstvaapisurface_priv.h +++ b/gst-libs/gst/vaapi/gstvaapisurface_priv.h @@ -22,6 +22,7 @@ #ifndef GST_VAAPI_SURFACE_PRIV_H #define GST_VAAPI_SURFACE_PRIV_H +#include #include 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 */