- 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 ?) ;
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);
- 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 );
break;
case DVD_SPU_ES:
- if ( p_main->b_audio )
+ if ( p_main->b_video )
{
/* Spawn a spu decoder thread */
input_AddPgrmElem( p_input,
void spudec_DestroyThread( spudec_thread_t *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 */
p_spudec->b_die = 1;
{
- fprintf(stderr, "I'm in the spu decoder main loop !\n");
+// fprintf(stderr, "I'm in the spu decoder main loop !\n");
sleep(1);
}