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
6cb31d5d
Commit
6cb31d5d
authored
Nov 22, 2005
by
Marian Durkovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backport [13283] [13272]
parent
215d0496
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
13 deletions
+4
-13
modules/access/udp.c
modules/access/udp.c
+4
-13
No files found.
modules/access/udp.c
View file @
6cb31d5d
...
...
@@ -191,16 +191,7 @@ static int Open( vlc_object_t *p_this )
/* Set up p_access */
p_access
->
pf_read
=
NULL
;
if
(
!
strcasecmp
(
p_access
->
psz_access
,
"rtp"
)
||
!
strcasecmp
(
p_access
->
psz_access
,
"rtp4"
)
||
!
strcasecmp
(
p_access
->
psz_access
,
"rtp6"
)
)
{
p_access
->
pf_block
=
BlockRTP
;
}
else
{
p_access
->
pf_block
=
BlockChoose
;
}
p_access
->
pf_block
=
BlockChoose
;
p_access
->
pf_control
=
Control
;
p_access
->
pf_seek
=
NULL
;
p_access
->
info
.
i_update
=
0
;
...
...
@@ -528,9 +519,6 @@ static block_t *BlockRTP( access_t *p_access )
if
(
!
p
)
return
NULL
;
if
(
!
p_access
->
info
.
b_prebuffered
)
return
BlockPrebufferRTP
(
p_access
,
p
);
rtp_ChainInsert
(
p_access
,
p
);
}
...
...
@@ -564,6 +552,7 @@ static block_t *BlockChoose( access_t *p_access )
{
msg_Dbg
(
p_access
,
"detected TS over raw UDP"
);
p_access
->
pf_block
=
BlockUDP
;
p_access
->
info
.
b_prebuffered
=
VLC_TRUE
;
return
p_block
;
}
...
...
@@ -581,6 +570,7 @@ static block_t *BlockChoose( access_t *p_access )
{
msg_Dbg
(
p_access
,
"no supported RTP header detected"
);
p_access
->
pf_block
=
BlockUDP
;
p_access
->
info
.
b_prebuffered
=
VLC_TRUE
;
return
p_block
;
}
...
...
@@ -604,6 +594,7 @@ static block_t *BlockChoose( access_t *p_access )
default:
msg_Dbg
(
p_access
,
"no RTP header detected"
);
p_access
->
pf_block
=
BlockUDP
;
p_access
->
info
.
b_prebuffered
=
VLC_TRUE
;
return
p_block
;
}
...
...
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