Commit d158270e authored by ivoire's avatar ivoire
Browse files

taglib: cosmetics.

parent 599eee10
/*****************************************************************************
* taglib.cpp: Taglib tag parser/writer
*****************************************************************************
* Copyright (C) 2003-2009 the VideoLAN team
* Copyright (C) 2003-2011 the VideoLAN team
* $Id$
*
* Authors: Clément Stenac <zorglub@videolan.org>
......@@ -127,7 +127,6 @@ static void ReadMetaFromAPE( APE::Tag* tag, demux_meta_t*, vlc_meta_t* p_meta )
}
/**
* Read meta information from id3v2 tags
* @param tag: the id3v2 tag
......@@ -291,7 +290,6 @@ static void ReadMetaFromId3v2( ID3v2::Tag* tag, demux_meta_t* p_demux_meta, vlc_
}
/**
* Read the meta information from XiphComments
* @param tag: the Xiph Comment
......@@ -344,7 +342,14 @@ static void ReadMetaFromXiph( Ogg::XiphComment* tag, demux_meta_t* p_demux_meta,
vlc_meta_SetArtURL( p_meta, "attachment://cover" );
}
#if defined(TAGLIB_WITH_MP4) && defined(HAVE_TAGLIB_MP4COVERART_H)
/**
* Read the meta information from mp4 specific tags
* @param tag: the mp4 tag
* @param p_demux_meta: the demuxer meta
* @param p_meta: the meta
*/
static void ReadMetaFromMP4( MP4::Tag* tag, demux_meta_t *p_demux_meta, vlc_meta_t* p_meta )
{
if( tag->itemListMap().contains("covr") )
......@@ -367,6 +372,7 @@ static void ReadMetaFromMP4( MP4::Tag* tag, demux_meta_t *p_demux_meta, vlc_meta
}
#endif
/**
* Get the tags from the file using TagLib
* @param p_this: the demux object
......@@ -513,7 +519,6 @@ static int ReadMeta( vlc_object_t* p_this)
}
/**
* Write meta information to APE tags
* @param tag: the APE tag
......@@ -540,7 +545,6 @@ static void WriteMetaToAPE( APE::Tag* tag, input_item_t* p_item )
}
/**
* Write meta information to id3v2 tags
* @param tag: the id3v2 tag
......@@ -571,7 +575,6 @@ static void WriteMetaToId3v2( ID3v2::Tag* tag, input_item_t* p_item )
}
/**
* Write the meta information to XiphComments
* @param tag: the Xiph Comment
......@@ -596,7 +599,6 @@ static void WriteMetaToXiph( Ogg::XiphComment* tag, input_item_t* p_item )
}
/**
* Set the tags to the file using TagLib
* @param p_this: the demux object
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment