Fix spelling errors copied from obs-websocket

v5-api
Dominik Nakamura 2 years ago
parent 0281eeaf11
commit 3588320e1d
No known key found for this signature in database
GPG Key ID: E4C6A749B2491910

@ -17,6 +17,7 @@ libobs
luma luma
mul mul
Mul Mul
namespace
NV12 NV12
OBS/M OBS/M
obws obws

@ -99,13 +99,13 @@ impl<'a> Transitions<'a> {
.await .await
} }
/// Sets the position of the TBar. /// Sets the position of the T-Bar.
/// ///
/// **Very important note:** This will be deprecated and replaced in a future version of /// **Very important note:** This will be deprecated and replaced in a future version of
/// `obs-websocket`. /// `obs-websocket`.
/// ///
/// - `position`: New position. /// - `position`: New position.
/// - `release`: Whether to release the TBar. Only set `false` if you know that you will be /// - `release`: Whether to release the T-Bar. Only set `false` if you know that you will be
/// sending another position update. /// sending another position update.
pub async fn set_tbar_position(&self, position: f32, release: Option<bool>) -> Result<()> { pub async fn set_tbar_position(&self, position: f32, release: Option<bool>) -> Result<()> {
self.client self.client

@ -90,7 +90,7 @@ pub enum Event {
/// Name of the filter. /// Name of the filter.
filter_name: String, filter_name: String,
}, },
/// A source's filter list has been reindexed. /// A source's filter list has been re-indexed.
#[serde(rename_all = "camelCase")] #[serde(rename_all = "camelCase")]
SourceFilterListReindexed { SourceFilterListReindexed {
/// Name of the source. /// Name of the source.

@ -617,7 +617,7 @@ pub(crate) enum RequestType<'a> {
SetTbarPosition { SetTbarPosition {
/// New position. /// New position.
position: f32, position: f32,
/// Whether to release the TBar. Only set `false` if you know that you will be sending /// Whether to release the T-Bar. Only set `false` if you know that you will be sending
/// another position update. /// another position update.
#[serde(skip_serializing_if = "Option::is_none")] #[serde(skip_serializing_if = "Option::is_none")]
release: Option<bool>, release: Option<bool>,

@ -460,7 +460,7 @@ pub struct RecordStatus {
pub output_active: bool, pub output_active: bool,
/// Whether the output is paused. /// Whether the output is paused.
pub output_paused: bool, pub output_paused: bool,
/// Current formatted timecode string for the output. /// Current formatted time code string for the output.
#[serde(deserialize_with = "crate::de::duration_timecode")] #[serde(deserialize_with = "crate::de::duration_timecode")]
pub output_timecode: Duration, pub output_timecode: Duration,
/// Current duration in milliseconds for the output. /// Current duration in milliseconds for the output.
@ -724,7 +724,7 @@ pub struct Transition {
pub transition_name: String, pub transition_name: String,
/// Kind of the transition. /// Kind of the transition.
pub transition_kind: String, pub transition_kind: String,
/// Whether the transition uses a fixed (unconfigurable) duration. /// Whether the transition uses a fixed (non-configurable) duration.
pub transition_fixed: bool, pub transition_fixed: bool,
/// Whether the transition supports being configured. /// Whether the transition supports being configured.
pub transition_configurable: bool, pub transition_configurable: bool,
@ -737,7 +737,7 @@ pub struct CurrentSceneTransition {
pub transition_name: String, pub transition_name: String,
/// Kind of the transition. /// Kind of the transition.
pub transition_kind: String, pub transition_kind: String,
/// Whether the transition uses a fixed (unconfigurable) duration. /// Whether the transition uses a fixed (non-configurable) duration.
pub transition_fixed: bool, pub transition_fixed: bool,
/// Configured transition duration in milliseconds. /// Configured transition duration in milliseconds.
#[serde(deserialize_with = "crate::de::duration_millis_opt")] #[serde(deserialize_with = "crate::de::duration_millis_opt")]

Loading…
Cancel
Save