fix and simplify enumeration

This commit is contained in:
Naoto Kondo
2020-04-24 22:51:38 +09:00
parent 2a9ded4f34
commit 98d9dc01fc
2 changed files with 32 additions and 72 deletions

View File

@@ -30,7 +30,7 @@ def main():
img = cv.cvtColor(img, cv.COLOR_BGR2BGRA)
video_frame.data = img
video_frame.FourCC = ndi.FOURCC_TYPE_BGRX
video_frame.FourCC = ndi.FOURCC_VIDEO_TYPE_BGRX
ndi.send_send_video_v2(ndi_send, video_frame)