gstreamer: Delete duplicated assert_initialized_main_thread

This commit is contained in:
Ruben Gonzalez 2020-08-13 19:08:56 +02:00
parent febb0dfd16
commit 4e6766e6ed

View file

@ -66,8 +66,6 @@ pub fn parse_bin_from_description_with_name_full(
context: Option<&mut ParseContext>,
flags: ParseFlags,
) -> Result<Element, glib::Error> {
assert_initialized_main_thread!();
assert_initialized_main_thread!();
let bin =
parse_bin_from_description_full(bin_description, ghost_unlinked_pads, context, flags)?;