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
c405205e
Commit
c405205e
authored
May 14, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taglib: read and wirte APE tags for .ape files.
parent
277eb4cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
modules/meta_engine/taglib.cpp
modules/meta_engine/taglib.cpp
+13
-2
No files found.
modules/meta_engine/taglib.cpp
View file @
c405205e
...
...
@@ -53,6 +53,7 @@
#include <id3v2tag.h>
#include <xiphcomment.h>
#include <apefile.h>
#include <flacfile.h>
#include <mpcfile.h>
#include <mpegfile.h>
...
...
@@ -435,7 +436,12 @@ static int ReadMeta( vlc_object_t* p_this)
// Try now to read special tags
if
(
FLAC
::
File
*
flac
=
dynamic_cast
<
FLAC
::
File
*>
(
f
.
file
())
)
if
(
APE
::
File
*
ape
=
dynamic_cast
<
APE
::
File
*>
(
f
.
file
())
)
{
if
(
ape
->
APETag
()
)
ReadMetaFromAPE
(
ape
->
APETag
(),
p_demux_meta
,
p_meta
);
}
else
if
(
FLAC
::
File
*
flac
=
dynamic_cast
<
FLAC
::
File
*>
(
f
.
file
())
)
{
if
(
flac
->
ID3v2Tag
()
)
ReadMetaFromId3v2
(
flac
->
ID3v2Tag
(),
p_demux_meta
,
p_meta
);
...
...
@@ -653,7 +659,12 @@ static int WriteMeta( vlc_object_t *p_this )
// Try now to write special tags
if
(
FLAC
::
File
*
flac
=
dynamic_cast
<
FLAC
::
File
*>
(
f
.
file
())
)
if
(
APE
::
File
*
ape
=
dynamic_cast
<
APE
::
File
*>
(
f
.
file
())
)
{
if
(
ape
->
APETag
()
)
WriteMetaToAPE
(
ape
->
APETag
(),
p_item
);
}
else
if
(
FLAC
::
File
*
flac
=
dynamic_cast
<
FLAC
::
File
*>
(
f
.
file
())
)
{
if
(
flac
->
ID3v2Tag
()
)
WriteMetaToId3v2
(
flac
->
ID3v2Tag
(),
p_item
);
...
...
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