plugins: Fix typos

This commit is contained in:
Anton Kesy
2026-01-11 00:55:19 +01:00
committed by Ryan Foster
parent 7f022bffa7
commit 526c8928af
9 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -264,7 +264,7 @@ static void pulse_source_info(pa_context *c, const pa_source_info *i, int eol, v
{
UNUSED_PARAMETER(c);
PULSE_DATA(userdata);
// An error occured
// An error occurred
if (eol < 0) {
data->format = PA_SAMPLE_INVALID;
goto skip;
+1 -1
View File
@@ -64,7 +64,7 @@ void pulse_wait();
/**
* Wait for accept signal from calling thread
*
* This function tells the pulseaudio mainloop wheter the data provided to
* This function tells the pulseaudio mainloop whether the data provided to
* the callback should be retained until the calling thread executes
* pulse_accept()
*
+1 -1
View File
@@ -63,7 +63,7 @@ static enum udev_action udev_action_to_enum(const char *action)
/**
* Call all registered callbacks with the event
*
* @param dev udev device that had an event occuring
* @param dev udev device that had an event occurring
*/
static inline void udev_signal_event(struct udev_device *dev)
{
+1 -1
View File
@@ -180,7 +180,7 @@ typedef struct av_capture_info {
/// Reads a C-character pointer from user settings and converts it into an [NSString](https://developer.apple.com/documentation/foundation/nsstring?language=objc) instance.
/// - Parameters:
/// - settings: Pointer to user settings struct used by ``libobs``
/// - setting: String identifer for setting
/// - setting: String identifier for setting
/// - widthDefault: Optional fallback value to use if C-character pointer read from settings is invalid
/// - Returns: New [NSString](https://developer.apple.com/documentation/foundation/nsstring?language=objc) instance created from user setting if setting represented a valid C character pointer.
+ (NSString *)stringFromSettings:(void *)settings withSetting:(NSString *)setting withDefault:(NSString *)defaultValue;
+1 -1
View File
@@ -8,7 +8,7 @@
#import "OBSAVCapture.h"
#import "AVCaptureDeviceFormat+OBSListable.h"
/// Tthe maximum number of frame rate ranges to show complete information for before providing a more generic description of the supported frame rates inside of a device format description.
/// The maximum number of frame rate ranges to show complete information for before providing a more generic description of the supported frame rates inside of a device format description.
static const UInt32 kMaxFrameRateRangesInDescription = 10;
@implementation OBSAVCapture
@@ -8,7 +8,7 @@
#define MACH_SERVICE_NAME "com.obsproject.obs-mac-virtualcam.server"
typedef enum {
//! Initial connect message sent from the client to the server to initate a connection
//! Initial connect message sent from the client to the server to initiate a connection
MachMsgIdConnect = 1,
//! Message containing data for a frame
MachMsgIdFrame = 2,
+1 -1
View File
@@ -82,7 +82,7 @@ static bool apply_rc_opt(const struct obs_option *opt, NV_ENC_RC_PARAMS *nv_conf
APPLY_INT_OPT(lookaheadLevel, NV_ENC_LOOKAHEAD_LEVEL, PRIu32)
#endif
/* Macros above will return true if succesfully evaluated.
/* Macros above will return true if successfully evaluated.
* Otherwise, return false if option unknown/unsupported. */
return false;
}
+2 -2
View File
@@ -979,7 +979,7 @@ static size_t mp4_write_mp4a(struct mp4_mux *mux, struct mp4_track *track, uint8
// esds
mp4_write_esds(mux, track);
/* Write channel layout for version 1 sample entires */
/* Write channel layout for version 1 sample entries */
if (version == 1)
mp4_write_chnl(mux, track);
@@ -2566,7 +2566,7 @@ static void process_packets(struct mp4_mux *mux, struct mp4_track *track, uint64
if (pkt->keyframe)
da_push_back(track->sync_samples, &track->samples);
/* Only require ctts box if offet is non-zero */
/* Only require ctts box if offset is non-zero */
if (offset && !track->needs_ctts)
track->needs_ctts = true;
+2 -2
View File
@@ -49,7 +49,7 @@ void EditorWidget::buildEffectContainer(AEffect *effect)
effect->dispatcher(effect, effEditGetRect, 0, 0, &vstRect, 0);
if (vstRect) {
// on Windows, the size reported by 'effect' is larger than
// its actuall size by a factor of the monitor's ui scale,
// its actual size by a factor of the monitor's ui scale,
// so the window size should be divided by the factor
qreal scale_factor = devicePixelRatioF();
int width = vstRect->right - vstRect->left;
@@ -77,7 +77,7 @@ void EditorWidget::handleResizeRequest(int, int)
if (rec) {
// on Windows, the size reported by 'effect' is larger than
// its actuall size by a factor of the monitor's ui scale,
// its actual size by a factor of the monitor's ui scale,
// so the window size should be divided by the factor
qreal scale_factor = devicePixelRatioF();
int width = rec->right - rec->left;