From 80dcf3c90caae78b96db9e1d5f218f06766e1205 Mon Sep 17 00:00:00 2001 From: rubenrua Date: Thu, 5 Apr 2018 11:13:51 +0200 Subject: [PATCH] Finish example --- src/main.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main.rs b/src/main.rs index bd844d1f..5350c194 100644 --- a/src/main.rs +++ b/src/main.rs @@ -129,6 +129,16 @@ fn main() { match frame_type { + NDIlib_frame_type_video => { + println!("Tengo video {:?}", + video_frame + ); + }, + NDIlib_frame_type_audio => { + println!("Tengo audio {:?}", + audio_frame + ); + }, NDIlib_frame_type_metadata => { println!("Tengo metadata {} '{}'", metadata_frame.length,