mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 05:21:00 +00:00
Finish example
This commit is contained in:
parent
683253e8e7
commit
80dcf3c90c
1 changed files with 10 additions and 0 deletions
10
src/main.rs
10
src/main.rs
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue