Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
e60b15c3
Commit
e60b15c3
authored
Jun 22, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/livedotcom.cpp: - ts2 -> ts
- take into account !rtpSource (for UDP support)
parent
da1822b6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
modules/demux/livedotcom.cpp
modules/demux/livedotcom.cpp
+8
-7
No files found.
modules/demux/livedotcom.cpp
View file @
e60b15c3
...
@@ -158,8 +158,6 @@ static int AccessOpen( vlc_object_t *p_this )
...
@@ -158,8 +158,6 @@ static int AccessOpen( vlc_object_t *p_this )
p_sys
->
i_sdp
=
strlen
(
p_sys
->
p_sdp
);
p_sys
->
i_sdp
=
strlen
(
p_sys
->
p_sdp
);
p_sys
->
i_pos
=
0
;
p_sys
->
i_pos
=
0
;
//fprintf( stderr, "sdp=%s\n", p_sys->p_sdp );
delete
env
;
delete
env
;
delete
scheduler
;
delete
scheduler
;
...
@@ -455,13 +453,16 @@ static int DemuxOpen ( vlc_object_t *p_this )
...
@@ -455,13 +453,16 @@ static int DemuxOpen ( vlc_object_t *p_this )
msg_Warn
(
p_demux
,
"RTP subsession '%s/%s' failed(%s)"
,
sub
->
mediumName
(),
sub
->
codecName
(),
p_sys
->
env
->
getResultMsg
()
);
msg_Warn
(
p_demux
,
"RTP subsession '%s/%s' failed(%s)"
,
sub
->
mediumName
(),
sub
->
codecName
(),
p_sys
->
env
->
getResultMsg
()
);
}
}
else
else
{
if
(
sub
->
rtpSource
()
)
{
{
int
fd
=
sub
->
rtpSource
()
->
RTPgs
()
->
socketNum
();
int
fd
=
sub
->
rtpSource
()
->
RTPgs
()
->
socketNum
();
/* Increase the buffer size */
increaseReceiveBufferTo
(
*
p_sys
->
env
,
fd
,
i_buffer
);
}
msg_Dbg
(
p_demux
,
"RTP subsession '%s/%s'"
,
sub
->
mediumName
(),
sub
->
codecName
()
);
msg_Dbg
(
p_demux
,
"RTP subsession '%s/%s'"
,
sub
->
mediumName
(),
sub
->
codecName
()
);
/* Increase the buffer size */
increaseReceiveBufferTo
(
*
p_sys
->
env
,
fd
,
i_buffer
);
/* Issue the SETUP */
/* Issue the SETUP */
if
(
p_sys
->
rtsp
)
if
(
p_sys
->
rtsp
)
{
{
...
@@ -612,12 +613,12 @@ static int DemuxOpen ( vlc_object_t *p_this )
...
@@ -612,12 +613,12 @@ static int DemuxOpen ( vlc_object_t *p_this )
else
if
(
!
strcmp
(
sub
->
codecName
(),
"MP2T"
)
)
else
if
(
!
strcmp
(
sub
->
codecName
(),
"MP2T"
)
)
{
{
tk
->
b_muxed
=
VLC_TRUE
;
tk
->
b_muxed
=
VLC_TRUE
;
tk
->
p_out_muxed
=
stream_DemuxNew
(
p_demux
,
"ts
2
"
,
p_demux
->
out
);
tk
->
p_out_muxed
=
stream_DemuxNew
(
p_demux
,
"ts"
,
p_demux
->
out
);
}
}
else
if
(
!
strcmp
(
sub
->
codecName
(),
"MP2P"
)
||
!
strcmp
(
sub
->
codecName
(),
"MP1S"
)
)
else
if
(
!
strcmp
(
sub
->
codecName
(),
"MP2P"
)
||
!
strcmp
(
sub
->
codecName
(),
"MP1S"
)
)
{
{
tk
->
b_muxed
=
VLC_TRUE
;
tk
->
b_muxed
=
VLC_TRUE
;
tk
->
p_out_muxed
=
stream_DemuxNew
(
p_demux
,
"ps
2
"
,
p_demux
->
out
);
tk
->
p_out_muxed
=
stream_DemuxNew
(
p_demux
,
"ps"
,
p_demux
->
out
);
}
}
}
}
...
...
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