Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
4a4ecf29
Commit
4a4ecf29
authored
Mar 14, 2018
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: ts: set DTSH descriptor
parent
ebfff8ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/mux/mpeg/tables.c
modules/mux/mpeg/tables.c
+6
-1
No files found.
modules/mux/mpeg/tables.c
View file @
4a4ecf29
...
...
@@ -43,6 +43,7 @@
#include "pes.h"
#include "../../codec/jpeg2000.h"
#include "../../packetizer/dts_header.h"
#include <assert.h>
...
...
@@ -545,7 +546,11 @@ void BuildPMT( dvbpsi_t *p_dvbpsi, vlc_object_t *p_object,
{
uint8_t
i_ver
;
/* DTS registration descriptor (ETSI TS 101 154 Annex F) */
if
(
vlc_popcount
(
p_stream
->
fmt
->
audio
.
i_frame_length
)
==
1
)
if
(
p_stream
->
fmt
->
i_profile
==
PROFILE_DTS_HD
)
{
i_ver
=
'H'
;
}
else
if
(
vlc_popcount
(
p_stream
->
fmt
->
audio
.
i_frame_length
)
==
1
)
{
i_ver
=
ctz
(
p_stream
->
fmt
->
audio
.
i_frame_length
>>
8
);
if
(
i_ver
==
0
||
i_ver
>
3
)
...
...
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