Commit 741fd7ec authored by Michel Kaempf's avatar Michel Kaempf

* audio_output/audio_output.c :

- suppression du fprintf() de debug ;

* spu_decoder/spu_decoder.c :
- suppression des fprintf() de debug ;
- la nouvelle version est pr�te mais je ne la commit pas encore ;

* input/input_psi.c :
- le d�codeur spu �tait autospawn� uniquement si b_audio �tait � 1...
remplacement de b_audio par b_video (g bon sam ?) ;
parent 6961ec33
...@@ -493,7 +493,7 @@ static __inline__ int NextFrame( aout_thread_t * p_aout, aout_fifo_t * p_fifo, m ...@@ -493,7 +493,7 @@ static __inline__ int NextFrame( aout_thread_t * p_aout, aout_fifo_t * p_fifo, m
l_units = ((p_fifo->l_next_frame - p_fifo->l_start_frame) & AOUT_FIFO_SIZE) * (p_fifo->l_frame_size >> p_fifo->b_stereo); l_units = ((p_fifo->l_next_frame - p_fifo->l_start_frame) & AOUT_FIFO_SIZE) * (p_fifo->l_frame_size >> p_fifo->b_stereo);
l_rate = p_fifo->l_rate + ((aout_date - p_fifo->date[p_fifo->l_start_frame]) / 256); l_rate = p_fifo->l_rate + ((aout_date - p_fifo->date[p_fifo->l_start_frame]) / 256);
fprintf( stderr, "aout debug: %lli (%li);\n", aout_date - p_fifo->date[p_fifo->l_start_frame], l_rate ); // fprintf( stderr, "aout debug: %lli (%li);\n", aout_date - p_fifo->date[p_fifo->l_start_frame], l_rate );
InitializeIncrement( &p_fifo->unit_increment, l_rate, p_aout->dsp.l_rate ); InitializeIncrement( &p_fifo->unit_increment, l_rate, p_aout->dsp.l_rate );
......
...@@ -650,7 +650,7 @@ static void DecodePgrmMapSection( u8* p_pms, input_thread_t* p_input ) ...@@ -650,7 +650,7 @@ static void DecodePgrmMapSection( u8* p_pms, input_thread_t* p_input )
break; break;
case DVD_SPU_ES: case DVD_SPU_ES:
if ( p_main->b_audio ) if ( p_main->b_video )
{ {
/* Spawn a spu decoder thread */ /* Spawn a spu decoder thread */
input_AddPgrmElem( p_input, input_AddPgrmElem( p_input,
......
...@@ -95,7 +95,7 @@ spudec_thread_t * spudec_CreateThread( input_thread_t * p_input ) ...@@ -95,7 +95,7 @@ spudec_thread_t * spudec_CreateThread( input_thread_t * p_input )
void spudec_DestroyThread( spudec_thread_t *p_spudec ) void spudec_DestroyThread( spudec_thread_t *p_spudec )
{ {
intf_DbgMsg("spudec debug: requesting termination of spu decoder thread %p\n", p_spudec); intf_DbgMsg("spudec debug: requesting termination of spu decoder thread %p\n", p_spudec);
fprintf(stderr, "spudec debug: requesting termination of spu decoder thread %p\n", p_spudec); // fprintf(stderr, "spudec debug: requesting termination of spu decoder thread %p\n", p_spudec);
/* Ask thread to kill itself */ /* Ask thread to kill itself */
p_spudec->b_die = 1; p_spudec->b_die = 1;
...@@ -173,7 +173,7 @@ static void RunThread( spudec_thread_t *p_spudec ) ...@@ -173,7 +173,7 @@ static void RunThread( spudec_thread_t *p_spudec )
{ {
fprintf(stderr, "I'm in the spu decoder main loop !\n"); // fprintf(stderr, "I'm in the spu decoder main loop !\n");
sleep(1); sleep(1);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment