Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
e6d75333
Commit
e6d75333
authored
Jun 07, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access_output/udp.c: More verbosity when the mux itself is late.
parent
bad37ffd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
modules/access_output/udp.c
modules/access_output/udp.c
+14
-1
No files found.
modules/access_output/udp.c
View file @
e6d75333
...
...
@@ -364,6 +364,12 @@ static int Write( sout_access_out_t *p_access, block_t *p_buffer )
if
(
p_sys
->
p_buffer
&&
p_sys
->
p_buffer
->
i_buffer
+
p_buffer
->
i_buffer
>
p_sys
->
i_mtu
)
{
if
(
p_sys
->
p_buffer
->
i_dts
+
p_sys
->
p_thread
->
i_caching
<
mdate
()
)
{
msg_Dbg
(
p_access
,
"late packet for udp input ("
I64Fd
")"
,
mdate
()
-
p_sys
->
p_buffer
->
i_dts
-
p_sys
->
p_thread
->
i_caching
);
}
block_FifoPut
(
p_sys
->
p_thread
->
p_fifo
,
p_sys
->
p_buffer
);
p_sys
->
p_buffer
=
NULL
;
}
...
...
@@ -396,6 +402,13 @@ static int Write( sout_access_out_t *p_access, block_t *p_buffer )
if
(
p_sys
->
p_buffer
->
i_buffer
==
p_sys
->
i_mtu
||
i_packets
>
1
)
{
/* Flush */
if
(
p_sys
->
p_buffer
->
i_dts
+
p_sys
->
p_thread
->
i_caching
<
mdate
()
)
{
msg_Dbg
(
p_access
,
"late packet for udp input ("
I64Fd
")"
,
mdate
()
-
p_sys
->
p_buffer
->
i_dts
-
p_sys
->
p_thread
->
i_caching
);
}
block_FifoPut
(
p_sys
->
p_thread
->
p_fifo
,
p_sys
->
p_buffer
);
p_sys
->
p_buffer
=
NULL
;
}
...
...
@@ -533,7 +546,7 @@ static void ThreadWrite( vlc_object_t *p_this )
i_dropped_packets
++
;
continue
;
}
else
if
(
i_date
-
i_date_last
<
0
)
else
if
(
i_date
-
i_date_last
<
-
100
0
)
{
if
(
!
i_dropped_packets
)
msg_Dbg
(
p_thread
,
"mmh, packets in the past ("
I64Fd
")"
,
...
...
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