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
7896b15f
Commit
7896b15f
authored
Mar 29, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed dmo decoder wrapper.
parent
ededd634
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
modules/codec/dmo/dmo.c
modules/codec/dmo/dmo.c
+5
-2
No files found.
modules/codec/dmo/dmo.c
View file @
7896b15f
...
...
@@ -296,6 +296,8 @@ found:
vlc_cond_init
(
&
p_sys
->
wait_output
);
p_sys
->
b_works
=
p_sys
->
b_ready
=
false
;
p_sys
->
pp_input
=
NULL
;
p_sys
->
p_output
=
NULL
;
if
(
vlc_clone
(
&
p_sys
->
thread
,
DecoderThread
,
p_dec
,
VLC_THREAD_PRIORITY_INPUT
)
)
...
...
@@ -347,9 +349,9 @@ static void *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
p_sys
->
pp_input
=
pp_block
;
vlc_cond_signal
(
&
p_sys
->
wait_input
);
while
(
!
(
p_ret
=
p_sys
->
p_output
)
)
while
(
p_sys
->
pp_input
)
vlc_cond_wait
(
&
p_sys
->
wait_output
,
&
p_sys
->
lock
);
p_
sys
->
p_output
=
NULL
;
p_
ret
=
p_sys
->
p_output
;
vlc_mutex_unlock
(
&
p_sys
->
lock
);
return
p_ret
;
...
...
@@ -1039,6 +1041,7 @@ static void *DecoderThread( void *data )
p_sys
->
p_output
=
DecBlock
(
p_dec
,
p_sys
->
pp_input
);
p_sys
->
pp_input
=
NULL
;
vlc_cond_signal
(
&
p_sys
->
wait_output
);
}
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
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