[vlc-devel] [PATCH]RTSP Trickplay in 0.8.6c

Glen Gray slaine at slaine.org
Wed Nov 21 21:36:31 CET 2007

On 21 Nov 2007, at 17:39, Ross Finlayson wrote:

>> The scale value should then be set accordingly in VLC by parsing the
>> RTSP response.
> Note that the LIVE555 libraries already do this.  After you've called
> "playMediaSession()" (or "playMediaSubsession()") with the desired
> "scale" parameter, simply call "session.scale()" (or
> "subsession.scale()") to get the actual scale factor that the server
> chose to support.

Thanks for clarifying that Ross. That is what I meant, though re- 
reading it it does imply that my changes do this.

The DEMUX_GET_SCALE code uses this feature (p_sys->ms->scale()) to  
return the server allocated scale to the input code,
demux2_Control( p_input->input.p_demux, DEMUX_GET_SCALE,
msg_Dbg( p_input, "Scale set to %0.2f", scale);

Glen Gray (slaine at slaine.org)

More information about the vlc-devel mailing list