[vlc-devel] --sout-pcr-ts
    Dermot McGahon 
    dermot at dspsrv.com
       
    Tue May 31 15:01:11 CEST 2005
    
    
  
Is the difference between the default and the fallback on invalid
input value by design?
Dermot.
--
modules/mux/mpeg/ts.c,
line 161:
     add_integer( SOUT_CFG_PREFIX "pcr", 70, NULL, PCR_TEXT, PCR_LONGTEXT,
                  VLC_TRUE );
line 492:
     var_Get( p_mux, SOUT_CFG_PREFIX "pcr", &val );
     p_sys->i_pcr_delay = (int64_t)val.i_int * 1000;
     if( p_sys->i_pcr_delay <= 0 ||
         p_sys->i_pcr_delay >= p_sys->i_shaping_delay )
     {
         msg_Err( p_mux,
                  "invalid pcr delay ("I64Fd"ms) resetting to 30ms",
                  p_sys->i_pcr_delay / 1000 );
         p_sys->i_pcr_delay = 30000;
     }
-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
    
    
More information about the vlc-devel
mailing list