aboutsummaryrefslogtreecommitdiffstats
path: root/src/input
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-02 12:59:16 +0100
committerMax Kellermann <max@duempel.org>2014-11-02 12:59:16 +0100
commit05c63af7c473de374406d76e146d73245de10a2b (patch)
treea5cddc167860a989f40dce6813cbcd20a51fd896 /src/input
parent1f59701c46d7a75d9af92b9df14e03c2bc1ce730 (diff)
downloadmpd-05c63af7c473de374406d76e146d73245de10a2b.tar.gz
mpd-05c63af7c473de374406d76e146d73245de10a2b.tar.xz
mpd-05c63af7c473de374406d76e146d73245de10a2b.zip
InputStream: add method ClearMimeType()
Diffstat (limited to 'src/input')
-rw-r--r--src/input/InputStream.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input/InputStream.hxx b/src/input/InputStream.hxx
index 15c350103..81b903ba2 100644
--- a/src/input/InputStream.hxx
+++ b/src/input/InputStream.hxx
@@ -200,6 +200,10 @@ public:
return mime.empty() ? nullptr : mime.c_str();
}
+ void ClearMimeType() {
+ mime.clear();
+ }
+
gcc_nonnull_all
void SetMimeType(const char *_mime) {
assert(!ready);