diff options
author | Abdul Rehman <abdulrehman272@live.com> | 2020-11-24 18:01:50 +0300 |
---|---|---|
committer | Abdul Rehman <abdulrehman272@live.com> | 2020-11-24 18:01:50 +0300 |
commit | 87d7b44dd265cb7ffd47d4e0a4e372603e0ce944 (patch) | |
tree | 4684a9c3d503dc1da9b6b0d4fdf2c8f31adbb2d9 /generic/threadshare | |
parent | f81d7b61b5923eea4247548c1778d1c71d94ed92 (diff) |
ts-udpsink: Post Message on SinkMessage event
Diffstat (limited to 'generic/threadshare')
-rw-r--r-- | generic/threadshare/src/udpsink/imp.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/threadshare/src/udpsink/imp.rs b/generic/threadshare/src/udpsink/imp.rs index 4472efeb2..eccd1d6fc 100644 --- a/generic/threadshare/src/udpsink/imp.rs +++ b/generic/threadshare/src/udpsink/imp.rs @@ -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()); + } _ => (), } } |