Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
d158270e
Commit
d158270e
authored
Jun 04, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taglib: cosmetics.
parent
599eee10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
modules/meta_engine/taglib.cpp
modules/meta_engine/taglib.cpp
+9
-7
No files found.
modules/meta_engine/taglib.cpp
View file @
d158270e
/*****************************************************************************
/*****************************************************************************
* taglib.cpp: Taglib tag parser/writer
* taglib.cpp: Taglib tag parser/writer
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003-20
09
the VideoLAN team
* Copyright (C) 2003-20
11
the VideoLAN team
* $Id$
* $Id$
*
*
* Authors: Clément Stenac <zorglub@videolan.org>
* 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 )
...
@@ -127,7 +127,6 @@ static void ReadMetaFromAPE( APE::Tag* tag, demux_meta_t*, vlc_meta_t* p_meta )
}
}
/**
/**
* Read meta information from id3v2 tags
* Read meta information from id3v2 tags
* @param tag: the id3v2 tag
* @param tag: the id3v2 tag
...
@@ -291,7 +290,6 @@ static void ReadMetaFromId3v2( ID3v2::Tag* tag, demux_meta_t* p_demux_meta, vlc_
...
@@ -291,7 +290,6 @@ static void ReadMetaFromId3v2( ID3v2::Tag* tag, demux_meta_t* p_demux_meta, vlc_
}
}
/**
/**
* Read the meta information from XiphComments
* Read the meta information from XiphComments
* @param tag: the Xiph Comment
* @param tag: the Xiph Comment
...
@@ -344,7 +342,14 @@ static void ReadMetaFromXiph( Ogg::XiphComment* tag, demux_meta_t* p_demux_meta,
...
@@ -344,7 +342,14 @@ static void ReadMetaFromXiph( Ogg::XiphComment* tag, demux_meta_t* p_demux_meta,
vlc_meta_SetArtURL
(
p_meta
,
"attachment://cover"
);
vlc_meta_SetArtURL
(
p_meta
,
"attachment://cover"
);
}
}
#if defined(TAGLIB_WITH_MP4) && defined(HAVE_TAGLIB_MP4COVERART_H)
#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
)
static
void
ReadMetaFromMP4
(
MP4
::
Tag
*
tag
,
demux_meta_t
*
p_demux_meta
,
vlc_meta_t
*
p_meta
)
{
{
if
(
tag
->
itemListMap
().
contains
(
"covr"
)
)
if
(
tag
->
itemListMap
().
contains
(
"covr"
)
)
...
@@ -367,6 +372,7 @@ static void ReadMetaFromMP4( MP4::Tag* tag, demux_meta_t *p_demux_meta, vlc_meta
...
@@ -367,6 +372,7 @@ static void ReadMetaFromMP4( MP4::Tag* tag, demux_meta_t *p_demux_meta, vlc_meta
}
}
#endif
#endif
/**
/**
* Get the tags from the file using TagLib
* Get the tags from the file using TagLib
* @param p_this: the demux object
* @param p_this: the demux object
...
@@ -513,7 +519,6 @@ static int ReadMeta( vlc_object_t* p_this)
...
@@ -513,7 +519,6 @@ static int ReadMeta( vlc_object_t* p_this)
}
}
/**
/**
* Write meta information to APE tags
* Write meta information to APE tags
* @param tag: the APE tag
* @param tag: the APE tag
...
@@ -540,7 +545,6 @@ static void WriteMetaToAPE( APE::Tag* tag, input_item_t* p_item )
...
@@ -540,7 +545,6 @@ static void WriteMetaToAPE( APE::Tag* tag, input_item_t* p_item )
}
}
/**
/**
* Write meta information to id3v2 tags
* Write meta information to id3v2 tags
* @param tag: the id3v2 tag
* @param tag: the id3v2 tag
...
@@ -571,7 +575,6 @@ static void WriteMetaToId3v2( ID3v2::Tag* tag, input_item_t* p_item )
...
@@ -571,7 +575,6 @@ static void WriteMetaToId3v2( ID3v2::Tag* tag, input_item_t* p_item )
}
}
/**
/**
* Write the meta information to XiphComments
* Write the meta information to XiphComments
* @param tag: the Xiph Comment
* @param tag: the Xiph Comment
...
@@ -596,7 +599,6 @@ static void WriteMetaToXiph( Ogg::XiphComment* tag, input_item_t* p_item )
...
@@ -596,7 +599,6 @@ static void WriteMetaToXiph( Ogg::XiphComment* tag, input_item_t* p_item )
}
}
/**
/**
* Set the tags to the file using TagLib
* Set the tags to the file using TagLib
* @param p_this: the demux object
* @param p_this: the demux object
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment