Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
b045fd3d
Commit
b045fd3d
authored
Sep 28, 2009
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
live555: support for subtitle tracks
T.140 support will be included in the next release of live555
parent
da17ee33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
modules/demux/live555.cpp
modules/demux/live555.cpp
+11
-0
No files found.
modules/demux/live555.cpp
View file @
b045fd3d
...
@@ -694,6 +694,8 @@ static int SessionsSetup( demux_t *p_demux )
...
@@ -694,6 +694,8 @@ static int SessionsSetup( demux_t *p_demux )
i_buffer
=
100000
;
i_buffer
=
100000
;
else
if
(
!
strcmp
(
sub
->
mediumName
(),
"video"
)
)
else
if
(
!
strcmp
(
sub
->
mediumName
(),
"video"
)
)
i_buffer
=
2000000
;
i_buffer
=
2000000
;
else
if
(
!
strcmp
(
sub
->
mediumName
(),
"text"
)
)
;
else
continue
;
else
continue
;
if
(
i_client_port
!=
-
1
)
if
(
i_client_port
!=
-
1
)
...
@@ -1003,6 +1005,15 @@ static int SessionsSetup( demux_t *p_demux )
...
@@ -1003,6 +1005,15 @@ static int SessionsSetup( demux_t *p_demux )
p_demux
->
out
);
p_demux
->
out
);
}
}
}
}
else
if
(
!
strcmp
(
sub
->
mediumName
(),
"text"
)
)
{
es_format_Init
(
&
tk
->
fmt
,
SPU_ES
,
VLC_FOURCC
(
'u'
,
'n'
,
'd'
,
'f'
)
);
if
(
!
strcmp
(
sub
->
codecName
(),
"T140"
)
)
{
tk
->
fmt
.
i_codec
=
VLC_CODEC_ITU_T140
;
}
}
if
(
!
tk
->
b_quicktime
&&
!
tk
->
b_muxed
&&
!
tk
->
b_asf
)
if
(
!
tk
->
b_quicktime
&&
!
tk
->
b_muxed
&&
!
tk
->
b_asf
)
{
{
...
...
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