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
9f048445
Commit
9f048445
authored
Sep 15, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLC-specific playlist group support
parent
bc650c59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
src/stream_output/sdp.c
src/stream_output/sdp.c
+12
-4
No files found.
src/stream_output/sdp.c
View file @
9f048445
...
...
@@ -271,10 +271,6 @@ char *vlc_sdp_Start (vlc_object_t *obj, const char *cfgpref,
char
*
email
=
var_GetNonEmptyString
(
obj
,
varname
);
strcpy
(
subvar
,
"phone"
);
char
*
phone
=
var_GetNonEmptyString
(
obj
,
varname
);
#if 0
strcpy (subvar, "group");
char *group = var_GetNonEmptyString (obj, varname);
#endif
char
*
sdp
=
sdp_Start
(
name
,
description
,
url
,
email
,
phone
,
src
,
srclen
,
addr
,
addrlen
);
...
...
@@ -284,5 +280,17 @@ char *vlc_sdp_Start (vlc_object_t *obj, const char *cfgpref,
free
(
email
);
free
(
phone
);
if
(
sdp
==
NULL
)
return
NULL
;
/* Totally non-standard */
strcpy
(
subvar
,
"group"
);
char
*
group
=
var_GetNonEmptyString
(
obj
,
varname
);
if
(
group
!=
NULL
)
{
sdp_AddAttribute
(
&
sdp
,
"x-plgroup"
,
"%s"
,
group
)
free
(
group
);
}
return
sdp
;
}
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