Changeset e55b8a6f199d250d264ae5e2cdc9275cfb5631b9

Show
Ignore:
Timestamp:
12/02/05 12:00:56 (4 years ago)
Author:
Gildas Bazin <gbazin@videolan.org>
git-committer:
Gildas Bazin <gbazin@videolan.org> 1108206056 +0000
git-parent:

[99f6f6c1303556b8906449c0225ec4d52d16f557]

git-author:
Gildas Bazin <gbazin@videolan.org> 1108206056 +0000
Message:

* modules/access/http.c,modules/access/mmsh,modules/demux/livedotcom.cpp: Disable clock synchro
algorithm for http/mms/rtsp by default for now since our algo was designed for local network
streaming of MPEG over UDP in mind and doesn't work well in other cases.
You can still use the --clock-synchro config option to override this.
Hopefully this commit will be reverted once the clock synchro has been re-written.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access/http.c

    r2d5322c re55b8a6  
    385385                      p_access->psz_demux ); 
    386386 
    387 #if 0       /* Doesn't work really well because of the pre-buffering in shoutcast 
    388              * servers (the buffer content will be sent as fast as possible). */ 
     387#if 0       /* Doesn't work really well because of the pre-buffering in 
     388             * shoutcast servers (the buffer content will be sent as fast as 
     389             * possible). */ 
    389390            p_sys->b_pace_control = VLC_FALSE; 
    390391#endif 
     
    706707        case ACCESS_CAN_CONTROL_PACE: 
    707708            pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* ); 
     709 
     710#if 0       /* Disable for now until we have a clock synchro algo 
     711             * which works with something else than MPEG over UDP */ 
    708712            *pb_bool = p_sys->b_pace_control; 
     713#endif 
     714            *pb_bool = VLC_TRUE; 
    709715            break; 
    710716 
  • modules/access/mms/mmsh.c

    re3a434c re55b8a6  
    181181        case ACCESS_CAN_CONTROL_PACE: 
    182182            pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* ); 
     183 
     184#if 0       /* Disable for now until we have a clock synchro algo 
     185             * which works with something else than MPEG over UDP */ 
    183186            *pb_bool = VLC_FALSE; 
     187#endif 
     188            *pb_bool = VLC_TRUE; 
    184189            break; 
    185190 
  • modules/access/mms/mmstu.c

    re3a434c re55b8a6  
    264264        case ACCESS_CAN_CONTROL_PACE: 
    265265            pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* ); 
     266 
     267#if 0       /* Disable for now until we have a clock synchro algo 
     268             * which works with something else than MPEG over UDP */ 
    266269            *pb_bool = VLC_FALSE; 
     270#endif 
     271            *pb_bool = VLC_TRUE; 
    267272            break; 
    268273 
  • modules/demux/livedotcom.cpp

    r5b32676 re55b8a6  
    823823        case DEMUX_CAN_CONTROL_PACE: 
    824824            pb = (vlc_bool_t*)va_arg( args, vlc_bool_t * ); 
     825 
     826#if 0       /* Disable for now until we have a clock synchro algo 
     827             * which works with something else than MPEG over UDP */ 
    825828            *pb = VLC_FALSE; 
     829#endif 
     830            *pb = VLC_TRUE; 
    826831            return VLC_SUCCESS; 
    827832