summaryrefslogtreecommitdiffstats
path: root/ext/dv/gstdvdemux.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dv/gstdvdemux.h')
-rw-r--r--ext/dv/gstdvdemux.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/ext/dv/gstdvdemux.h b/ext/dv/gstdvdemux.h
index 03035d90..eff5ee56 100644
--- a/ext/dv/gstdvdemux.h
+++ b/ext/dv/gstdvdemux.h
@@ -21,15 +21,12 @@
#ifndef __GST_DVDEMUX_H__
#define __GST_DVDEMUX_H__
-
#include <gst/gst.h>
#include <libdv/dv.h>
#include <gst/base/gstadapter.h>
-
G_BEGIN_DECLS
-
#define GST_TYPE_DVDEMUX \
(gst_dvdemux_get_type())
#define GST_DVDEMUX(obj) \
@@ -45,7 +42,6 @@ G_BEGIN_DECLS
typedef struct _GstDVDemux GstDVDemux;
typedef struct _GstDVDemuxClass GstDVDemuxClass;
-
struct _GstDVDemux {
GstElement element;
@@ -77,12 +73,9 @@ struct _GstDVDemux {
guint64 audio_offset;
guint64 video_offset;
- gint64 start_byte;
- gint64 stop_byte;
- gint64 start_timestamp;
- gint64 stop_timestamp;
-
- gboolean need_discont;
+ GstSegment byte_segment;
+ GstSegment time_segment;
+ gboolean need_segment;
gboolean new_media;
gboolean found_header;
@@ -94,11 +87,8 @@ struct _GstDVDemuxClass {
GstElementClass parent_class;
};
-
GType gst_dvdemux_get_type (void);
-
G_END_DECLS
-
#endif /* __GST_DVDEMUX_H__ */