From 8cd9b6c9fcd561dc3ecf48d691cbaf3f9a37d2bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 19 Mar 2019 09:59:34 +0200 Subject: [PATCH] sdp: Add Default impl for Media --- gstreamer-sdp/src/sdp_media.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gstreamer-sdp/src/sdp_media.rs b/gstreamer-sdp/src/sdp_media.rs index 15a86d449..1e322a429 100644 --- a/gstreamer-sdp/src/sdp_media.rs +++ b/gstreamer-sdp/src/sdp_media.rs @@ -50,6 +50,12 @@ impl SDPMedia { } } +impl Default for SDPMedia { + fn default() -> Self { + Self::new() + } +} + unsafe impl Send for SDPMedia {} unsafe impl Sync for SDPMedia {}