]> git.sesse.net Git - vlc/commitdiff
* src/input/input.c: don't use input_EsOutDiscontinuity() on pause for now since...
authorGildas Bazin <gbazin@videolan.org>
Tue, 29 May 2007 19:58:05 +0000 (19:58 +0000)
committerGildas Bazin <gbazin@videolan.org>
Tue, 29 May 2007 19:58:05 +0000 (19:58 +0000)
src/input/input.c

index d58ae8b15742873373e2d0595501f2c7ebc0c696..73c4d575e463153f0bbebe526ac3ca25866973af 100644 (file)
@@ -1609,9 +1609,11 @@ static vlc_bool_t Control( input_thread_t *p_input, int i_type,
                 p_input->i_state = val.i_int;
                 var_Change( p_input, "state", VLC_VAR_SETVALUE, &val, NULL );
 
+#if 0 /* This will need modifications to decoders to work properly. */
                 /* Send discontinuity to decoders (it will allow them to flush
                  * if implemented */
                 input_EsOutDiscontinuity( p_input->p->p_es_out, VLC_FALSE );
+#endif
             }
             else if( val.i_int == PAUSE_S && !p_input->p->b_can_pause )
             {