summaryrefslogtreecommitdiff
path: root/gst/inter/gstintersurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/inter/gstintersurface.h')
-rw-r--r--gst/inter/gstintersurface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/inter/gstintersurface.h b/gst/inter/gstintersurface.h
index 92440448a..d8ba11f4c 100644
--- a/gst/inter/gstintersurface.h
+++ b/gst/inter/gstintersurface.h
@@ -30,6 +30,7 @@ typedef struct _GstInterSurface GstInterSurface;
struct _GstInterSurface
{
GMutex *mutex;
+ char *name;
/* video */
GstVideoFormat format;
@@ -45,12 +46,13 @@ struct _GstInterSurface
int n_channels;
GstBuffer *video_buffer;
+ GstBuffer *sub_buffer;
GstAdapter *audio_adapter;
};
GstInterSurface * gst_inter_surface_get (const char *name);
-void gst_inter_surface_init (void);
+void gst_inter_surface_unref (GstInterSurface *surface);
G_END_DECLS