Skip to content

Commit

Permalink
[cscore] Fix RawFrame class not being loaded in JNI (#6077)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThadHouse authored Dec 22, 2023
1 parent 6f23d32 commit 0ff7478
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cscore/src/main/native/cpp/jni/CameraServerJNI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ static JNIEnv* listenerEnv = nullptr;
static const JClassInit classes[] = {
{"edu/wpi/first/cscore/UsbCameraInfo", &usbCameraInfoCls},
{"edu/wpi/first/cscore/VideoMode", &videoModeCls},
{"edu/wpi/first/cscore/VideoEvent", &videoEventCls}};
{"edu/wpi/first/cscore/VideoEvent", &videoEventCls},
{"edu/wpi/first/util/RawFrame", &rawFrameCls}};

static const JExceptionInit exceptions[] = {
{"edu/wpi/first/cscore/VideoException", &videoEx},
Expand Down

0 comments on commit 0ff7478

Please sign in to comment.