forked from mirrors/gstreamer-rs
Fix build after Event/Message::get_structure() API change
This commit is contained in:
parent
fccb1eca5e
commit
77d439338b
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ mod tutorial5 {
|
|||
.unwrap()
|
||||
.connect_message(move |_, msg| match msg.view() {
|
||||
gst::MessageView::Application(_) => {
|
||||
if msg.get_structure().get_name() == "tags-changed" {
|
||||
if msg.get_structure().map(|s| s.get_name()) == Some("tags-changed") {
|
||||
analyze_streams(&pipeline, &textbuf);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue