[vlc-devel] [PATCH] VOD : fix RTSP Scale command
fenrir at via.ecp.fr
Tue Sep 15 20:07:33 CEST 2009
On Tue, Sep 15, 2009, Sébastien Escudier wrote:
> I had to remove a condition in input thread, as discussed in , see patch
> number two.
The problem is that this condition is, en general, needed.
> if( i_rate != INPUT_RATE_DEFAULT &&
> - ( ( !p_input->p->b_can_rate_control && !p_input->p->input.b_rescale_ts ) ||
> - ( p_input->p->p_sout && !p_input->p->b_out_pace_control ) ) )
> + ( !p_input->p->b_can_rate_control && !p_input->p->input.b_rescale_ts ) )
> msg_Dbg( p_input, "cannot change rate" );
> i_rate = INPUT_RATE_DEFAULT;
!p_input->p->b_out_pace_control means that (at least one of) the output(s) must
be fed in realtime with data and does not regulate the streaming speed. For
example with mms:// output, going faster must be prevented.
IMHO, we need to add a new output properties to say that rate != 1.0 is
supported (even if b_out_pace_control is false).
More information about the vlc-devel