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
978bebf6
Commit
978bebf6
authored
Sep 21, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TS: put EAC3 in TS muxer
This should be useful to record TNT HD streams Thanks to Thannoy and Laurent
parent
cbc27099
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
modules/mux/mpeg/ts.c
modules/mux/mpeg/ts.c
+9
-0
No files found.
modules/mux/mpeg/ts.c
View file @
978bebf6
...
...
@@ -1054,6 +1054,10 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
p_stream
->
i_stream_type
=
0x81
;
p_stream
->
i_stream_id
=
0xbd
;
break
;
case
VLC_CODEC_EAC3
:
p_stream
->
i_stream_type
=
0x06
;
p_stream
->
i_stream_id
=
0xbd
;
break
;
case
VLC_CODEC_DVD_LPCM
:
p_stream
->
i_stream_type
=
0x83
;
p_stream
->
i_stream_id
=
0xbd
;
...
...
@@ -2697,6 +2701,11 @@ static void GetPMT( sout_mux_t *p_mux, sout_buffer_chain_t *c )
uint8_t
data
[
4
]
=
{
0x44
,
0x54
,
0x53
,
0x32
};
dvbpsi_PMTESAddDescriptor
(
p_es
,
0x05
,
4
,
data
);
}
else
if
(
p_stream
->
i_codec
==
VLC_CODEC_EAC3
)
{
uint8_t
data
[
1
]
=
{
0x00
};
dvbpsi_PMTESAddDescriptor
(
p_es
,
0x7a
,
1
,
data
);
}
else
if
(
p_stream
->
i_codec
==
VLC_CODEC_TELETEXT
)
{
if
(
p_stream
->
i_decoder_specific_info
)
...
...
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