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
56c78d09
Commit
56c78d09
authored
Feb 12, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix previous commit
parent
9a621370
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
modules/access/udp.c
modules/access/udp.c
+8
-5
No files found.
modules/access/udp.c
View file @
56c78d09
...
...
@@ -236,7 +236,11 @@ static int Open( vlc_object_t *p_this )
p_sys
->
b_framed_rtp
=
b_framed
;
if
(
b_framed
)
{
/* We don't do autodetection and prebuffering in case of framing */
p_access
->
pf_block
=
BlockRTP
;
p_sys
->
i_mtu
=
65535
;
}
else
{
/* FIXME */
...
...
@@ -577,9 +581,7 @@ static block_t *BlockPrebufferRTP( access_t *p_access, block_t *p_block )
if
(
i_count
>
2
&&
(
i_date
-
i_first
)
>
p_sys
->
i_rtp_late
)
break
;
p
=
BlockParseRTP
(
p_access
,
p_sys
->
b_framed_rtp
?
BlockTCP
(
p_access
)
:
BlockUDP
(
p_access
)
);
p
=
BlockParseRTP
(
p_access
,
BlockUDP
(
p_access
)
);
if
(
!
p
&&
(
i_date
-
i_first
)
>
p_sys
->
i_rtp_late
)
{
msg_Err
(
p_access
,
"error in RTP prebuffering!"
);
...
...
@@ -604,8 +606,9 @@ static block_t *BlockRTP( access_t *p_access )
while
(
!
p_sys
->
p_list
||
(
mdate
()
-
p_sys
->
p_list
->
i_pts
)
<
p_sys
->
i_rtp_late
)
{
p
=
BlockParseRTP
(
p_access
,
BlockUDP
(
p_access
));
p
=
BlockParseRTP
(
p_access
,
p_sys
->
b_framed_rtp
?
BlockTCP
(
p_access
)
:
BlockUDP
(
p_access
)
);
if
(
!
p
)
return
NULL
;
...
...
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