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
3d7b2498
Commit
3d7b2498
authored
Mar 31, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modules/mux/mpeg/ts.c: add fourcc 'aac'
parent
4d7052eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
modules/mux/mpeg/ts.c
modules/mux/mpeg/ts.c
+6
-5
No files found.
modules/mux/mpeg/ts.c
View file @
3d7b2498
...
@@ -1046,25 +1046,26 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
...
@@ -1046,25 +1046,26 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
case
AUDIO_ES
:
case
AUDIO_ES
:
switch
(
p_input
->
p_fmt
->
i_codec
)
switch
(
p_input
->
p_fmt
->
i_codec
)
{
{
case
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'a'
):
case
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'a'
):
case
VLC_FOURCC
(
'm'
,
'p'
,
'3'
,
' '
):
case
VLC_FOURCC
(
'm'
,
'p'
,
'3'
,
' '
):
p_stream
->
i_stream_type
=
p_stream
->
i_stream_type
=
p_input
->
p_fmt
->
audio
.
i_rate
>=
32000
?
0x03
:
0x04
;
p_input
->
p_fmt
->
audio
.
i_rate
>=
32000
?
0x03
:
0x04
;
p_stream
->
i_stream_id
=
0xc0
;
p_stream
->
i_stream_id
=
0xc0
;
break
;
break
;
case
VLC_FOURCC
(
'a'
,
'5'
,
'2'
,
' '
):
case
VLC_FOURCC
(
'a'
,
'5'
,
'2'
,
' '
):
p_stream
->
i_stream_type
=
0x81
;
p_stream
->
i_stream_type
=
0x81
;
p_stream
->
i_stream_id
=
0xbd
;
p_stream
->
i_stream_id
=
0xbd
;
break
;
break
;
case
VLC_FOURCC
(
'l'
,
'p'
,
'c'
,
'm'
):
case
VLC_FOURCC
(
'l'
,
'p'
,
'c'
,
'm'
):
p_stream
->
i_stream_type
=
0x83
;
p_stream
->
i_stream_type
=
0x83
;
p_stream
->
i_stream_id
=
0xbd
;
p_stream
->
i_stream_id
=
0xbd
;
break
;
break
;
case
VLC_FOURCC
(
'd'
,
't'
,
's'
,
' '
):
case
VLC_FOURCC
(
'd'
,
't'
,
's'
,
' '
):
p_stream
->
i_stream_type
=
0x06
;
p_stream
->
i_stream_type
=
0x06
;
p_stream
->
i_stream_id
=
0xbd
;
p_stream
->
i_stream_id
=
0xbd
;
break
;
break
;
case
VLC_FOURCC
(
'm'
,
'p'
,
'4'
,
'a'
):
case
VLC_FOURCC
(
'a'
,
'a'
,
'c'
,
' '
):
case
VLC_FOURCC
(
'm'
,
'p'
,
'4'
,
'a'
):
/* XXX: make that configurable in some way when LOAS
/* XXX: make that configurable in some way when LOAS
* is implemented for AAC in TS */
* is implemented for AAC in TS */
//p_stream->i_stream_type = 0x11; /* LOAS/LATM */
//p_stream->i_stream_type = 0x11; /* LOAS/LATM */
...
...
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