Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
6b5b319c
Commit
6b5b319c
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"
parent
aea7f120
Changes
1
Hide 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 @
6b5b319c
...
...
@@ -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