]> git.sesse.net Git - vlc/blobdiff - modules/demux/avformat/demux.c
Fixed invalid/useless usage of ES_OUT_RESET_PCR.
[vlc] / modules / demux / avformat / demux.c
index f093079c5d3862ec68c1fd3e4f13c20a0f07ac0e..1658122bbd99bd63175b34a8aba4a7b6bb1622f3 100644 (file)
@@ -509,7 +509,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                         return VLC_EGENERIC;
                 }
                 UpdateSeekPoint( p_demux, i64 );
-                es_out_Control( p_demux->out, ES_OUT_RESET_PCR );
                 p_sys->i_pcr = -1; /* Invalidate time display */
             }
             return VLC_SUCCESS;
@@ -540,7 +539,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
             {
                 return VLC_EGENERIC;
             }
-            es_out_Control( p_demux->out, ES_OUT_RESET_PCR );
             p_sys->i_pcr = -1; /* Invalidate time display */
             UpdateSeekPoint( p_demux, i64 );
             return VLC_SUCCESS;
@@ -626,7 +624,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
             {
                 return VLC_EGENERIC;
             }
-            es_out_Control( p_demux->out, ES_OUT_RESET_PCR );
             p_sys->i_pcr = -1; /* Invalidate time display */
             UpdateSeekPoint( p_demux, i64 );
             return VLC_SUCCESS;