Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
37bd4719
Commit
37bd4719
authored
Jun 28, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mostly fix GME meta
parent
5e2c9b52
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
modules/demux/asf/asf.c
modules/demux/asf/asf.c
+1
-1
modules/demux/gme.cpp
modules/demux/gme.cpp
+15
-15
No files found.
modules/demux/asf/asf.c
View file @
37bd4719
...
...
@@ -831,7 +831,7 @@ static int DemuxInit( demux_t *p_demux )
vlc_meta_SetRating
(
p_sys
->
meta
,
p_cd
->
psz_rating
);
}
}
fprintf
(
stderr
,
"*********** Unhandled child meta
\n
"
);
/// \tood Fix Child meta for ASF tracks
#if 0
for( i_stream = 0, i = 0; i < 128; i++ )
{
...
...
modules/demux/gme.cpp
View file @
37bd4719
...
...
@@ -221,11 +221,9 @@ static int Open( vlc_object_t *p_this )
p_sys
->
p_meta
=
vlc_meta_New
();
char
psz_temp
[
512
];
#define SET_META(vlc_meta, meta_info...) \
snprintf( psz_temp, 511, meta_info ); \
vlc_meta_Add( p_sys->p_meta, vlc_meta, psz_temp );
SET_META
(
VLC_META_CODEC_NAME
,
type_str
[
p_sys
->
i_type
])
/// \todo Reinstate meta codec name
//SET_META( VLC_META_CODEC_NAME, type_str[p_sys->i_type])
const
char
*
p_error
;
...
...
@@ -236,9 +234,9 @@ static int Open( vlc_object_t *p_this )
INIT_EMU
(
Nsf
)
if
(
p_error
==
NULL
)
{
SET_META
(
VLC_META_TITLE
,
"%s"
,
header
.
game
)
SET_META
(
VLC_META_AUTHOR
,
"%s"
,
header
.
author
)
SET_META
(
VLC_META_COPYRIGHT
,
"%s"
,
header
.
copyright
)
vlc_meta_SetTitle
(
p_meta
,
header
.
game
);
vlc_meta_SetArtist
(
p_meta
,
header
.
author
);
vlc_meta_SetCopyright
(
p_meta
,
header
.
copyright
);
p_sys
->
i_tracks
=
p_emu
->
track_count
();
}
}
...
...
@@ -248,9 +246,9 @@ static int Open( vlc_object_t *p_this )
INIT_EMU
(
Gbs
)
if
(
p_error
==
NULL
)
{
SET_META
(
VLC_META_TITLE
,
"%s"
,
header
.
game
)
SET_META
(
VLC_META_AUTHOR
,
"%s"
,
header
.
author
)
SET_META
(
VLC_META_COPYRIGHT
,
"%s"
,
header
.
copyright
)
vlc_meta_SetTitle
(
p_meta
,
header
.
game
);
vlc_meta_SetArtist
(
p_meta
,
header
.
author
);
vlc_meta_SetCopyright
(
p_meta
,
header
.
copyright
);
p_sys
->
i_tracks
=
p_emu
->
track_count
();
}
}
...
...
@@ -269,8 +267,9 @@ static int Open( vlc_object_t *p_this )
INIT_EMU
(
Spc
)
if
(
p_error
==
NULL
)
{
SET_META
(
VLC_META_TITLE
,
"%s (%s)"
,
header
.
song
,
header
.
game
)
SET_META
(
VLC_META_AUTHOR
,
"%s"
,
header
.
author
)
snprintf
(
psz_temp
,
511
,
"%s (%s)"
,
header
.
song
,
header
.
game
);
vlc_meta_SetTitle
(
p_meta
,
psz_temp
);
vlc_meta_SetArtist
(
p_meta
,
header
.
author
);
p_sys
->
i_tracks
=
p_emu
->
track_count
();
}
}
...
...
@@ -280,8 +279,9 @@ static int Open( vlc_object_t *p_this )
INIT_EMU
(
Gym
)
if
(
p_error
==
NULL
)
{
SET_META
(
VLC_META_TITLE
,
"%s (%s)"
,
header
.
song
,
header
.
game
)
SET_META
(
VLC_META_COPYRIGHT
,
"%s"
,
header
.
copyright
)
snprintf
(
psz_temp
,
511
,
"%s (%s)"
,
header
.
song
,
header
.
game
);
vlc_meta_SetTitle
(
p_meta
,
psz_temp
);
vlc_meta_SetCopyright
(
p_meta
,
header
.
copyright
);
p_sys
->
i_tracks
=
p_emu
->
track_count
();
}
}
...
...
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