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
15527aa0
Commit
15527aa0
authored
Jan 22, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
live555: add audio/DAT12 and audio/L20 RTP payload formats
parent
77f8c2d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
modules/demux/live555.cpp
modules/demux/live555.cpp
+10
-0
No files found.
modules/demux/live555.cpp
View file @
15527aa0
...
@@ -852,6 +852,11 @@ static int SessionsSetup( demux_t *p_demux )
...
@@ -852,6 +852,11 @@ static int SessionsSetup( demux_t *p_demux )
tk
->
fmt
.
i_codec
=
VLC_CODEC_S16B
;
tk
->
fmt
.
i_codec
=
VLC_CODEC_S16B
;
tk
->
fmt
.
audio
.
i_bitspersample
=
16
;
tk
->
fmt
.
audio
.
i_bitspersample
=
16
;
}
}
else
if
(
!
strcmp
(
sub
->
codecName
(),
"L20"
)
)
{
tk
->
fmt
.
i_codec
=
VLC_CODEC_S20B
;
tk
->
fmt
.
audio
.
i_bitspersample
=
20
;
}
else
if
(
!
strcmp
(
sub
->
codecName
(),
"L24"
)
)
else
if
(
!
strcmp
(
sub
->
codecName
(),
"L24"
)
)
{
{
tk
->
fmt
.
i_codec
=
VLC_CODEC_S24B
;
tk
->
fmt
.
i_codec
=
VLC_CODEC_S24B
;
...
@@ -862,6 +867,11 @@ static int SessionsSetup( demux_t *p_demux )
...
@@ -862,6 +867,11 @@ static int SessionsSetup( demux_t *p_demux )
tk
->
fmt
.
i_codec
=
VLC_CODEC_U8
;
tk
->
fmt
.
i_codec
=
VLC_CODEC_U8
;
tk
->
fmt
.
audio
.
i_bitspersample
=
8
;
tk
->
fmt
.
audio
.
i_bitspersample
=
8
;
}
}
else
if
(
!
strcmp
(
sub
->
codecName
(),
"DAT12"
)
)
{
tk
->
fmt
.
i_codec
=
VLC_CODEC_DAT12
;
tk
->
fmt
.
audio
.
i_bitspersample
=
12
;
}
else
if
(
!
strcmp
(
sub
->
codecName
(),
"PCMU"
)
)
else
if
(
!
strcmp
(
sub
->
codecName
(),
"PCMU"
)
)
{
{
tk
->
fmt
.
i_codec
=
VLC_CODEC_MULAW
;
tk
->
fmt
.
i_codec
=
VLC_CODEC_MULAW
;
...
...
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