diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2006-02-22 20:22:25 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2006-02-22 20:22:25 +0000 |
commit | ec24b0dfabf90f2a47c6999db42e382e666852cc (patch) | |
tree | b5a83108653f5cd29f579045a45dd190a078826e /ext/dv/gstdvdemux.h | |
parent | 7eed67bb6b38180da07ca16e87ce4207cc93bc9d (diff) |
ext/dv/: Ueber spiffify some more, added debug category.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_base_init), (gst_dvdec_init),
(gst_dvdec_change_state):
* ext/dv/gstdvdec.h:
* ext/dv/gstdvdemux.c: (gst_dvdemux_base_init), (gst_dvdemux_init),
(gst_dvdemux_src_convert), (gst_dvdemux_sink_convert),
(gst_dvdemux_src_query), (gst_dvdemux_sink_query),
(gst_dvdemux_handle_sink_event), (gst_dvdemux_demux_frame),
(gst_dvdemux_flush), (gst_dvdemux_chain),
(gst_dvdemux_change_state):
* ext/dv/gstdvdemux.h:
Ueber spiffify some more, added debug category.
Use _scale.
Use segments, respect playback rate from newsegment.
Fix refcount issue.
Diffstat (limited to 'ext/dv/gstdvdemux.h')
-rw-r--r-- | ext/dv/gstdvdemux.h | 16 |
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__ */ |