Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
32414c55
Commit
32414c55
authored
Jan 28, 2000
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Correction d'un message d'erreur erronn� dans l'input ;
* Correction d'un bug de synchro ;
parent
ff57ac76
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
include/config.h
include/config.h
+1
-1
src/input/input.c
src/input/input.c
+3
-0
src/input/input_ctrl.c
src/input/input_ctrl.c
+0
-1
No files found.
include/config.h
View file @
32414c55
...
...
@@ -281,7 +281,7 @@
#define VPAR_IDLE_SLEEP 100000
/* Time to sleep when waiting for a buffer (from vout or the video fifo). */
#define VPAR_OUTMEM_SLEEP
5
0000
#define VPAR_OUTMEM_SLEEP
1
0000
/* Optimization level, from 0 to 2 - 1 is generally a good compromise. Remember
* that raising this level dramatically lengthens the compilation time. */
...
...
src/input/input.c
View file @
32414c55
...
...
@@ -412,6 +412,9 @@ static void EndThread( input_thread_t * p_input )
case
AC3_AUDIO_ES
:
ac3dec_DestroyThread
(
(
ac3dec_thread_t
*
)(
p_input
->
pp_selected_es
[
i_es_loop
]
->
p_dec
)
);
break
;
case
0
:
/* Special streams for the PSI decoder, PID 0 and 1 */
break
;
#ifdef DEBUG
default:
intf_DbgMsg
(
"error: unknown decoder type %d
\n
"
,
p_input
->
pp_selected_es
[
i_es_loop
]
->
i_type
);
...
...
src/input/input_ctrl.c
View file @
32414c55
...
...
@@ -127,7 +127,6 @@ int input_AddPgrmElem( input_thread_t *p_input, int i_current_id )
case
MPEG1_VIDEO_ES
:
case
MPEG2_VIDEO_ES
:
/* Spawn video thread. */
/* Les 2 pointeurs NULL ne doivent pas etre NULL sinon on segfault !!!! */
#ifdef OLD_DECODER
if
(
((
vdec_thread_t
*
)(
p_input
->
p_es
[
i_es_loop
].
p_dec
)
=
vdec_CreateThread
(
p_input
))
==
NULL
)
...
...
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