mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-24 19:10:29 +00:00
ts-udpsink: Post Message on SinkMessage event
This commit is contained in:
parent
f81d7b61b5
commit
87d7b44dd2
1 changed files with 3 additions and 0 deletions
|
@ -711,6 +711,9 @@ impl UdpSinkPadHandler {
|
|||
EventView::Segment(e) => {
|
||||
self.0.write().unwrap().segment = Some(e.get_segment().clone());
|
||||
}
|
||||
EventView::SinkMessage(e) => {
|
||||
let _ = element.post_message(e.get_message());
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue