diff --git a/video/gtk4/src/sink/mod.rs b/video/gtk4/src/sink/mod.rs index 6711c48e..bae95498 100644 --- a/video/gtk4/src/sink/mod.rs +++ b/video/gtk4/src/sink/mod.rs @@ -107,6 +107,12 @@ impl PaintableSink { } } +impl Default for PaintableSink { + fn default() -> Self { + PaintableSink::new(None) + } +} + pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin),