[vlc-commits] access: live555: reset once on pause

Francois Cartegnie git at videolan.org
Fri Aug 5 22:31:34 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Aug  5 21:40:25 2016 +0200| [415892b5849590530b3ffa30b35c4f9cc98ea639] | committer: Francois Cartegnie

access: live555: reset once on pause

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=415892b5849590530b3ffa30b35c4f9cc98ea639
---

 modules/access/live555.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index ac964bb..bc5a9fa 100644
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -1669,9 +1669,9 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                     live_track_t *tk = p_sys->track[i];
                     tk->b_rtcp_sync = false;
                     tk->i_pts = VLC_TS_INVALID;
-                    p_sys->i_pcr = VLC_TS_INVALID;
-                    es_out_Control( p_demux->out, ES_OUT_RESET_PCR );
                 }
+                p_sys->i_pcr = VLC_TS_INVALID;
+                es_out_Control( p_demux->out, ES_OUT_RESET_PCR );
             }
 
             /* Reset data received counter */



More information about the vlc-commits mailing list