Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a3311dd3
Commit
a3311dd3
authored
Feb 28, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SAP: add new payload types
parent
58469fda
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
modules/access/rtp/rtp.c
modules/access/rtp/rtp.c
+1
-0
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+2
-0
No files found.
modules/access/rtp/rtp.c
View file @
a3311dd3
...
@@ -602,6 +602,7 @@ int rtp_autodetect (demux_t *demux, rtp_session_t *session,
...
@@ -602,6 +602,7 @@ int rtp_autodetect (demux_t *demux, rtp_session_t *session,
.
number
=
ptype
,
.
number
=
ptype
,
};
};
/* Remember to keep this in sync with modules/services_discovery/sap.c */
switch
(
ptype
)
switch
(
ptype
)
{
{
case
0
:
case
0
:
...
...
modules/services_discovery/sap.c
View file @
a3311dd3
...
@@ -290,9 +290,11 @@ static bool IsWellKnownPayload (int type)
...
@@ -290,9 +290,11 @@ static bool IsWellKnownPayload (int type)
switch
(
type
)
switch
(
type
)
{
/* Should be in sync with modules/demux/rtp.c */
{
/* Should be in sync with modules/demux/rtp.c */
case
0
:
/* PCMU/8000 */
case
0
:
/* PCMU/8000 */
case
3
:
case
8
:
/* PCMA/8000 */
case
8
:
/* PCMA/8000 */
case
10
:
/* L16/44100/2 */
case
10
:
/* L16/44100/2 */
case
11
:
/* L16/44100 */
case
11
:
/* L16/44100 */
case
12
:
case
14
:
/* MPA/90000 */
case
14
:
/* MPA/90000 */
case
32
:
/* MPV/90000 */
case
32
:
/* MPV/90000 */
case
33
:
/* MP2/90000 */
case
33
:
/* MP2/90000 */
...
...
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