]> git.sesse.net Git - vlc/commitdiff
Fixed audio RTP stream only (Not sure it is the right way)
authorLaurent Aimar <fenrir@videolan.org>
Tue, 5 Jun 2007 22:11:32 +0000 (22:11 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 5 Jun 2007 22:11:32 +0000 (22:11 +0000)
Less verbose.

modules/demux/live555.cpp

index 2295297791711a02238ee0c6c93d4d98ec38ebb4..41059191deceffba11fb47d0120d199e083f0ae6 100644 (file)
@@ -1328,7 +1328,7 @@ static void StreamRead( void *p_private, unsigned int i_size,
     demux_sys_t    *p_sys = p_demux->p_sys;
     block_t        *p_block;
 
-    msg_Dbg( p_demux, "pts: %d", pts.tv_sec );
+    //msg_Dbg( p_demux, "pts: %d", pts.tv_sec );
 
     int64_t i_pts = (uint64_t)pts.tv_sec * UI64C(1000000) +
         (uint64_t)pts.tv_usec;
@@ -1482,13 +1482,13 @@ static void StreamRead( void *p_private, unsigned int i_size,
     {
         p_sys->i_npt += __MAX( 0, i_pts - p_sys->i_pcr );
         p_sys->i_pcr = i_pts;
-        msg_Dbg( p_demux, "npt update" );
+        //msg_Dbg( p_demux, "npt update" );
     }
-    else if( (tk->fmt.i_cat == VIDEO_ES) && (p_sys->i_pcr < i_pts) )
+    else if( /*tk->fmt.i_cat == VIDEO_ES &&*/ p_sys->i_pcr < i_pts )
     {
         p_sys->i_pcr = i_pts;
     }
-    msg_Dbg( p_demux, "npt %lld", p_sys->i_npt );
+    //msg_Dbg( p_demux, "npt %lld", p_sys->i_npt );
 
     if( (i_pts != tk->i_pts) && (!tk->b_muxed) )
     {