read_frame(temp_prevframe,0, get_source_position()-1, get_framerate(), 0);
deinterlace_bobweave(frame, temp_prevframe, frame, config.dominance);
break;
case DEINTERLACE_TEMPORALSWAP:
if (get_source_position()==0)
read_frame(temp_prevframe,0, get_source_position(), get_framerate(), 0);
read_frame(temp_prevframe,0, get_source_position()-1, get_framerate(), 0);
deinterlace_bobweave(frame, temp_prevframe, frame, config.dominance);
break;
case DEINTERLACE_TEMPORALSWAP:
if (get_source_position()==0)
read_frame(temp_prevframe,0, get_source_position(), get_framerate(), 0);