Skip to content

Commit a11ff87

Browse files
committed
enable VideoWriter class for java
fixing fourcc
1 parent ca5e07d commit a11ff87

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/java/generator/gen_java.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
class_ignore_list = (
1414
#core
1515
"FileNode", "FileStorage", "KDTree", "KeyPoint", "DMatch",
16-
#videoio
17-
"VideoWriter",
1816
)
1917

2018
const_ignore_list = (
@@ -186,6 +184,7 @@
186184
"env" : { "j_type" : "", "jn_type" : "", "jni_type" : "JNIEnv*"},
187185
"cls" : { "j_type" : "", "jn_type" : "", "jni_type" : "jclass"},
188186
"bool" : { "j_type" : "boolean", "jn_type" : "boolean", "jni_type" : "jboolean", "suffix" : "Z" },
187+
"char" : { "j_type" : "char", "jn_type" : "char", "jni_type" : "jchar", "suffix" : "C" },
189188
"int" : { "j_type" : "int", "jn_type" : "int", "jni_type" : "jint", "suffix" : "I" },
190189
"long" : { "j_type" : "int", "jn_type" : "int", "jni_type" : "jint", "suffix" : "I" },
191190
"float" : { "j_type" : "float", "jn_type" : "float", "jni_type" : "jfloat", "suffix" : "F" },

0 commit comments

Comments
 (0)