mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 19:41:00 +00:00
gtk4: Implement Default for PaintableSink
This commit is contained in:
parent
bbe0b068e5
commit
e419c18a87
1 changed files with 6 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue