aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_internal.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-03 23:29:45 +0100
committerMax Kellermann <max@duempel.org>2009-01-03 23:29:45 +0100
commit700bd44fdaaa0b3ebc6924180daae8f5105d0cd8 (patch)
tree88455844f452f7b49fac139d39a823e7e5b8ffa0 /src/decoder_internal.h
parent4be479d20c2f81fb0303106b7080af93b3c456c6 (diff)
downloadmpd-700bd44fdaaa0b3ebc6924180daae8f5105d0cd8.tar.gz
mpd-700bd44fdaaa0b3ebc6924180daae8f5105d0cd8.tar.xz
mpd-700bd44fdaaa0b3ebc6924180daae8f5105d0cd8.zip
input_stream: added tag() method
The tag() method reads a tag from the stream. This replaces the meta_name and meta_title attributes.
Diffstat (limited to 'src/decoder_internal.h')
-rw-r--r--src/decoder_internal.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/decoder_internal.h b/src/decoder_internal.h
index 39d6fe8a7..bc10475b9 100644
--- a/src/decoder_internal.h
+++ b/src/decoder_internal.h
@@ -27,8 +27,11 @@ struct decoder {
bool seeking;
- /** has the tag from the input stream been sent yet? */
- bool stream_tag_sent;
+ /** the last tag received from the stream */
+ struct tag *stream_tag;
+
+ /** the last tag received from the decoder plugin */
+ struct tag *decoder_tag;
};
#endif