[vlc-devel] commit: (live555) Reset PCR after returning to normal rate after fastforward or rewind. ( Jean-Paul Saman )

git version control git at videolan.org
Fri Nov 21 15:35:41 CET 2008


vlc | branch: 0.9-bugfix | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Fri Nov 21 12:33:14 2008 +0100| [e063c7bb19fa205dd23de5e79337e7638fdc234c] | committer: Jean-Paul Saman 

(live555) Reset PCR after returning to normal rate after fastforward or rewind.

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

 modules/demux/live555.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index b7b92a1..b04a45b 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -1370,6 +1370,8 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
             p_sys->i_pcr = 0;
             p_sys->i_npt = 0.0;
 
+            es_out_Control( p_demux->out, ES_OUT_RESET_PCR );
+
             *pi_int = (int)( INPUT_RATE_DEFAULT / p_sys->ms->scale() );
             msg_Dbg( p_demux, "PLAY with new Scale %0.2f (%d)", p_sys->ms->scale(), (*pi_int) );
             return VLC_SUCCESS;




More information about the vlc-devel mailing list