Skip to content

Commit 7631154

Browse files
authored
Merge pull request #5675 from kkirby/patch-1
Add a getCamera() method to get the camera used
2 parents 568197a + faf84eb commit 7631154

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

addons/ofxAndroid/ofAndroidLib/src/cc/openframeworks/OFAndroidVideoGrabber.java

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ public int getId(){
2525
return instanceId;
2626
}
2727

28+
public Camera getCamera(){
29+
return camera;
30+
}
31+
2832
public static boolean supportsTextureRendering(){
2933
return Build.VERSION.SDK_INT >= 11;
3034
}

0 commit comments

Comments
 (0)