gstreamer-play: impl default for Play

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1225>
This commit is contained in:
SeaDve 2023-02-19 10:28:48 +08:00 committed by Sebastian Dröge
parent 9446401a46
commit eeefa80227

View file

@ -37,3 +37,9 @@ impl Play {
}
}
}
impl Default for Play {
fn default() -> Self {
Self::new(None::<crate::PlayVideoRenderer>)
}
}