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
f4311b58
Commit
f4311b58
authored
Oct 06, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/mux/mpeg/ts.c: a couple of fixes for DVB subtitles streaming.
parent
be53b9ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/mux/mpeg/ts.c
modules/mux/mpeg/ts.c
+2
-2
No files found.
modules/mux/mpeg/ts.c
View file @
f4311b58
...
@@ -651,7 +651,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
...
@@ -651,7 +651,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
case
VLC_FOURCC
(
'd'
,
'v'
,
'b'
,
's'
):
case
VLC_FOURCC
(
'd'
,
'v'
,
'b'
,
's'
):
p_stream
->
i_stream_type
=
0x06
;
p_stream
->
i_stream_type
=
0x06
;
p_stream
->
i_es_id
=
p_input
->
p_fmt
->
subs
.
dvb
.
i_id
;
p_stream
->
i_es_id
=
p_input
->
p_fmt
->
subs
.
dvb
.
i_id
;
p_stream
->
i_stream_id
=
0x
a0
;
p_stream
->
i_stream_id
=
0x
bd
;
break
;
break
;
default:
default:
free
(
p_stream
);
free
(
p_stream
);
...
@@ -1895,7 +1895,7 @@ static void GetPMT( sout_mux_t *p_mux,
...
@@ -1895,7 +1895,7 @@ static void GetPMT( sout_mux_t *p_mux,
dvbpsi_descriptor_t
*
p_descr
;
dvbpsi_descriptor_t
*
p_descr
;
memcpy
(
sub
.
i_iso6392_language_code
,
p_stream
->
lang
,
3
);
memcpy
(
sub
.
i_iso6392_language_code
,
p_stream
->
lang
,
3
);
sub
.
i_subtitling_type
=
0
;
sub
.
i_subtitling_type
=
0
x10
;
/* no aspect-ratio criticality */
sub
.
i_composition_page_id
=
p_stream
->
i_es_id
&
0xFF
;
sub
.
i_composition_page_id
=
p_stream
->
i_es_id
&
0xFF
;
sub
.
i_ancillary_page_id
=
p_stream
->
i_es_id
>>
16
;
sub
.
i_ancillary_page_id
=
p_stream
->
i_es_id
>>
16
;
...
...
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