]> git.sesse.net Git - vlc/commitdiff
* Correction d'un message d'erreur erronn� dans l'input ;
authorChristophe Massiot <massiot@videolan.org>
Fri, 28 Jan 2000 02:10:08 +0000 (02:10 +0000)
committerChristophe Massiot <massiot@videolan.org>
Fri, 28 Jan 2000 02:10:08 +0000 (02:10 +0000)
* Correction d'un bug de synchro ;

include/config.h
src/input/input.c
src/input/input_ctrl.c

index e14fe45afb3fdbc8d2c37c9bc814c4a23b9c39f7..e66a769956f5b7a657e0ae7bc1b06b96984f227f 100644 (file)
 #define VPAR_IDLE_SLEEP                 100000
 
 /* Time to sleep when waiting for a buffer (from vout or the video fifo). */
-#define VPAR_OUTMEM_SLEEP               50000
+#define VPAR_OUTMEM_SLEEP               10000
 
 /* Optimization level, from 0 to 2 - 1 is generally a good compromise. Remember
  * that raising this level dramatically lengthens the compilation time. */
index effc49daedd3afd18d3e5622e3db9cab92dec5f9..8e872677dfcaf29b35a518d71d08c388b896273f 100644 (file)
@@ -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 );
index 3f3ac483bdf081e87017b1b9a0056c98fee07923..4a9b46d835282710cd4072cb0c55e5a3003bfdfe 100644 (file)
@@ -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 )