You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# List of supported video extensions (provided by OpenImageIO)
@@ -283,8 +284,9 @@ class KeyframeSelection(desc.AVCommandLineNode):
283
284
"For input videos, 'none' should not be used since the written keyframes are used to generate the output SfMData file.",
284
285
value="none",
285
286
values=["none", "exr", "jpg", "png"],
286
-
validValue=lambdanode: not (any(extininput.value.lower() forextinvideoExtsforinputinnode.inputPaths.value) andnode.outputExtension.value=="none"),
287
-
errorMessage="A video input has been provided. The output extension should be different from 'none'.",
287
+
validators=[
288
+
lambdanode, _ : success() ifnot (any(extininput.value.lower() forextinvideoExtsforinputinnode.inputPaths.value) andnode.outputExtension.value=="none") elseerror("A video input has been provided. The output extension should be different from 'none'.")
0 commit comments