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
7bb72c58
Commit
7bb72c58
authored
Jun 19, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access_output/udp.c: removed unnecessary code.
parent
81e49420
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
14 deletions
+7
-14
modules/access_output/udp.c
modules/access_output/udp.c
+7
-14
No files found.
modules/access_output/udp.c
View file @
7bb72c58
...
...
@@ -2,7 +2,7 @@
* udp.c
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: udp.c,v 1.
9 2003/06/19 18:22:05
gbazin Exp $
* $Id: udp.c,v 1.
10 2003/06/19 18:45:06
gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org>
...
...
@@ -379,25 +379,15 @@ static void ThreadWrite( vlc_object_t *p_this )
/* Get the i_pts_delay value */
i_pts_delay
=
config_GetInt
(
p_this
,
"udp-sout-caching"
)
*
1000
;
while
(
!
p_thread
->
b_die
&&
p_thread
->
p_fifo
->
i_depth
<
5
)
{
msleep
(
10000
);
}
if
(
p_thread
->
b_die
)
{
return
;
}
p_buffer
=
sout_FifoShow
(
p_thread
->
p_fifo
);
p_buffer
=
sout_FifoGet
(
p_thread
->
p_fifo
);
if
(
p_thread
->
b_die
)
return
;
i_date
=
mdate
()
+
i_pts_delay
-
p_buffer
->
i_dts
;
while
(
1
)
{
mtime_t
i_wait
;
p_buffer
=
sout_FifoGet
(
p_thread
->
p_fifo
);
if
(
p_thread
->
b_die
)
return
;
i_wait
=
i_date
+
p_buffer
->
i_dts
;
if
(
i_wait
-
mdate
()
>
MAX_ERROR
||
i_wait
-
mdate
()
<
-
MAX_ERROR
)
...
...
@@ -413,5 +403,8 @@ static void ThreadWrite( vlc_object_t *p_this )
send
(
p_thread
->
i_handle
,
p_buffer
->
p_buffer
,
p_buffer
->
i_size
,
0
);
sout_BufferDelete
(
p_sout
,
p_buffer
);
p_buffer
=
sout_FifoGet
(
p_thread
->
p_fifo
);
if
(
p_thread
->
b_die
)
return
;
}
}
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