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
f4e8bac1
Commit
f4e8bac1
authored
Apr 18, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* stream_output.c: add a vlc_mutex_lock/unlock ...
parent
175414ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/stream_output/stream_output.c
src/stream_output/stream_output.c
+6
-2
No files found.
src/stream_output/stream_output.c
View file @
f4e8bac1
...
...
@@ -2,7 +2,7 @@
* stream_output.c : stream output module
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: stream_output.c,v 1.2
5 2003/04/16 00:12:36
fenrir Exp $
* $Id: stream_output.c,v 1.2
6 2003/04/18 22:38:11
fenrir Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Laurent Aimar <fenrir@via.ecp.fr>
...
...
@@ -212,6 +212,7 @@ int sout_InputDelete( sout_packetizer_input_t *p_input )
int
sout_InputSendBuffer
(
sout_packetizer_input_t
*
p_input
,
sout_buffer_t
*
p_buffer
)
{
sout_instance_t
*
p_sout
=
p_input
->
p_sout
;
int
i_ret
;
if
(
p_input
->
p_fmt
->
i_fourcc
==
VLC_FOURCC
(
'n'
,
'u'
,
'l'
,
'l'
)
)
{
...
...
@@ -219,8 +220,11 @@ int sout_InputSendBuffer( sout_packetizer_input_t *p_input, sout_buffer_t *p_buf
return
VLC_SUCCESS
;
}
vlc_mutex_lock
(
&
p_sout
->
lock
);
i_ret
=
p_sout
->
p_stream
->
pf_send
(
p_sout
->
p_stream
,
p_input
->
id
,
p_buffer
);
vlc_mutex_unlock
(
&
p_sout
->
lock
);
return
(
p_sout
->
p_stream
->
pf_send
(
p_sout
->
p_stream
,
p_input
->
id
,
p_buffer
)
)
;
return
i_ret
;
}
/*****************************************************************************
...
...
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