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
bb7f307c
Commit
bb7f307c
authored
Jun 07, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport [20454] and [20448]
parent
570ff641
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
modules/access/cdda.c
modules/access/cdda.c
+3
-4
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+2
-2
No files found.
modules/access/cdda.c
View file @
bb7f307c
...
...
@@ -630,18 +630,17 @@ static int GetTracks( access_t *p_access, vlc_bool_t b_separate,
{
vlc_input_item_AddInfo
(
&
p_item
->
input
,
_
(
VLC_META_INFO_CAT
),
_
(
VLC_META_TITLE
),
_
(
VLC_META_TITLE
),
"%s"
,
cddb_track_get_title
(
t
)
);
if
(
p_item
->
input
.
psz_name
)
free
(
p_item
->
input
.
psz_name
);
asprintf
(
&
p_item
->
input
.
psz_name
,
"%s"
,
cddb_track_get_title
(
t
)
);
p_item
->
input
.
psz_name
=
strdup
(
cddb_track_get_title
(
t
)
);
}
psz_result
=
cddb_track_get_artist
(
t
);
if
(
psz_result
)
{
vlc_input_item_AddInfo
(
&
p_item
->
input
,
_
(
VLC_META_INFO_CAT
),
_
(
VLC_META_INFO_CAT
),
"%s"
,
_
(
VLC_META_ARTIST
),
psz_result
);
}
}
...
...
modules/services_discovery/sap.c
View file @
bb7f307c
...
...
@@ -840,12 +840,12 @@ sap_announce_t *CreateAnnounce( services_discovery_t *p_sd, uint16_t i_hash,
if
(
psz_value
!=
NULL
)
{
vlc_input_item_AddInfo
(
&
p_item
->
input
,
_
(
"Session"
),
_
(
"Tool"
),
psz_value
);
_
(
"Tool"
),
"%s"
,
psz_value
);
}
if
(
strcmp
(
p_sdp
->
psz_username
,
"-"
)
)
{
vlc_input_item_AddInfo
(
&
p_item
->
input
,
_
(
"Session"
),
_
(
"User"
),
p_sdp
->
psz_username
);
_
(
"User"
),
"%s"
,
p_sdp
->
psz_username
);
}
psz_value
=
GetAttribute
(
p_sap
->
p_sdp
,
"x-plgroup"
);
...
...
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