View Single Post
Old 11th April 2011, 21:17   #37  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Quote:
Originally Posted by Didée View Post
The sourcecode seems to suggest that the script's default value is incorrect?
algo=23 corresponds to AlgoExtended, so is accepted by the first part of the switch statement.

libflow.h:
Code:
enum FlowLib_Algo
{
    AlgoUnknown=0,

	AlgoFast_1dir =1,//MFlow "1-dir"
	AlgoFast_2dir =2,//MFlow "2-dir"

	AlgoNoMask1 =11,//MBlockFps, mode=0
	AlgoNoMask2 =12,//MBlockFps, mode=1
	AlgoNoMask3 =13,//MBlockFps, mode=2

	AlgoSimple =21, //like FlowInterSimple from MaskFun.cpp OR MBlockFps, mode=3
	AlgoNormal =22, //FlowInter
	AlgoExtended=23, //FlowInterExtra

	AlgoMask =127,
	AlgoProcessBlocks =128
};
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote