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
55334eea
Commit
55334eea
authored
Jan 12, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
access_out/udp: cleanup
parent
c82d4a8b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/access_output/udp.c
modules/access_output/udp.c
+2
-2
No files found.
modules/access_output/udp.c
View file @
55334eea
...
@@ -343,7 +343,7 @@ static ssize_t Write( sout_access_out_t *p_access, block_t *p_buffer )
...
@@ -343,7 +343,7 @@ static ssize_t Write( sout_access_out_t *p_access, block_t *p_buffer )
if
(
p_sys
->
p_buffer
->
i_dts
+
p_sys
->
i_caching
<
now
)
if
(
p_sys
->
p_buffer
->
i_dts
+
p_sys
->
i_caching
<
now
)
{
{
msg_Dbg
(
p_access
,
"late packet for udp input (%"
PRId64
")"
,
msg_Dbg
(
p_access
,
"late packet for udp input (%"
PRId64
")"
,
mdate
()
-
p_sys
->
p_buffer
->
i_dts
now
-
p_sys
->
p_buffer
->
i_dts
-
p_sys
->
i_caching
);
-
p_sys
->
i_caching
);
}
}
block_FifoPut
(
p_sys
->
p_fifo
,
p_sys
->
p_buffer
);
block_FifoPut
(
p_sys
->
p_fifo
,
p_sys
->
p_buffer
);
...
@@ -433,7 +433,7 @@ static void* ThreadWrite( void *data )
...
@@ -433,7 +433,7 @@ static void* ThreadWrite( void *data )
i_dropped_packets
++
;
i_dropped_packets
++
;
continue
;
continue
;
}
}
else
if
(
i_date
-
i_date_last
<
-
1000
)
else
if
(
(
int
)(
i_date
-
i_date_last
)
<
-
1000
)
{
{
if
(
!
i_dropped_packets
)
if
(
!
i_dropped_packets
)
msg_Dbg
(
p_access
,
"mmh, packets in the past (%"
PRId64
")"
,
msg_Dbg
(
p_access
,
"mmh, packets in the past (%"
PRId64
")"
,
...
...
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