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
dab282c1
Commit
dab282c1
authored
Mar 14, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SDP: send the standard "cat" attribute in addition to "x-plgroup"
(cherry picked from commit
6b5b319c
)
parent
e622d04e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
src/stream_output/sdp.c
src/stream_output/sdp.c
+7
-6
No files found.
src/stream_output/sdp.c
View file @
dab282c1
...
...
@@ -292,13 +292,14 @@ char *vlc_sdp_Start (vlc_object_t *obj, const char *cfgpref,
if
(
sdp
==
NULL
)
return
NULL
;
/* Totally non-standard */
strcpy
(
subvar
,
"group"
);
char
*
group
=
var_GetNonEmptyString
(
obj
,
varname
);
if
(
group
!=
NULL
)
strcpy
(
subvar
,
"cat"
);
char
*
cat
=
var_GetNonEmptyString
(
obj
,
varname
);
if
(
cat
!=
NULL
)
{
sdp_AddAttribute
(
&
sdp
,
"x-plgroup"
,
"%s"
,
group
);
free
(
group
);
sdp_AddAttribute
(
&
sdp
,
"cat"
,
"%s"
,
cat
);
/* Totally non-standard */
sdp_AddAttribute
(
&
sdp
,
"x-plgroup"
,
"%s"
,
cat
);
free
(
cat
);
}
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