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
67844cf2
Commit
67844cf2
authored
Feb 08, 2006
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
access_output/udp.c: Attach the writer thread. Fixes missing headers.
parent
0fec2240
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
modules/access_output/udp.c
modules/access_output/udp.c
+7
-2
No files found.
modules/access_output/udp.c
View file @
67844cf2
...
...
@@ -238,6 +238,7 @@ static int Open( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
vlc_object_attach
(
p_sys
->
p_thread
,
p_access
);
p_sys
->
p_thread
->
p_sout
=
p_access
->
p_sout
;
p_sys
->
p_thread
->
b_die
=
0
;
p_sys
->
p_thread
->
b_error
=
0
;
...
...
@@ -321,6 +322,7 @@ static void Close( vlc_object_t * p_this )
net_Close
(
p_sys
->
p_thread
->
i_handle
);
vlc_object_detach
(
p_sys
->
p_thread
);
vlc_object_destroy
(
p_sys
->
p_thread
);
/* update p_sout->i_out_pace_nocontrol */
p_access
->
p_sout
->
i_out_pace_nocontrol
--
;
...
...
@@ -516,10 +518,13 @@ static void ThreadWrite( vlc_object_t *p_this )
#if 0
if( (i++ % 1000)==0 ) {
int i = 0;
int j = 0;
block_t *p_tmp = p_thread->p_empty_blocks->p_first;
while( p_tmp ) { p_tmp = p_tmp->p_next; i++;}
msg_Err( p_thread, "fifo depth: %d, empty blocks: %d/%d",
p_thread->p_fifo->i_depth, p_thread->p_empty_blocks->i_depth,i );
p_tmp = p_thread->p_fifo->p_first;
while( p_tmp ) { p_tmp = p_tmp->p_next; j++;}
msg_Err( p_thread, "fifo depth: %d/%d, empty blocks: %d/%d",
p_thread->p_fifo->i_depth, j,p_thread->p_empty_blocks->i_depth,i );
}
#endif
p_pk
=
block_FifoGet
(
p_thread
->
p_fifo
);
...
...
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