diff options
author | Guillaume Desmottes <guillaume.desmottes@onestream.live> | 2023-06-12 17:40:41 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2023-06-19 18:44:02 +0300 |
commit | 06c5d8766db55142c66024561a105c8f3cef685a (patch) | |
tree | 344e67cdbcbd0672c2f67b42fd1cc3ff4515057f | |
parent | aa799bc26cdf9843c0c106d9039e28deb1938e34 (diff) |
fallbackswitch: log when handling events
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1248>
-rw-r--r-- | utils/fallbackswitch/src/fallbackswitch/imp.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/fallbackswitch/src/fallbackswitch/imp.rs b/utils/fallbackswitch/src/fallbackswitch/imp.rs index 8f0c58698..f2a144a9c 100644 --- a/utils/fallbackswitch/src/fallbackswitch/imp.rs +++ b/utils/fallbackswitch/src/fallbackswitch/imp.rs @@ -832,6 +832,8 @@ impl FallbackSwitch { } fn sink_event(&self, pad: &super::FallbackSwitchSinkPad, event: gst::Event) -> bool { + log!(CAT, obj: pad, "Handling event {:?}", event); + if let gst::EventView::Gap(ev) = event.view() { let mut buffer = gst::Buffer::new(); |