Log in

View Full Version : trivial SelectEvery bug


stickboy
22nd March 2003, 23:52
The documentation indicates that the offsets are all optional. However, as far as I can tell, the first offset is required.

(I'm using Avisynth 2.08.)

sh0dan
23rd March 2003, 11:11
SelectRangeEvery is a part of mpeg2dec(2?), and only present in AviSynth 2.5 - the 2.5 docs doesn't say they are optional.

stickboy
23rd March 2003, 19:28
SelectEvery, not SelectRangeEvery.

From the 2.08 docs:

SelectEvery(clip, int step_size[, int offset1[, int offset2[,...]]])
[...]
SelectEvery(clip,9) # select frames 0,9,18,... (second argument of 0 is assumed)

(I assume the documentation meant to say "third argument of 0 is assumed".)