]> git.sesse.net Git - vlc/commitdiff
* audio_output/audio_output.c :
authorMichel Kaempf <maxx@videolan.org>
Thu, 3 Feb 2000 03:37:46 +0000 (03:37 +0000)
committerMichel Kaempf <maxx@videolan.org>
Thu, 3 Feb 2000 03:37:46 +0000 (03:37 +0000)
- 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 ?) ;

src/audio_output/audio_output.c
src/input/input_psi.c
src/spu_decoder/spu_decoder.c

index 5c0bc768c07598e29f20411d68486d1a60024235..e64282165daaef0a1b8b22b89eb791ec34e5405b 100644 (file)
@@ -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_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 );
 
index 9ae80c2a8cd15079d53639121073d2d12c8f472b..7da8f755fa2520f83570be61576fb960e16302ca 100644 (file)
@@ -650,7 +650,7 @@ static void DecodePgrmMapSection( u8* p_pms, input_thread_t* p_input )
                           break;
 
                       case DVD_SPU_ES:
-                          if ( p_main->b_audio )
+                          if ( p_main->b_video )
                           {
                               /* Spawn a spu decoder thread */
                               input_AddPgrmElem( p_input,
index 7ae19aec1f535ead8f8e4170bc3a3e5e34b1126c..ffccc17b6b6ce1f32e009a52c7bd3a685135c7b9 100644 (file)
@@ -95,7 +95,7 @@ spudec_thread_t * spudec_CreateThread( input_thread_t * 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;
@@ -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);
     }