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
3d7ef3d1
Commit
3d7ef3d1
authored
Feb 20, 2005
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add sdp meta-data to playlist
parent
3907a932
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+12
-1
No files found.
modules/services_discovery/sap.c
View file @
3d7ef3d1
...
...
@@ -836,6 +836,18 @@ sap_announce_t *CreateAnnounce( services_discovery_t *p_sd, uint16_t i_hash,
return
NULL
;
}
psz_value
=
GetAttribute
(
p_sap
->
p_sdp
,
"tool"
);
if
(
psz_value
!=
NULL
)
{
vlc_input_item_AddInfo
(
&
p_item
->
input
,
_
(
"Session"
),
_
(
"Tool"
),
psz_value
);
}
if
(
strcmp
(
p_sdp
->
psz_username
,
"-"
)
)
{
vlc_input_item_AddInfo
(
&
p_item
->
input
,
_
(
"Session"
),
_
(
"User"
),
p_sdp
->
psz_username
);
}
psz_value
=
GetAttribute
(
p_sap
->
p_sdp
,
"x-plgroup"
);
if
(
psz_value
==
NULL
)
...
...
@@ -1058,7 +1070,6 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
psz_proto
=
strdup
(
"udp"
);
}
/* FIXME: HTTP support */
if
(
i_port
==
0
)
...
...
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