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
7527abe7
Commit
7527abe7
authored
Mar 16, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* G726 settings for liveMedia refs #601
parent
792638dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
modules/demux/livedotcom.cpp
modules/demux/livedotcom.cpp
+6
-4
No files found.
modules/demux/livedotcom.cpp
View file @
7527abe7
...
@@ -489,14 +489,16 @@ static int Open ( vlc_object_t *p_this )
...
@@ -489,14 +489,16 @@ static int Open ( vlc_object_t *p_this )
else
if
(
!
strncmp
(
sub
->
codecName
(),
"G726"
,
4
)
)
else
if
(
!
strncmp
(
sub
->
codecName
(),
"G726"
,
4
)
)
{
{
tk
->
fmt
.
i_codec
=
VLC_FOURCC
(
'g'
,
'7'
,
'2'
,
'6'
);
tk
->
fmt
.
i_codec
=
VLC_FOURCC
(
'g'
,
'7'
,
'2'
,
'6'
);
tk
->
fmt
.
audio
.
i_rate
=
8000
;
tk
->
fmt
.
audio
.
i_channels
=
1
;
if
(
!
strcmp
(
sub
->
codecName
()
+
5
,
"40"
)
)
if
(
!
strcmp
(
sub
->
codecName
()
+
5
,
"40"
)
)
tk
->
fmt
.
audio
.
i_bitspersample
=
5
;
tk
->
fmt
.
i_bitrate
=
40000
;
else
if
(
!
strcmp
(
sub
->
codecName
()
+
5
,
"32"
)
)
else
if
(
!
strcmp
(
sub
->
codecName
()
+
5
,
"32"
)
)
tk
->
fmt
.
audio
.
i_bitspersample
=
4
;
tk
->
fmt
.
i_bitrate
=
32000
;
else
if
(
!
strcmp
(
sub
->
codecName
()
+
5
,
"24"
)
)
else
if
(
!
strcmp
(
sub
->
codecName
()
+
5
,
"24"
)
)
tk
->
fmt
.
audio
.
i_bitspersample
=
3
;
tk
->
fmt
.
i_bitrate
=
24000
;
else
if
(
!
strcmp
(
sub
->
codecName
()
+
5
,
"16"
)
)
else
if
(
!
strcmp
(
sub
->
codecName
()
+
5
,
"16"
)
)
tk
->
fmt
.
audio
.
i_bitspersample
=
2
;
tk
->
fmt
.
i_bitrate
=
16000
;
}
}
else
if
(
!
strcmp
(
sub
->
codecName
(),
"AMR"
)
)
else
if
(
!
strcmp
(
sub
->
codecName
(),
"AMR"
)
)
{
{
...
...
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