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

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@onestream.live>2023-06-12 17:40:41 +0300
committerGuillaume Desmottes <guillaume.desmottes@onestream.live>2023-06-13 13:43:51 +0300
commit692d1bfb9ef4559aa56b7ddc79ae7865c74d347e (patch)
tree26e4e902dc060a46de42a66a66176a9d883eec31 /utils
parentcdd084bbe8d2327538c3d78a2e74b218c5023d24 (diff)
fallbackswitch: log when handling events
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1242>
Diffstat (limited to 'utils')
-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 6bd56b5f..23af1515 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();