From cd8e8cea5a689f66800b0530629dc0b5bdc05798 Mon Sep 17 00:00:00 2001 From: SeaDve Date: Sun, 19 Feb 2023 10:28:48 +0800 Subject: [PATCH] gstreamer-play: impl default for Play Part-of: --- gstreamer-play/src/play.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gstreamer-play/src/play.rs b/gstreamer-play/src/play.rs index b2e17992f..9735c4da0 100644 --- a/gstreamer-play/src/play.rs +++ b/gstreamer-play/src/play.rs @@ -37,3 +37,9 @@ impl Play { } } } + +impl Default for Play { + fn default() -> Self { + Self::new(None::) + } +}