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
54eff3ec
Commit
54eff3ec
authored
Jul 05, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SAP: add PCM payload types which are now supported
This should allow VLC to receive from PulseAudio RTP (untested)
parent
f4461d2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+13
-4
No files found.
modules/services_discovery/sap.c
View file @
54eff3ec
...
...
@@ -394,10 +394,19 @@ static int OpenDemux( vlc_object_t *p_this )
{
p_sdp
->
psz_uri
=
NULL
;
}
if
(
p_sdp
->
i_media_type
!=
33
&&
p_sdp
->
i_media_type
!=
32
&&
p_sdp
->
i_media_type
!=
14
)
switch
(
p_sdp
->
i_media_type
)
{
/* Should be in sync with modules/demux/rtp.c */
case
0
:
/* PCMU/8000 */
case
8
:
/* PCMA/8000 */
case
10
:
/* L16/44100/2 */
case
11
:
/* L16/44100 */
case
14
:
/* MPA/90000 */
case
32
:
/* MPV/90000 */
case
33
:
/* MP2/90000 */
break
;
default:
goto
error
;
}
if
(
p_sdp
->
psz_uri
==
NULL
)
goto
error
;
p_demux
->
p_sys
=
(
demux_sys_t
*
)
malloc
(
sizeof
(
demux_sys_t
)
);
...
...
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