[vlc-devel] Re: Limit FF and FW speeds to max of 4x?
Gregor Fuis
gujs.lists at gmail.com
Wed Sep 20 19:49:18 CEST 2006
Actually if you would read it more carefully you would see that 8000 is
would play the movie 8 times slower. So you need #define
INPUT_RATE_MIN 250 , for playing movie 4 times faster!
Best Regards,
Gregor Fuis
Ian Griffin wrote:
> Hi, yes I've read it many times but perhaps I'm not understanding the
> link between the rate value and play speed? If the default is 1000
> which is normal play speed and 8 times that is 8000 giving 8x fast
> forward, then input_rate_max of 4000 would limit max fast forward
> speed to 4x?
> Please correct me if I'm getting this wrong.
>
> Many thanks for your help.
> Ian.
>
> Benjamin Pracht wrote:
>> Le mardi 19 septembre 2006 à 17:47 -0700, Ian Griffin a écrit :
>>
>>> Hi Thanks for the info on how to set the max speeds. I've tried
>>> changing the rate to 4000 would I assume would allow a max of 4x
>>> playback speed, however, I can still speed up to 8x after compiling?
>>>
>>> /* "rate" default, min/max
>>> * A rate below 1000 plays the movie faster,
>>> * A rate above 1000 plays the movie slower.
>>> */
>>> #define INPUT_RATE_DEFAULT 1000
>>> #define INPUT_RATE_MIN 125 /* Up to 8/1 */
>>> #define INPUT_RATE_MAX 8000 /* Up to 1/8 */
>>>
>>> I'm changing INPUT_RATE_MAX to 4000
>>>
>>> Is there anywhere else I need to set this value ?
>>>
>>
>> Have you actually read the 2 lines of comment in the upper part of the
>> code you pasted ?
>>
>>
>
--
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