diff options
author | Max Kellermann <max@duempel.org> | 2009-01-03 23:29:45 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-03 23:29:45 +0100 |
commit | 700bd44fdaaa0b3ebc6924180daae8f5105d0cd8 (patch) | |
tree | 88455844f452f7b49fac139d39a823e7e5b8ffa0 /src/decoder_internal.h | |
parent | 4be479d20c2f81fb0303106b7080af93b3c456c6 (diff) | |
download | mpd-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 '')
-rw-r--r-- | src/decoder_internal.h | 7 |
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 |