Finish example

This commit is contained in:
rubenrua 2018-04-05 11:13:51 +02:00
parent 683253e8e7
commit 80dcf3c90c

View file

@ -129,6 +129,16 @@ fn main() {
match frame_type { 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 => { NDIlib_frame_type_metadata => {
println!("Tengo metadata {} '{}'", println!("Tengo metadata {} '{}'",
metadata_frame.length, metadata_frame.length,