mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 05:21:00 +00:00
fallbackswitch: log when handling events
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1242>
This commit is contained in:
parent
cdd084bbe8
commit
692d1bfb9e
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 {
|
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() {
|
if let gst::EventView::Gap(ev) = event.view() {
|
||||||
let mut buffer = gst::Buffer::new();
|
let mut buffer = gst::Buffer::new();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue