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 | 1b8d41640d595c1ebb8b397ac2d24a6c9dd69ffd (patch) | |
tree | 08d895b7cb8b47f4211f1fd821037a603d756298 /ext/taglib/gsttaglibmux.h | |
parent | eb7e071aba9b0c3e0b563e477401982ac04586e4 (diff) |
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/gsttaglibmux.h')
-rw-r--r-- | ext/taglib/gsttaglibmux.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/ext/taglib/gsttaglibmux.h b/ext/taglib/gsttaglibmux.h index eacfc840..5b91a93e 100644 --- a/ext/taglib/gsttaglibmux.h +++ b/ext/taglib/gsttaglibmux.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 \ |