Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@onestream.live>2023-06-12 17:40:41 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-06-19 19:02:23 +0300
commitaa1d89aa9f2ac9d61b8560e0c4f7308c095bf993 (patch)
tree3b9d720bb6033d0af129fd0e0bfb7f50e4e13eb9
parent05b2caec7436fc891e91430973a96f81ed2077eb (diff)
fallbackswitch: log when handling events
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1249>
-rw-r--r--utils/fallbackswitch/src/fallbackswitch/imp.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/fallbackswitch/src/fallbackswitch/imp.rs b/utils/fallbackswitch/src/fallbackswitch/imp.rs
index f7718f708..a102f2a76 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();