gstreamer-play: impl default for Play

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1224>
This commit is contained in:
SeaDve 2023-02-19 10:28:48 +08:00
parent 12b4a9a03d
commit cd8e8cea5a

View file

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