summaryrefslogtreecommitdiffstats
path: root/ext/taglib/gsttaglibmux.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-03-26 19:56:37 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-03-26 19:56:37 +0000
commit4c087b76da394fcde2a1035f55bf04977b68b2b0 (patch)
tree154ab4ba71022d2b4f5a44a30817f769fa79e5ee /ext/taglib/gsttaglibmux.h
parent74fe5e87e81e3ebba99063319aae136962f90876 (diff)
ext/taglib/gsttaglib.*: Fix newsegment event handling a bit. We need to cache the first newsegment event, because we ...
Original commit message from CVS: * ext/taglib/gsttaglib.cc: * ext/taglib/gsttaglib.h: Fix newsegment event handling a bit. We need to cache the first newsegment event, because we can't adjust offsets yet when we get it, as we don't know the size of the tag yet for sure at that point. Also do some minor cleaning up here and there and add some debug statements.
Diffstat (limited to 'ext/taglib/gsttaglibmux.h')
-rw-r--r--ext/taglib/gsttaglibmux.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/ext/taglib/gsttaglibmux.h b/ext/taglib/gsttaglibmux.h
index 6240e140..b98a339c 100644
--- a/ext/taglib/gsttaglibmux.h
+++ b/ext/taglib/gsttaglibmux.h
@@ -28,13 +28,15 @@ typedef struct _GstTagLibMuxPriv GstTagLibMuxPriv;
/* Definition of structure storing data for this element. */
typedef struct _GstTagLibMux {
- GstElement element;
+ GstElement element;
- GstPad *sinkpad, *srcpad;
- GstTagList *tags;
- gsize tag_size;
- gboolean render_tag;
+ GstPad *srcpad;
+ GstPad *sinkpad;
+ GstTagList *event_tags; /* tags received from upstream elements */
+ gsize tag_size;
+ gboolean render_tag;
+ GstEvent *newsegment_ev; /* cached newsegment event from upstream */
} GstTagLibMux;
/* Standard definition defining a class for this element. */