From cedacbefb0235346cf9a3697adabca61b3ed4436 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Mon, 2 Nov 2009 22:07:00 +0100 Subject: [PATCH] taglib: write to some more files. --- modules/meta_engine/taglib.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp index 1dd00c36c5..19320d66b8 100644 --- a/modules/meta_engine/taglib.cpp +++ b/modules/meta_engine/taglib.cpp @@ -57,6 +57,12 @@ #include #include #include + +#ifdef TAGLIB_WITH_ASF +# include +# include +#endif + #include #include #include @@ -642,6 +648,15 @@ static int WriteMeta( vlc_object_t *p_this ) else if( Ogg::Vorbis::File* ogg_vorbis = dynamic_cast(f.file()) ) WriteMetaToXiph( ogg_vorbis->tag(), p_item ); } +#ifdef TAGLIB_WITH_ASF + else if( RIFF::File* riff = dynamic_cast(f.file()) ) + { + if( RIFF::AIFF::File* riff_aiff = dynamic_cast(f.file()) ) + WriteMetaToId3v2( riff_aiff->tag(), p_item ); + else if( RIFF::WAV::File* riff_wav = dynamic_cast(f.file()) ) + WriteMetaToId3v2( riff_wav->tag(), p_item ); + } +#endif else if( TrueAudio::File* trueaudio = dynamic_cast(f.file()) ) { if( trueaudio->ID3v2Tag() ) -- 2.39.5