diff options
author | Brian Koropoff <brianhk@cs.washington.edu> | 2008-05-20 09:04:48 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-05-20 09:04:48 +0000 |
commit | 61dbbd46cc02f240bd7474c8e867ff67cfa8b4d4 (patch) | |
tree | 4d08d21bd29b53622ea52112d773dfc4706a3933 /ext/spc/gstspc.h | |
parent | b641c49a4c4d1cb05b95538d83144a3ad5c1326f (diff) | |
download | gst-plugins-bad-61dbbd46cc02f240bd7474c8e867ff67cfa8b4d4.tar.gz gst-plugins-bad-61dbbd46cc02f240bd7474c8e867ff67cfa8b4d4.tar.bz2 gst-plugins-bad-61dbbd46cc02f240bd7474c8e867ff67cfa8b4d4.zip |
ext/spc/: Add support for some essential features like seeking, reading song duration and extended tags. Fixes bug #4...
Original commit message from CVS:
Patch by: Brian Koropoff <brianhk at cs dot washington dot edu>
* ext/spc/Makefile.am:
* ext/spc/gstspc.c: (gst_spc_dec_class_init),
(gst_spc_dec_src_query_type), (gst_spc_dec_init),
(gst_spc_dec_dispose), (gst_spc_dec_sink_event),
(gst_spc_duration), (gst_spc_fadeout), (gst_spc_dec_src_event),
(gst_spc_dec_src_query), (spc_play), (spc_setup):
* ext/spc/gstspc.h:
* ext/spc/tag.c: (spc_tag_is_extended), (spc_tag_is_text_format),
(spc_tag_is_present), (spc_tag_unpack_date), (spc_tag_clear),
(spc_tag_get_info), (spc_tag_free):
* ext/spc/tag.h:
Add support for some essential features like seeking, reading song
duration and extended tags. Fixes bug #454151.
Diffstat (limited to 'ext/spc/gstspc.h')
-rw-r--r-- | ext/spc/gstspc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/spc/gstspc.h b/ext/spc/gstspc.h index a1627997..e1740667 100644 --- a/ext/spc/gstspc.h +++ b/ext/spc/gstspc.h @@ -1,5 +1,6 @@ /* Copyright (C) 2004-2005 Michael Pyne <michael dot pyne at kdemail net> * Copyright (C) 2004-2006 Chris Lee <clee at kde org> + * Copyright (C) 2007 Brian Koropoff <bkoropoff at gmail com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -24,6 +25,8 @@ #include <openspc.h> +#include "tag.h" + G_BEGIN_DECLS #define GST_TYPE_SPC_DEC \ @@ -49,6 +52,12 @@ struct _GstSpcDec GstBuffer *buf; gboolean initialized; + gboolean seeking; + guint32 seekpoint; + + spc_tag_info tag_info; + + guint32 byte_pos; }; struct _GstSpcDecClass |