Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
0a60a95f
Commit
0a60a95f
authored
Aug 18, 2007
by
Rafaël Carré
Browse files
Disables meta reading in vorbis codec when taglib plugin is being built
parent
2dd551cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
0a60a95f
...
...
@@ -1727,7 +1727,8 @@ AC_ARG_ENABLE(taglib,
[ --disable-taglib Taglib support (default enabled) ])
AS_IF([test "${enable_taglib}" != "no"],[
PKG_CHECK_MODULES(TAGLIB, taglib,
[ VLC_ADD_PLUGINS([taglib])
[ AC_DEFINE( HAVE_TAGLIB, 1, [Define if you have taglib plugin built] )
VLC_ADD_PLUGINS([taglib])
VLC_ADD_LDFLAGS([taglib],[$TAGLIB_LIBS -lz])
VLC_ADD_CXXFLAGS([taglib],[$TAGLIB_CFLAGS]) ],
[AC_MSG_WARN(TagLib library not found)])
...
...
modules/codec/vorbis.c
View file @
0a60a95f
...
...
@@ -136,7 +136,9 @@ static void *ProcessPacket ( decoder_t *, ogg_packet *, block_t ** );
static
aout_buffer_t
*
DecodePacket
(
decoder_t
*
,
ogg_packet
*
);
static
block_t
*
SendPacket
(
decoder_t
*
,
ogg_packet
*
,
block_t
*
);
#ifndef HAVE_TAGLIB
static
void
ParseVorbisComments
(
decoder_t
*
);
#endif
static
void
ConfigureChannelOrder
(
int
*
,
int
,
uint32_t
,
vlc_bool_t
);
...
...
@@ -432,7 +434,9 @@ static int ProcessHeaders( decoder_t *p_dec )
msg_Err
(
p_dec
,
"2nd Vorbis header is corrupted"
);
return
VLC_EGENERIC
;
}
#ifndef HAVE_TAGLIB
ParseVorbisComments
(
p_dec
);
#endif
/* The next packet in order is the codebooks header
* We need to watch out that this packet is not missing as a
...
...
@@ -605,8 +609,9 @@ static block_t *SendPacket( decoder_t *p_dec, ogg_packet *p_oggpacket,
return
p_block
;
}
#ifndef HAVE_TAGLIB
/*****************************************************************************
* ParseVorbisComments
: FIXME should be done in demuxer
* ParseVorbisComments
*****************************************************************************/
static
void
ParseVorbisComments
(
decoder_t
*
p_dec
)
{
...
...
@@ -722,6 +727,7 @@ static void ParseVorbisComments( decoder_t *p_dec )
i
++
;
}
}
#endif
/*****************************************************************************
* Interleave: helper function to interleave channels
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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