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
mul
Mul
namespace
NV12
OBS/M
obws

@ -99,13 +99,13 @@ impl<'a> Transitions<'a> {
.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
/// `obs-websocket`.
///
/// - `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.
pub async fn set_tbar_position(&self, position: f32, release: Option<bool>) -> Result<()> {
self.client

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

@ -617,7 +617,7 @@ pub(crate) enum RequestType<'a> {
SetTbarPosition {
/// New position.
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.
#[serde(skip_serializing_if = "Option::is_none")]
release: Option<bool>,

@ -460,7 +460,7 @@ pub struct RecordStatus {
pub output_active: bool,
/// Whether the output is paused.
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")]
pub output_timecode: Duration,
/// Current duration in milliseconds for the output.
@ -724,7 +724,7 @@ pub struct Transition {
pub transition_name: String,
/// Kind of the transition.
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,
/// Whether the transition supports being configured.
pub transition_configurable: bool,
@ -737,7 +737,7 @@ pub struct CurrentSceneTransition {
pub transition_name: String,
/// Kind of the transition.
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,
/// Configured transition duration in milliseconds.
#[serde(deserialize_with = "crate::de::duration_millis_opt")]

Loading…
Cancel
Save