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
0a60a95f
Commit
0a60a95f
authored
Aug 18, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disables meta reading in vorbis codec when taglib plugin is being built
parent
2dd551cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
configure.ac
configure.ac
+2
-1
modules/codec/vorbis.c
modules/codec/vorbis.c
+7
-1
No files found.
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
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