Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f68f3c81
Commit
f68f3c81
authored
Aug 23, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Taglib: bump requirement to 1.6.1
And delete contributions from Götz Waschk
parent
2971d9bd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
16 deletions
+6
-16
configure.ac
configure.ac
+1
-1
modules/meta_engine/taglib.cpp
modules/meta_engine/taglib.cpp
+5
-15
No files found.
configure.ac
View file @
f68f3c81
...
@@ -3993,7 +3993,7 @@ AC_ARG_ENABLE(taglib,
...
@@ -3993,7 +3993,7 @@ AC_ARG_ENABLE(taglib,
[AS_HELP_STRING([--disable-taglib],
[AS_HELP_STRING([--disable-taglib],
[do not use TagLib (default enabled)])])
[do not use TagLib (default enabled)])])
AS_IF([test "${enable_taglib}" != "no"], [
AS_IF([test "${enable_taglib}" != "no"], [
PKG_CHECK_MODULES(TAGLIB, taglib >= 1.
5
, [
PKG_CHECK_MODULES(TAGLIB, taglib >= 1.
6.1
, [
VLC_ADD_PLUGIN([taglib])
VLC_ADD_PLUGIN([taglib])
VLC_ADD_LIBS([taglib],[$TAGLIB_LIBS -lz])
VLC_ADD_LIBS([taglib],[$TAGLIB_LIBS -lz])
VLC_ADD_CXXFLAGS([taglib],[$TAGLIB_CFLAGS])
VLC_ADD_CXXFLAGS([taglib],[$TAGLIB_CFLAGS])
...
...
modules/meta_engine/taglib.cpp
View file @
f68f3c81
...
@@ -69,16 +69,10 @@
...
@@ -69,16 +69,10 @@
#include <oggflacfile.h>
#include <oggflacfile.h>
#include "../demux/vorbis.h"
#include "../demux/vorbis.h"
#if TAGLIB_VERSION >= VERSION_INT(1,6,0)
#include <aifffile.h>
# define TAGLIB_HAVE_AIFF_WAV_H
#include <wavfile.h>
# include <aifffile.h>
# include <wavfile.h>
#else
# include <id3v2tag.h>
#endif
#if TAGLIB_VERSION >= VERSION_INT(1,6,1) && defined(TAGLIB_WITH_MP4)
#if defined(TAGLIB_WITH_MP4)
# define TAGLIB_HAVE_MP4COVERTART_H
# include <mp4file.h>
# include <mp4file.h>
#endif
#endif
...
@@ -479,7 +473,7 @@ static void ReadMetaFromXiph( Ogg::XiphComment* tag, demux_meta_t* p_demux_meta,
...
@@ -479,7 +473,7 @@ static void ReadMetaFromXiph( Ogg::XiphComment* tag, demux_meta_t* p_demux_meta,
}
}
#if
def TAGLIB_HAVE_MP4COVERTART_H
#if
defined(TAGLIB_WITH_MP4)
/**
/**
* Read the meta information from mp4 specific tags
* Read the meta information from mp4 specific tags
* @param tag: the mp4 tag
* @param tag: the mp4 tag
...
@@ -604,7 +598,7 @@ static int ReadMeta( vlc_object_t* p_this)
...
@@ -604,7 +598,7 @@ static int ReadMeta( vlc_object_t* p_this)
else
if
(
flac
->
xiphComment
()
)
else
if
(
flac
->
xiphComment
()
)
ReadMetaFromXiph
(
flac
->
xiphComment
(),
p_demux_meta
,
p_meta
);
ReadMetaFromXiph
(
flac
->
xiphComment
(),
p_demux_meta
,
p_meta
);
}
}
#if
def TAGLIB_HAVE_MP4COVERTART_H
#if
defined(TAGLIB_WITH_MP4)
else
if
(
MP4
::
File
*
mp4
=
dynamic_cast
<
MP4
::
File
*>
(
f
.
file
())
)
else
if
(
MP4
::
File
*
mp4
=
dynamic_cast
<
MP4
::
File
*>
(
f
.
file
())
)
{
{
if
(
mp4
->
tag
()
)
if
(
mp4
->
tag
()
)
...
@@ -632,7 +626,6 @@ static int ReadMeta( vlc_object_t* p_this)
...
@@ -632,7 +626,6 @@ static int ReadMeta( vlc_object_t* p_this)
else
if
(
Ogg
::
Vorbis
::
File
*
ogg_vorbis
=
dynamic_cast
<
Ogg
::
Vorbis
::
File
*>
(
f
.
file
())
)
else
if
(
Ogg
::
Vorbis
::
File
*
ogg_vorbis
=
dynamic_cast
<
Ogg
::
Vorbis
::
File
*>
(
f
.
file
())
)
ReadMetaFromXiph
(
ogg_vorbis
->
tag
(),
p_demux_meta
,
p_meta
);
ReadMetaFromXiph
(
ogg_vorbis
->
tag
(),
p_demux_meta
,
p_meta
);
}
}
#ifdef TAGLIB_HAVE_AIFF_WAV_H
else
if
(
dynamic_cast
<
RIFF
::
File
*>
(
f
.
file
())
)
else
if
(
dynamic_cast
<
RIFF
::
File
*>
(
f
.
file
())
)
{
{
if
(
RIFF
::
AIFF
::
File
*
riff_aiff
=
dynamic_cast
<
RIFF
::
AIFF
::
File
*>
(
f
.
file
())
)
if
(
RIFF
::
AIFF
::
File
*
riff_aiff
=
dynamic_cast
<
RIFF
::
AIFF
::
File
*>
(
f
.
file
())
)
...
@@ -640,7 +633,6 @@ static int ReadMeta( vlc_object_t* p_this)
...
@@ -640,7 +633,6 @@ static int ReadMeta( vlc_object_t* p_this)
else
if
(
RIFF
::
WAV
::
File
*
riff_wav
=
dynamic_cast
<
RIFF
::
WAV
::
File
*>
(
f
.
file
())
)
else
if
(
RIFF
::
WAV
::
File
*
riff_wav
=
dynamic_cast
<
RIFF
::
WAV
::
File
*>
(
f
.
file
())
)
ReadMetaFromId3v2
(
riff_wav
->
tag
(),
p_demux_meta
,
p_meta
);
ReadMetaFromId3v2
(
riff_wav
->
tag
(),
p_demux_meta
,
p_meta
);
}
}
#endif
else
if
(
TrueAudio
::
File
*
trueaudio
=
dynamic_cast
<
TrueAudio
::
File
*>
(
f
.
file
())
)
else
if
(
TrueAudio
::
File
*
trueaudio
=
dynamic_cast
<
TrueAudio
::
File
*>
(
f
.
file
())
)
{
{
if
(
trueaudio
->
ID3v2Tag
()
)
if
(
trueaudio
->
ID3v2Tag
()
)
...
@@ -843,7 +835,6 @@ static int WriteMeta( vlc_object_t *p_this )
...
@@ -843,7 +835,6 @@ static int WriteMeta( vlc_object_t *p_this )
else
if
(
Ogg
::
Vorbis
::
File
*
ogg_vorbis
=
dynamic_cast
<
Ogg
::
Vorbis
::
File
*>
(
f
.
file
())
)
else
if
(
Ogg
::
Vorbis
::
File
*
ogg_vorbis
=
dynamic_cast
<
Ogg
::
Vorbis
::
File
*>
(
f
.
file
())
)
WriteMetaToXiph
(
ogg_vorbis
->
tag
(),
p_item
);
WriteMetaToXiph
(
ogg_vorbis
->
tag
(),
p_item
);
}
}
#ifdef TAGLIB_HAVE_AIFF_WAV_H
else
if
(
dynamic_cast
<
RIFF
::
File
*>
(
f
.
file
())
)
else
if
(
dynamic_cast
<
RIFF
::
File
*>
(
f
.
file
())
)
{
{
if
(
RIFF
::
AIFF
::
File
*
riff_aiff
=
dynamic_cast
<
RIFF
::
AIFF
::
File
*>
(
f
.
file
())
)
if
(
RIFF
::
AIFF
::
File
*
riff_aiff
=
dynamic_cast
<
RIFF
::
AIFF
::
File
*>
(
f
.
file
())
)
...
@@ -851,7 +842,6 @@ static int WriteMeta( vlc_object_t *p_this )
...
@@ -851,7 +842,6 @@ static int WriteMeta( vlc_object_t *p_this )
else
if
(
RIFF
::
WAV
::
File
*
riff_wav
=
dynamic_cast
<
RIFF
::
WAV
::
File
*>
(
f
.
file
())
)
else
if
(
RIFF
::
WAV
::
File
*
riff_wav
=
dynamic_cast
<
RIFF
::
WAV
::
File
*>
(
f
.
file
())
)
WriteMetaToId3v2
(
riff_wav
->
tag
(),
p_item
);
WriteMetaToId3v2
(
riff_wav
->
tag
(),
p_item
);
}
}
#endif
else
if
(
TrueAudio
::
File
*
trueaudio
=
dynamic_cast
<
TrueAudio
::
File
*>
(
f
.
file
())
)
else
if
(
TrueAudio
::
File
*
trueaudio
=
dynamic_cast
<
TrueAudio
::
File
*>
(
f
.
file
())
)
{
{
if
(
trueaudio
->
ID3v2Tag
()
)
if
(
trueaudio
->
ID3v2Tag
()
)
...
...
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