2 #ifndef __GSTAVISUBTITLE_H__
3 #define __GSTAVISUBTITLE_H__
6 #include <glib-object.h>
11 typedef struct _GstAviSubtitle GstAviSubtitle;
12 typedef struct _GstAviSubtitleClass GstAviSubtitleClass;
14 #define GST_TYPE_AVI_SUBTITLE (gst_avi_subtitle_get_type ())
15 #define GST_AVI_SUBTITLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_AVI_SUBTITLE, GstAviSubtitle))
16 #define GST_AVI_SUBTITLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_AVI_SUBTITLE, GstAviSubtitleClass))
17 #define GST_IS_AVI_SUBTITLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_AVI_SUBTITLE))
18 #define GST_IS_AVI_SUBTITLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_AVI_SUBTITLE))
19 #define GST_AVI_SUBTITLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_AVI_SUBTITLE, GstAviSubtitleClass))
21 GType gst_avi_subtitle_get_type (void);
23 struct _GstAviSubtitle
30 GstBuffer *subfile; /* the complete subtitle file in one buffer */
33 struct _GstAviSubtitleClass
35 GstElementClass parent;