mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
9f5c487593
commit
0f511e1e0b
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue