diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-04-29 18:18:24 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-04-29 18:18:24 +0000 |
commit | 6fbf187762d89f34495c5cdfa86125607e8fe84d (patch) | |
tree | 8199ad60560eb208de0a013db6c599c67998f2ad /ext/taglib/gsttaglib.h | |
parent | b840a153aff1d4bad63dadd9c4824a231643abe8 (diff) | |
download | gst-plugins-bad-6fbf187762d89f34495c5cdfa86125607e8fe84d.tar.gz gst-plugins-bad-6fbf187762d89f34495c5cdfa86125607e8fe84d.tar.bz2 gst-plugins-bad-6fbf187762d89f34495c5cdfa86125607e8fe84d.zip |
ext/taglib/: Split the actual ID3v2 tag rendering code into its own subclass.
Original commit message from CVS:
* ext/taglib/Makefile.am:
* ext/taglib/gstid3v2mux.cc:
* ext/taglib/gstid3v2mux.h:
* ext/taglib/gsttaglib.cc:
* ext/taglib/gsttaglib.h:
Split the actual ID3v2 tag rendering code into
its own subclass.
Diffstat (limited to 'ext/taglib/gsttaglib.h')
-rw-r--r-- | ext/taglib/gsttaglib.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/ext/taglib/gsttaglib.h b/ext/taglib/gsttaglib.h index eacfc840..5b91a93e 100644 --- a/ext/taglib/gsttaglib.h +++ b/ext/taglib/gsttaglib.h @@ -1,6 +1,7 @@ -/* GStreamer taglib-based muxer - * (c) 2006 Christophe Fergeau <teuf@gnome.org> - * +/* GStreamer taglib-based muxer base class + * Copyright (C) 2006 Christophe Fergeau <teuf@gnome.org> + * Copyright (C) 2006 Tim-Philipp Müller <tim centricular net> + * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either @@ -24,7 +25,8 @@ G_BEGIN_DECLS -typedef struct _GstTagLibMuxPriv GstTagLibMuxPriv; +typedef struct _GstTagLibMux GstTagLibMux; +typedef struct _GstTagLibMuxClass GstTagLibMuxClass; /* Definition of structure storing data for this element. */ typedef struct _GstTagLibMux { @@ -37,12 +39,15 @@ typedef struct _GstTagLibMux { gboolean render_tag; GstEvent *newsegment_ev; /* cached newsegment event from upstream */ -} GstTagLibMux; +}; /* Standard definition defining a class for this element. */ typedef struct _GstTagLibMuxClass { GstElementClass parent_class; -} GstTagLibMuxClass; + + /* vfuncs */ + GstBuffer * (*render_tag) (GstTagLibMux * mux, GstTagList * tag_list); +}; /* Standard macros for defining types for this element. */ #define GST_TYPE_TAG_LIB_MUX \ |