Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
6ff05234
Commit
6ff05234
authored
Jan 29, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Should fix CDDA build
parent
9653b36c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
modules/access/cdda.c
modules/access/cdda.c
+8
-5
No files found.
modules/access/cdda.c
View file @
6ff05234
...
...
@@ -562,9 +562,10 @@ static int GetTracks( access_t *p_access, vlc_bool_t b_separate,
GetCDDBInfo
(
p_access
,
p_sys
->
i_titles
,
p_sys
->
p_sectors
);
if
(
p_sys
->
p_disc
)
{
if
(
p_sys
->
p_disc
->
title
)
if
(
cddb_disc_get_title
(
p_sys
->
p_disc
)
)
{
asprintf
(
&
psz_name
,
"%s"
,
p_sys
->
p_disc
->
title
);
asprintf
(
&
psz_name
,
"%s"
,
cddb_disc_get_title
(
p_sys
->
p_disc
)
);
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
playlist_ItemSetName
(
p_parent
,
psz_name
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
...
...
@@ -620,14 +621,16 @@ static int GetTracks( access_t *p_access, vlc_bool_t b_separate,
cddb_track_t
*
t
=
cddb_disc_get_track
(
p_sys
->
p_disc
,
i
);
if
(
t
!=
NULL
)
{
if
(
t
->
title
!=
NULL
)
if
(
cddb_track_get_title
(
t
)
!=
NULL
)
{
vlc_input_item_AddInfo
(
&
p_item
->
input
,
_
(
"Meta-information"
),
VLC_META_TITLE
,
t
->
title
);
VLC_META_TITLE
,
cddb_track_get_title
(
t
)
);
if
(
p_item
->
input
.
psz_name
)
free
(
p_item
->
input
.
psz_name
);
asprintf
(
&
p_item
->
input
.
psz_name
,
"%s"
,
t
->
title
);
asprintf
(
&
p_item
->
input
.
psz_name
,
"%s"
,
cddb_track_get_title
(
t
)
);
}
psz_result
=
cddb_track_get_artist
(
t
);
if
(
psz_result
)
...
...
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