mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-15 14:52:04 +00:00
fallbackswitch: log when handling events
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1248>
This commit is contained in:
parent
aa799bc26c
commit
06c5d8766d
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue