summaryrefslogtreecommitdiffstats
path: root/src/VLCInput.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-04-12 08:46:12 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-04-12 08:46:12 +0200
commit5637664fcbe18b05a773d6db621a94de76e07817 (patch)
tree6d1891004e9d7977d02891fa22de642aac640b17 /src/VLCInput.h
parent28f95670d7f1497dc58f8820ab09475e4917d4ba (diff)
downloadfdk-aac-5637664fcbe18b05a773d6db621a94de76e07817.tar.gz
fdk-aac-5637664fcbe18b05a773d6db621a94de76e07817.tar.bz2
fdk-aac-5637664fcbe18b05a773d6db621a94de76e07817.zip
VLC can write ICY Text into a file for mot-encoder
Diffstat (limited to 'src/VLCInput.h')
-rw-r--r--src/VLCInput.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/VLCInput.h b/src/VLCInput.h
index f97b9d9..ec7c80e 100644
--- a/src/VLCInput.h
+++ b/src/VLCInput.h
@@ -63,6 +63,10 @@ class VLCInput
*/
ssize_t read(uint8_t* buf, size_t length);
+ /* Write the last received ICY-Text to the
+ * file.
+ */
+ void write_icy_text(const std::string& filename) const;
// Callbacks for VLC
@@ -97,6 +101,8 @@ class VLCInput
unsigned m_channels;
int m_rate;
+ std::string m_nowplaying;
+
// VLC pointers
libvlc_instance_t *m_vlc;
libvlc_media_player_t *m_mp;