From c68b68f37f6b32ca048e8f07b888cf1c8b30735a Mon Sep 17 00:00:00 2001 From: Ruben Gonzalez Date: Thu, 13 Aug 2020 19:08:56 +0200 Subject: [PATCH] gstreamer: Delete duplicated assert_initialized_main_thread --- gstreamer/src/functions.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/gstreamer/src/functions.rs b/gstreamer/src/functions.rs index fd06fe7d7..37fdbc5ce 100644 --- a/gstreamer/src/functions.rs +++ b/gstreamer/src/functions.rs @@ -66,8 +66,6 @@ pub fn parse_bin_from_description_with_name_full( context: Option<&mut ParseContext>, flags: ParseFlags, ) -> Result { - assert_initialized_main_thread!(); - assert_initialized_main_thread!(); let bin = parse_bin_from_description_full(bin_description, ghost_unlinked_pads, context, flags)?;