mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-09-01 01:13:48 +00:00
validate: Do not check if validate is initialized to build action types
That is not required Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1767>
This commit is contained in:
parent
9968b8a3af
commit
9d89a437d7
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ impl Drop for ActionParameter {
|
|||
}
|
||||
|
||||
fn into_glib_content(mut t: Vec<ActionParameter>) -> *mut ffi::GstValidateActionParameter {
|
||||
assert_initialized_main_thread!();
|
||||
skip_assert_initialized!();
|
||||
if t.is_empty() {
|
||||
return ptr::null_mut();
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ pub struct ActionParameterBuilder<'a> {
|
|||
|
||||
impl<'a> ActionParameterBuilder<'a> {
|
||||
pub fn new(name: &'a str, description: &'a str) -> Self {
|
||||
assert_initialized_main_thread!();
|
||||
skip_assert_initialized!();
|
||||
|
||||
Self {
|
||||
name,
|
||||
|
|
Loading…
Reference in a new issue