TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua

 找回密码
 新人加入
查看: 1357|回复: 0

求助 这是什么函数 [复制链接]

Rank: 4

发表于 2017-12-2 02:03:53 |显示全部楼层
在一个大大写的代码中经常看见这段
这段表示的是什么意思啊


xres, yres = _G.aegisub.video_size() if xres == nil  then x_rat = 1 y_rat = 1 else x_rat = xres/1024 y_rat = x_rat end if (xres and xres ~= meta.res_x) or (yres and yres ~= meta.res_y) then _G.aegisub.debug.out(2, "Warning: script resolution %dx%d does not match with loaded video resolution %dx%d resample script resolution", meta.res_x, meta.res_y, xres, yres) end
您需要登录后才可以回帖 登录 | 新人加入

GitHub|TCAX 主页

GMT+8, 2024-3-29 04:18

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部
RealH