input_stream: added tag() method

The tag() method reads a tag from the stream.  This replaces the
meta_name and meta_title attributes.
This commit is contained in:
Max Kellermann
2009-01-03 23:29:45 +01:00
parent 4be479d20c
commit 700bd44fda
6 changed files with 126 additions and 75 deletions

View File

@@ -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