Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
b45afc21
Commit
b45afc21
authored
Sep 24, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move the meta readers to the correct folder, and use them for all parsing
parent
cf0bb5cf
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
7 additions
and
13 deletions
+7
-13
configure.ac
configure.ac
+0
-1
modules/demux/flac.c
modules/demux/flac.c
+1
-1
modules/demux/mpc.c
modules/demux/mpc.c
+1
-1
modules/demux/mpeg/mpga.c
modules/demux/mpeg/mpga.c
+1
-1
modules/demux/util/Modules.am
modules/demux/util/Modules.am
+0
-6
modules/meta_engine/Modules.am
modules/meta_engine/Modules.am
+2
-0
modules/meta_engine/id3genres.h
modules/meta_engine/id3genres.h
+0
-0
modules/meta_engine/id3tag.c
modules/meta_engine/id3tag.c
+1
-1
modules/meta_engine/taglib.cpp
modules/meta_engine/taglib.cpp
+1
-2
No files found.
configure.ac
View file @
b45afc21
...
...
@@ -5662,7 +5662,6 @@ AC_CONFIG_FILES([
modules/demux/mp4/Makefile
modules/demux/mpeg/Makefile
modules/demux/playlist/Makefile
modules/demux/util/Makefile
modules/gui/Makefile
modules/gui/beos/Makefile
modules/gui/pda/Makefile
...
...
modules/demux/flac.c
View file @
b45afc21
...
...
@@ -137,7 +137,7 @@ static int Open( vlc_object_t * p_this )
p_sys
->
p_es
=
es_out_Add
(
p_demux
->
out
,
&
fmt
);
/* Parse possible id3 header */
if
(
(
p_id3
=
module_Need
(
p_demux
,
"
id3
"
,
NULL
,
0
)
)
)
if
(
(
p_id3
=
module_Need
(
p_demux
,
"
meta reader
"
,
NULL
,
0
)
)
)
{
p_sys
->
p_meta
=
(
vlc_meta_t
*
)
p_demux
->
p_private
;
p_demux
->
p_private
=
NULL
;
...
...
modules/demux/mpc.c
View file @
b45afc21
...
...
@@ -226,7 +226,7 @@ static int Open( vlc_object_t * p_this )
/* Parse possible id3 header */
if
(
(
p_id3
=
module_Need
(
p_demux
,
"
id3
"
,
NULL
,
0
)
)
)
if
(
(
p_id3
=
module_Need
(
p_demux
,
"
meta reader
"
,
NULL
,
0
)
)
)
{
p_sys
->
p_meta
=
(
vlc_meta_t
*
)
p_demux
->
p_private
;
p_demux
->
p_private
=
NULL
;
...
...
modules/demux/mpeg/mpga.c
View file @
b45afc21
...
...
@@ -262,7 +262,7 @@ static int Open( vlc_object_t * p_this )
p_sys
->
p_block_out
=
p_block_out
;
/* Parse possible id3 header */
if
(
(
p_id3
=
module_Need
(
p_demux
,
"
id3
"
,
NULL
,
0
)
)
)
if
(
(
p_id3
=
module_Need
(
p_demux
,
"
meta reader
"
,
NULL
,
0
)
)
)
{
p_sys
->
meta
=
(
vlc_meta_t
*
)
p_demux
->
p_private
;
p_demux
->
p_private
=
NULL
;
...
...
modules/demux/util/Modules.am
deleted
100644 → 0
View file @
cf0bb5cf
SOURCES_id3tag = \
id3tag.c \
id3genres.h \
$(NULL)
modules/meta_engine/Modules.am
View file @
b45afc21
SOURCES_musicbrainz = musicbrainz.c
SOURCES_dummy = dummy.c
SOURCES_folder = folder.c
SOURCES_taglib = taglib.cpp
SOURCES_id3tag = id3tag.c id3genres.h $(NULL)
modules/
demux/util
/id3genres.h
→
modules/
meta_engine
/id3genres.h
View file @
b45afc21
File moved
modules/
demux/util
/id3tag.c
→
modules/
meta_engine
/id3tag.c
View file @
b45afc21
...
...
@@ -48,7 +48,7 @@ static int ParseID3Tags ( vlc_object_t * );
*****************************************************************************/
vlc_module_begin
();
set_description
(
_
(
"ID3 tags parser"
)
);
set_capability
(
"
id3
"
,
70
);
set_capability
(
"
meta reader
"
,
70
);
set_callbacks
(
ParseID3Tags
,
NULL
);
vlc_module_end
();
...
...
modules/m
isc
/taglib.cpp
→
modules/m
eta_engine
/taglib.cpp
View file @
b45afc21
...
...
@@ -33,12 +33,11 @@ vlc_module_begin();
set_capability
(
"meta reader"
,
1000
);
set_callbacks
(
ReadMeta
,
NULL
);
vlc_module_end
();
static
int
ReadMeta
(
vlc_object_t
*
p_this
)
{
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
fprintf
(
stderr
,
"Demuxing with %s
\n
"
,
p_demux
->
psz_access
);
if
(
!
strncmp
(
p_demux
->
psz_access
,
"file"
,
4
)
)
{
if
(
!
p_demux
->
p_private
)
...
...
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