Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
560ccaae
Commit
560ccaae
authored
Aug 29, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UDP out: avoid useless references to p_sout
parent
5e3d29c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
modules/access_output/udp.c
modules/access_output/udp.c
+2
-5
No files found.
modules/access_output/udp.c
View file @
560ccaae
...
...
@@ -121,8 +121,6 @@ typedef struct sout_access_thread_t
{
VLC_COMMON_MEMBERS
sout_instance_t
*
p_sout
;
block_fifo_t
*
p_fifo
;
int
i_handle
;
...
...
@@ -204,7 +202,6 @@ static int Open( vlc_object_t *p_this )
}
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
;
p_sys
->
p_thread
->
p_fifo
=
block_FifoNew
();
...
...
@@ -254,7 +251,7 @@ static int Open( vlc_object_t *p_this )
if
(
vlc_thread_create
(
p_sys
->
p_thread
,
"sout write thread"
,
ThreadWrite
,
VLC_THREAD_PRIORITY_HIGHEST
,
false
)
)
{
msg_Err
(
p_access
->
p_sout
,
"cannot spawn sout access thread"
);
msg_Err
(
p_access
,
"cannot spawn sout access thread"
);
net_Close
(
i_handle
);
vlc_object_release
(
p_sys
->
p_thread
);
free
(
p_sys
);
...
...
@@ -418,7 +415,7 @@ static block_t *NewUDPPacket( sout_access_out_t *p_access, mtime_t i_dts)
if
(
block_FifoCount
(
p_sys
->
p_thread
->
p_empty_blocks
)
==
0
)
{
p_buffer
=
block_
New
(
p_access
->
p_sout
,
p_sys
->
i_mtu
);
p_buffer
=
block_
Alloc
(
p_sys
->
i_mtu
);
}
else
{
...
...
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