mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-20 02:21:00 +00:00
Minor cleanup
This commit is contained in:
parent
78450a035d
commit
19c8caee1e
2 changed files with 3 additions and 3 deletions
|
@ -320,8 +320,8 @@ impl Metadata {
|
||||||
};
|
};
|
||||||
|
|
||||||
let args = match script_data.arguments {
|
let args = match script_data.arguments {
|
||||||
flavors::ScriptDataValue::Object(ref objects) => objects,
|
flavors::ScriptDataValue::Object(ref objects) |
|
||||||
flavors::ScriptDataValue::ECMAArray(ref objects) => objects,
|
flavors::ScriptDataValue::ECMAArray(ref objects) |
|
||||||
flavors::ScriptDataValue::StrictArray(ref objects) => objects,
|
flavors::ScriptDataValue::StrictArray(ref objects) => objects,
|
||||||
_ => return metadata,
|
_ => return metadata,
|
||||||
};
|
};
|
||||||
|
|
|
@ -141,7 +141,7 @@ pub fn gcd(mut a: u32, mut b: u32) -> u32 {
|
||||||
b = tmp % b;
|
b = tmp % b;
|
||||||
}
|
}
|
||||||
|
|
||||||
return a;
|
a
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|
Loading…
Reference in a new issue