Commit e55b8a6f authored by Gildas Bazin's avatar Gildas Bazin

* 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.
parent 99f6f6c1
......@@ -384,8 +384,9 @@ static int Open( vlc_object_t *p_this )
msg_Info( p_access, "Raw-audio server found, %s demuxer selected",
p_access->psz_demux );
#if 0 /* Doesn't work really well because of the pre-buffering in shoutcast
* servers (the buffer content will be sent as fast as possible). */
#if 0 /* Doesn't work really well because of the pre-buffering in
* shoutcast servers (the buffer content will be sent as fast as
* possible). */
p_sys->b_pace_control = VLC_FALSE;
#endif
}
......@@ -705,7 +706,12 @@ static int Control( access_t *p_access, int i_query, va_list args )
case ACCESS_CAN_PAUSE:
case ACCESS_CAN_CONTROL_PACE:
pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* );
#if 0 /* Disable for now until we have a clock synchro algo
* which works with something else than MPEG over UDP */
*pb_bool = p_sys->b_pace_control;
#endif
*pb_bool = VLC_TRUE;
break;
/* */
......
......@@ -180,7 +180,12 @@ static int Control( access_t *p_access, int i_query, va_list args )
case ACCESS_CAN_PAUSE:
case ACCESS_CAN_CONTROL_PACE:
pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* );
#if 0 /* Disable for now until we have a clock synchro algo
* which works with something else than MPEG over UDP */
*pb_bool = VLC_FALSE;
#endif
*pb_bool = VLC_TRUE;
break;
/* */
......
......@@ -263,7 +263,12 @@ static int Control( access_t *p_access, int i_query, va_list args )
case ACCESS_CAN_PAUSE:
case ACCESS_CAN_CONTROL_PACE:
pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* );
#if 0 /* Disable for now until we have a clock synchro algo
* which works with something else than MPEG over UDP */
*pb_bool = VLC_FALSE;
#endif
*pb_bool = VLC_TRUE;
break;
/* */
......
......@@ -822,7 +822,12 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
case DEMUX_CAN_CONTROL_PACE:
pb = (vlc_bool_t*)va_arg( args, vlc_bool_t * );
#if 0 /* Disable for now until we have a clock synchro algo
* which works with something else than MPEG over UDP */
*pb = VLC_FALSE;
#endif
*pb = VLC_TRUE;
return VLC_SUCCESS;
case DEMUX_SET_PAUSE_STATE:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment