diff options
Diffstat (limited to 'sys')
46 files changed, 101 insertions, 100 deletions
diff --git a/sys/androidmedia/gstahcsrc.c b/sys/androidmedia/gstahcsrc.c index 4519aee70..448e11827 100644 --- a/sys/androidmedia/gstahcsrc.c +++ b/sys/androidmedia/gstahcsrc.c @@ -34,7 +34,7 @@ * directory. * The source will look for the environment variable “TMPâ€� which must contain * the absolute path to a writable directory. - * It can be retreived using the following Java code : + * It can be retrieved using the following Java code : * |[ * context.getCacheDir().getAbsolutePath(); * ]| diff --git a/sys/androidmedia/gstamcvideodec.c b/sys/androidmedia/gstamcvideodec.c index c8e79c29c..923c15570 100644 --- a/sys/androidmedia/gstamcvideodec.c +++ b/sys/androidmedia/gstamcvideodec.c @@ -1075,7 +1075,7 @@ _gl_sync_render_unlocked (struct gl_sync *sync) af_meta = gst_buffer_get_video_affine_transformation_meta (sync->buffer); if (!af_meta) { - GST_WARNING ("Failed to retreive the transformation meta from the " + GST_WARNING ("Failed to retrieve the transformation meta from the " "gl_sync %p buffer %p", sync, sync->buffer); } else if (gst_amc_surface_texture_get_transform_matrix (sync->surface, matrix, &error)) { diff --git a/sys/androidmedia/gstamcvideoenc.c b/sys/androidmedia/gstamcvideoenc.c index e4a668df0..291bd6f3d 100644 --- a/sys/androidmedia/gstamcvideoenc.c +++ b/sys/androidmedia/gstamcvideoenc.c @@ -305,12 +305,12 @@ color_format_info_failed_to_set: return NULL; unsupported_profile: - GST_ERROR_OBJECT (encoder, "Unsupport profile '%s'", profile_string); + GST_ERROR_OBJECT (encoder, "Unsupported profile '%s'", profile_string); gst_amc_format_free (format); return NULL; unsupported_level: - GST_ERROR_OBJECT (encoder, "Unsupport level '%s'", level_string); + GST_ERROR_OBJECT (encoder, "Unsupported level '%s'", level_string); gst_amc_format_free (format); return NULL; } @@ -409,14 +409,14 @@ caps_from_amc_format (GstAmcFormat * amc_format) return caps; unsupported_profile: - GST_ERROR ("Unsupport amc profile id %d", amc_profile); + GST_ERROR ("Unsupported amc profile id %d", amc_profile); g_free (mime); gst_caps_unref (caps); return NULL; unsupported_level: - GST_ERROR ("Unsupport amc level id %d", amc_level); + GST_ERROR ("Unsupported amc level id %d", amc_level); g_free (mime); gst_caps_unref (caps); diff --git a/sys/androidmedia/gstjniutils.c b/sys/androidmedia/gstjniutils.c index d7c9da43e..093408243 100644 --- a/sys/androidmedia/gstjniutils.c +++ b/sys/androidmedia/gstjniutils.c @@ -808,21 +808,21 @@ gst_amc_jni_get_application_class (JNIEnv * env, const gchar * name, if (!get_class_loader) { g_set_error (err, GST_LIBRARY_ERROR, GST_LIBRARY_ERROR_FAILED, - "Could not retreive application class loader function"); + "Could not retrieve application class loader function"); goto done; } class_loader = get_class_loader (); if (!class_loader) { g_set_error (err, GST_LIBRARY_ERROR, GST_LIBRARY_ERROR_FAILED, - "Could not retreive application class loader"); + "Could not retrieve application class loader"); goto done; } class_loader_cls = (*env)->GetObjectClass (env, class_loader); if (!class_loader_cls) { g_set_error (err, GST_LIBRARY_ERROR, GST_LIBRARY_ERROR_FAILED, - "Could not retreive application class loader java class"); + "Could not retrieve application class loader java class"); goto done; } diff --git a/sys/applemedia/avfvideosrc.m b/sys/applemedia/avfvideosrc.m index 0ef697da1..a95aee4eb 100644 --- a/sys/applemedia/avfvideosrc.m +++ b/sys/applemedia/avfvideosrc.m @@ -410,7 +410,7 @@ static AVCaptureVideoOrientation GstAVFVideoSourceOrientation2AVCaptureVideoOrie } @catch (NSException *exception) { if (![[exception name] isEqualToString:NSUndefinedKeyException]) { - GST_WARNING ("An unexpected error occured: %s", + GST_WARNING ("An unexpected error occurred: %s", [[exception reason] UTF8String]); } GST_WARNING ("Capturing cursor is only supported in OS X >= 10.8"); @@ -610,7 +610,7 @@ static AVCaptureVideoOrientation GstAVFVideoSourceOrientation2AVCaptureVideoOrie [device setValue:frame_duration_value forKey:@"activeVideoMaxFrameDuration"]; } @catch (NSException *exception) { if (![[exception name] isEqualToString:NSUndefinedKeyException]) { - GST_WARNING ("An unexcepted error occured: %s", + GST_WARNING ("An unexcepted error occurred: %s", [exception.reason UTF8String]); } } @@ -734,7 +734,7 @@ static AVCaptureVideoOrientation GstAVFVideoSourceOrientation2AVCaptureVideoOrie result = gst_caps_merge (result, [self getDeviceCaps]); } @catch (NSException *exception) { if (![[exception name] isEqualToString:NSUndefinedKeyException]) { - GST_WARNING ("An unexcepted error occured: %s", [exception.reason UTF8String]); + GST_WARNING ("An unexcepted error occurred: %s", [exception.reason UTF8String]); return result; } @@ -781,7 +781,7 @@ static AVCaptureVideoOrientation GstAVFVideoSourceOrientation2AVCaptureVideoOrie } @catch (NSException *exception) { if (![[exception name] isEqualToString:NSUndefinedKeyException]) { - GST_WARNING ("An unexcepted error occured: %s", [exception.reason UTF8String]); + GST_WARNING ("An unexcepted error occurred: %s", [exception.reason UTF8String]); *successPtr = NO; return; } diff --git a/sys/applemedia/vtenc.c b/sys/applemedia/vtenc.c index 2be165cd3..9ada8d0a5 100644 --- a/sys/applemedia/vtenc.c +++ b/sys/applemedia/vtenc.c @@ -505,7 +505,7 @@ static GstFlowReturn gst_vtenc_finish_encoding (GstVTEnc * self, gboolean is_flushing) { GST_DEBUG_OBJECT (self, - "complete enconding and clean buffer queue, is flushing %d", is_flushing); + "complete encoding and clean buffer queue, is flushing %d", is_flushing); GstVideoCodecFrame *outframe; GstFlowReturn ret = GST_FLOW_OK; OSStatus vt_status; diff --git a/sys/d3d11/gstd3d11device.c b/sys/d3d11/gstd3d11device.c index ed68aea0c..a5d8834cd 100644 --- a/sys/d3d11/gstd3d11device.c +++ b/sys/d3d11/gstd3d11device.c @@ -730,7 +730,7 @@ gst_d3d11_device_create_swap_chain_internal (GstD3D11Device * device, * @device: a #GstD3D11Device * @desc: a DXGI_SWAP_CHAIN_DESC structure for swapchain * - * Creat a IDXGISwapChain object. Caller must release returned swap chain object + * Create a IDXGISwapChain object. Caller must release returned swap chain object * via IDXGISwapChain_Release() * * Returns: (transfer full) (nullable): a new IDXGISwapChain or %NULL diff --git a/sys/d3d11/meson.build b/sys/d3d11/meson.build index 5c0664bf4..759a749bb 100644 --- a/sys/d3d11/meson.build +++ b/sys/d3d11/meson.build @@ -28,7 +28,7 @@ if not have_d3d11 subdir_done() endif -# required for HDR meatadata +# required for HDR metadata if cc.has_header('dxgi1_5.h') extra_c_args += ['-DHAVE_DXGI_1_5_H'] endif diff --git a/sys/d3dvideosink/d3dhelpers.c b/sys/d3dvideosink/d3dhelpers.c index f6a7b8dc0..031c12f9e 100644 --- a/sys/d3dvideosink/d3dhelpers.c +++ b/sys/d3dvideosink/d3dhelpers.c @@ -1050,7 +1050,7 @@ d3d_window_wndproc_unset (GstD3DVideoSink * sink) goto end; } - /* Restore orignal WndProc for window_handle */ + /* Restore original WndProc for window_handle */ if (!SetWindowLongPtr (sink->d3d.window_handle, GWLP_WNDPROC, (LONG_PTR) sink->d3d.orig_wnd_proc)) { GST_WARNING_OBJECT (sink, "D3D failed to set original WndProc"); diff --git a/sys/d3dvideosink/d3dvideosink.c b/sys/d3dvideosink/d3dvideosink.c index 43e4322e1..582b23fc1 100644 --- a/sys/d3dvideosink/d3dvideosink.c +++ b/sys/d3dvideosink/d3dvideosink.c @@ -527,7 +527,7 @@ gst_d3dvideosink_propose_allocation (GstBaseSink * bsink, GstQuery * query) /* PUBLIC FUNCTIONS */ -/* Iterface Registrations */ +/* Interface Registrations */ static void gst_d3dvideosink_video_overlay_interface_init (GstVideoOverlayInterface * iface) diff --git a/sys/decklink/gstdecklink.cpp b/sys/decklink/gstdecklink.cpp index a9338eb00..0fed8b019 100644 --- a/sys/decklink/gstdecklink.cpp +++ b/sys/decklink/gstdecklink.cpp @@ -1235,7 +1235,7 @@ gst_decklink_com_thread (gpointer data) else if (res == RPC_E_CHANGED_MODE) GST_WARNING ("The concurrency model of COM has changed."); else - GST_INFO ("COM intialized succesfully"); + GST_INFO ("COM initialized successfully"); com_initialized = TRUE; @@ -1244,12 +1244,12 @@ gst_decklink_com_thread (gpointer data) g_mutex_unlock (&com_init_lock); - /* Wait until the unitialize condition is met to leave the COM apartement */ + /* Wait until the uninitialize condition is met to leave the COM apartement */ g_mutex_lock (&com_deinit_lock); g_cond_wait (&com_deinit_cond, &com_deinit_lock); CoUninitialize (); - GST_INFO ("COM unintialized succesfully"); + GST_INFO ("COM uninitialized successfully"); com_initialized = FALSE; g_cond_signal (&com_deinited_cond); g_mutex_unlock (&com_deinit_lock); @@ -1576,7 +1576,7 @@ gst_decklink_release_nth_input (gint n, GstElement * src, gboolean is_audio) * the parent device is also checked and configured accordingly. * * If - * - full-duplex-mode is requsted and the device does not support it *or* + * - full-duplex-mode is requested and the device does not support it *or* * - half-duplex-mode is requested and there is not parent-device *or* * - half-duplex-mode is requested and neither the device nor the parent device does support setting * the duplex-mode, DUPLEX_MODE_SET_UNSUPPORTED is returnded. diff --git a/sys/decklink/gstdecklinkvideosink.cpp b/sys/decklink/gstdecklinkvideosink.cpp index e21f3f596..5ddbe0a2a 100644 --- a/sys/decklink/gstdecklinkvideosink.cpp +++ b/sys/decklink/gstdecklinkvideosink.cpp @@ -34,7 +34,7 @@ * * # Duplex-Mode: * Certain DechLink Cards like the Duo2 or the Quad2 contain two or four - * independant SDI units with two connectors each. These units can operate either + * independent SDI units with two connectors each. These units can operate either * in half- or in full-duplex mode. * * The Duplex-Mode of a Card can be configured using the `duplex-mode`-Property. @@ -42,7 +42,7 @@ * * ## Half-Duplex-Mode (default): * By default decklinkvideosink will configure them into half-duplex mode, so that - * each connector acts as if it were an independant DeckLink Card which can either + * each connector acts as if it were an independent DeckLink Card which can either * be used as an Input or as an Output. In this mode the Duo2 can be used as as 4 SDI * In-/Outputs and the Quad2 as 8 SDI In-/Outputs. * diff --git a/sys/decklink/gstdecklinkvideosrc.cpp b/sys/decklink/gstdecklinkvideosrc.cpp index 7be3d244b..4106d68e6 100644 --- a/sys/decklink/gstdecklinkvideosrc.cpp +++ b/sys/decklink/gstdecklinkvideosrc.cpp @@ -35,7 +35,7 @@ * * # Duplex-Mode: * Certain DechLink Cards like the Duo2 or the Quad2 contain two or four - * independant SDI units with two connectors each. These units can operate either + * independent SDI units with two connectors each. These units can operate either * in half- or in full-duplex mode. * * The Duplex-Mode of a Card can be configured using the `duplex-mode`-Property. @@ -43,7 +43,7 @@ * * ## Half-Duplex-Mode (default): * By default decklinkvideosrc will configure them into half-duplex mode, so that - * each connector acts as if it were an independant DeckLink Card which can either + * each connector acts as if it were an independent DeckLink Card which can either * be used as an Input or as an Output. In this mode the Duo2 can be used as as 4 SDI * In-/Outputs and the Quad2 as 8 SDI In-/Outputs. * diff --git a/sys/directsound/gstdirectsoundsrc.c b/sys/directsound/gstdirectsoundsrc.c index be6b2c894..f176faf50 100644 --- a/sys/directsound/gstdirectsoundsrc.c +++ b/sys/directsound/gstdirectsoundsrc.c @@ -536,7 +536,7 @@ gst_directsound_src_prepare (GstAudioSrc * asrc, GstAudioRingBufferSpec * spec) GST_INFO_OBJECT (asrc, "actual latency time: %" G_GUINT64_FORMAT, spec->latency_time); - /* Init secondary buffer desciption */ + /* Init secondary buffer description */ memset (&descSecondary, 0, sizeof (DSCBUFFERDESC)); descSecondary.dwSize = sizeof (DSCBUFFERDESC); descSecondary.dwFlags = 0; diff --git a/sys/dshowdecwrapper/gstdshowaudiodec.cpp b/sys/dshowdecwrapper/gstdshowaudiodec.cpp index ad7385039..e9ee3561f 100644 --- a/sys/dshowdecwrapper/gstdshowaudiodec.cpp +++ b/sys/dshowdecwrapper/gstdshowaudiodec.cpp @@ -403,7 +403,7 @@ gst_dshowaudiodec_com_thread (GstDshowAudioDec * adec) else if (res == RPC_E_CHANGED_MODE) GST_WARNING_OBJECT (adec, "The concurrency model of COM has changed."); else - GST_INFO_OBJECT (adec, "COM intialized succesfully"); + GST_INFO_OBJECT (adec, "COM initialized successfully"); adec->comInitialized = TRUE; @@ -412,12 +412,12 @@ gst_dshowaudiodec_com_thread (GstDshowAudioDec * adec) g_mutex_unlock (&adec->com_init_lock); - /* Wait until the unitialize condition is met to leave the COM apartement */ + /* Wait until the uninitialize condition is met to leave the COM apartement */ g_mutex_lock (&adec->com_deinit_lock); g_cond_wait (&adec->com_uninitialize, &adec->com_deinit_lock); CoUninitialize (); - GST_INFO_OBJECT (adec, "COM unintialized succesfully"); + GST_INFO_OBJECT (adec, "COM uninitialized successfully"); adec->comInitialized = FALSE; g_cond_signal (&adec->com_uninitialized); g_mutex_unlock (&adec->com_deinit_lock); @@ -989,7 +989,7 @@ gst_dshowaudiodec_get_filter_settings (GstDshowAudioDec * adec) output_pin = gst_dshow_get_pin_from_filter (adec->decfilter, PINDIR_OUTPUT); if (!output_pin) { GST_ELEMENT_ERROR (adec, CORE, NEGOTIATION, - ("failed getting ouput pin from the decoder"), (NULL)); + ("failed getting output pin from the decoder"), (NULL)); return FALSE; } diff --git a/sys/dshowdecwrapper/gstdshowvideodec.cpp b/sys/dshowdecwrapper/gstdshowvideodec.cpp index 7288f72fd..2f4b4007e 100644 --- a/sys/dshowdecwrapper/gstdshowvideodec.cpp +++ b/sys/dshowdecwrapper/gstdshowvideodec.cpp @@ -448,7 +448,7 @@ gst_dshowvideodec_com_thread (GstDshowVideoDec * vdec) else if (res == RPC_E_CHANGED_MODE) GST_WARNING_OBJECT (vdec, "The concurrency model of COM has changed."); else - GST_INFO_OBJECT (vdec, "COM intialized succesfully"); + GST_INFO_OBJECT (vdec, "COM initialized successfully"); vdec->comInitialized = TRUE; @@ -457,12 +457,12 @@ gst_dshowvideodec_com_thread (GstDshowVideoDec * vdec) g_mutex_unlock (&vdec->com_init_lock); - /* Wait until the unitialize condition is met to leave the COM apartement */ + /* Wait until the uninitialize condition is met to leave the COM apartement */ g_mutex_lock (&vdec->com_deinit_lock); g_cond_wait (&vdec->com_uninitialize, &vdec->com_deinit_lock); CoUninitialize (); - GST_INFO_OBJECT (vdec, "COM unintialized succesfully"); + GST_INFO_OBJECT (vdec, "COM uninitialized successfully"); vdec->comInitialized = FALSE; g_cond_signal (&vdec->com_uninitialized); g_mutex_unlock (&vdec->com_deinit_lock); @@ -485,7 +485,7 @@ gst_dshowvideodec_init (GstDshowVideoDec * vdec) vdec->srcpad = gst_pad_new_from_template (gst_element_class_get_pad_template (element_class, "src"), "src"); -/* needed to implement caps negociation on our src pad */ +/* needed to implement caps negotiation on our src pad */ /* gst_pad_set_getcaps_function (vdec->srcpad, gst_dshowvideodec_src_getcaps); gst_pad_set_setcaps_function (vdec->srcpad, gst_dshowvideodec_src_setcaps);*/ gst_element_add_pad (GST_ELEMENT (vdec), vdec->srcpad); @@ -980,7 +980,7 @@ gst_dshowvideodec_src_getcaps (GstPad * pad) output_pin = gst_dshow_get_pin_from_filter (vdec->decfilter, PINDIR_OUTPUT); if (!output_pin) { GST_ELEMENT_ERROR (vdec, STREAM, FAILED, - ("failed getting ouput pin from the decoder"), (NULL)); + ("failed getting output pin from the decoder"), (NULL)); goto beach; } @@ -1074,7 +1074,7 @@ gst_dshowvideodec_get_filter_output_format (GstDshowVideoDec * vdec, output_pin = gst_dshow_get_pin_from_filter (vdec->decfilter, PINDIR_OUTPUT); if (!output_pin) { GST_ELEMENT_ERROR (vdec, CORE, NEGOTIATION, - ("failed getting ouput pin from the decoder"), (NULL)); + ("failed getting output pin from the decoder"), (NULL)); return FALSE; } diff --git a/sys/dshowdecwrapper/gstdshowvideodec.h b/sys/dshowdecwrapper/gstdshowvideodec.h index 885861fbc..14d1520bd 100644 --- a/sys/dshowdecwrapper/gstdshowvideodec.h +++ b/sys/dshowdecwrapper/gstdshowvideodec.h @@ -89,7 +89,7 @@ struct _GstDshowVideoDec GstFlowReturn last_ret; - /* list of dshow mediatypes coresponding to the caps list */ + /* list of dshow mediatypes corresponding to the caps list */ GList *mediatypes; /* filters interfaces */ diff --git a/sys/dshowsrcwrapper/gstdshow.cpp b/sys/dshowsrcwrapper/gstdshow.cpp index 2b41dcb08..2a457f7b6 100644 --- a/sys/dshowsrcwrapper/gstdshow.cpp +++ b/sys/dshowsrcwrapper/gstdshow.cpp @@ -49,7 +49,7 @@ gst_dshow_free_mediatype (AM_MEDIA_TYPE * pmt) pmt->pbFormat = NULL; } if (pmt->pUnk != NULL) { - /* Unecessary because pUnk should not be used, but safest. */ + /* Unnecessary because pUnk should not be used, but safest. */ pmt->pUnk->Release (); pmt->pUnk = NULL; } @@ -205,7 +205,7 @@ gst_dshow_find_filter (CLSID input_majortype, CLSID input_subtype, if (filter) *filter = NULL; - /* create a private copy of prefered filter substring in upper case */ + /* create a private copy of preferred filter substring in upper case */ if (prefered_filter_name) { prefered_filter_upper = g_strdup (prefered_filter_name); _strupr (prefered_filter_upper); diff --git a/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp b/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp index f7976315a..f69799f14 100644 --- a/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp +++ b/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp @@ -507,7 +507,7 @@ gst_dshowaudiosrc_prepare (GstAudioSrc * asrc, GstAudioRingBufferSpec * spec) src->is_running = FALSE; } - /* search the negociated caps in our caps list to get its index and the corresponding mediatype */ + /* search the negotiated caps in our caps list to get its index and the corresponding mediatype */ if (gst_caps_is_subset (spec->caps, src->caps)) { guint i = 0; gint res = -1; diff --git a/sys/dshowsrcwrapper/gstdshowvideosrc.cpp b/sys/dshowsrcwrapper/gstdshowvideosrc.cpp index 4127d537a..483c29d8d 100644 --- a/sys/dshowsrcwrapper/gstdshowvideosrc.cpp +++ b/sys/dshowsrcwrapper/gstdshowvideosrc.cpp @@ -196,7 +196,7 @@ gst_dshowvideosrc_init (GstDshowVideoSrc * src) static GstCaps * gst_dshowvideosrc_src_fixate (GstBaseSrc * bsrc, GstCaps * caps) { - /* If there is no desired video size, set default video size to device preffered video size */ + /* If there is no desired video size, set default video size to device preferred video size */ GstDshowVideoSrc *src = GST_DSHOWVIDEOSRC (bsrc); GstStructure *structure = gst_caps_get_structure (caps, 0); @@ -497,7 +497,7 @@ gst_dshowvideosrc_start (GstBaseSrc * bsrc) src->video_cap_filter, (GList**)&src->pins_mediatypes); if (gst_caps_is_empty (src->caps)) { GST_ELEMENT_ERROR (src, RESOURCE, FAILED, - ("Failed to get any caps from devce"), (NULL)); + ("Failed to get any caps from device"), (NULL)); return FALSE; } @@ -649,7 +649,7 @@ gst_dshowvideosrc_set_caps (GstBaseSrc * bsrc, GstCaps * caps) src->is_running = FALSE; } - /* search the negociated caps in our caps list to get its index and the corresponding mediatype */ + /* search the negotiated caps in our caps list to get its index and the corresponding mediatype */ if (gst_caps_is_subset (caps, src->caps)) { guint i = 0; gint res = -1; @@ -745,7 +745,7 @@ gst_dshowvideosrc_set_caps (GstBaseSrc * bsrc, GstCaps * caps) goto error; } - /* save width and height negociated */ + /* save width and height negotiated */ gst_structure_get_int (s, "width", &src->width); gst_structure_get_int (s, "height", &src->height); diff --git a/sys/dshowvideosink/dshowvideosink.cpp b/sys/dshowvideosink/dshowvideosink.cpp index cc9d332a8..f6e2d000e 100644 --- a/sys/dshowvideosink/dshowvideosink.cpp +++ b/sys/dshowvideosink/dshowvideosink.cpp @@ -369,7 +369,7 @@ gst_dshowvideosink_com_thread (GstDshowVideoSink * sink) else if (res == RPC_E_CHANGED_MODE) GST_WARNING_OBJECT (sink, "The concurrency model of COM has changed."); else - GST_INFO_OBJECT (sink, "COM intialized succesfully"); + GST_INFO_OBJECT (sink, "COM initialized successfully"); sink->comInitialized = TRUE; @@ -378,12 +378,12 @@ gst_dshowvideosink_com_thread (GstDshowVideoSink * sink) g_mutex_unlock (&sink->com_init_lock); - /* Wait until the unitialize condition is met to leave the COM apartement */ + /* Wait until the uninitialize condition is met to leave the COM apartement */ g_mutex_lock (&sink->com_deinit_lock); g_cond_wait (&sink->com_uninitialize, &sink->com_deinit_lock); CoUninitialize (); - GST_INFO_OBJECT (sink, "COM unintialized succesfully"); + GST_INFO_OBJECT (sink, "COM uninitialized successfully"); sink->comInitialized = FALSE; g_cond_signal (&sink->com_uninitialized); g_mutex_unlock (&sink->com_deinit_lock); @@ -1561,7 +1561,7 @@ gst_dshowvideosink_set_caps (GstBaseSink * bsink, GstCaps * caps) sink->fakesrc->GetOutputPin()->SetMediaType (&sink->mediatype); GST_DEBUG_OBJECT (sink, "Configured output pin media type"); - /* We have configured the ouput pin media type. + /* We have configured the output pin media type. * So, create a window (or start using an application-supplied * one, then connect the graph */ gst_dshowvideosink_prepare_window (sink); diff --git a/sys/dvb/camtransport.c b/sys/dvb/camtransport.c index 839c1fe96..50765c481 100644 --- a/sys/dvb/camtransport.c +++ b/sys/dvb/camtransport.c @@ -246,7 +246,7 @@ cam_tl_connection_write_tpdu (CamTLConnection * connection, tl->expected_tpdus += 1; - GST_DEBUG ("Sucess writing tpdu 0x%x (%s)", buffer[2], + GST_DEBUG ("Success writing tpdu 0x%x (%s)", buffer[2], tag_get_name (buffer[2])); return CAM_RETURN_OK; diff --git a/sys/dvb/dvbbasebin.c b/sys/dvb/dvbbasebin.c index 1a76e841f..f7e2fa547 100644 --- a/sys/dvb/dvbbasebin.c +++ b/sys/dvb/dvbbasebin.c @@ -422,7 +422,7 @@ dvb_base_bin_class_init (DvbBaseBinClass * klass) * DvbBaseBin::tuning-start: * @dvbbasebin: the element on which the signal is emitted * - * Signal emited when the element first attempts to tune the + * Signal emitted when the element first attempts to tune the * frontend tunner to a given frequency. */ dvb_base_bin_signals[SIGNAL_TUNING_START] = @@ -432,7 +432,7 @@ dvb_base_bin_class_init (DvbBaseBinClass * klass) * DvbBaseBin::tuning-done: * @dvbbasebin: the element on which the signal is emitted * - * Signal emited when the tunner has successfully got a lock on a signal. + * Signal emitted when the tunner has successfully got a lock on a signal. */ dvb_base_bin_signals[SIGNAL_TUNING_DONE] = g_signal_new ("tuning-done", G_TYPE_FROM_CLASS (klass), @@ -441,7 +441,7 @@ dvb_base_bin_class_init (DvbBaseBinClass * klass) * DvbBaseBin::tuning-fail: * @dvbbasebin: the element on which the signal is emitted * - * Signal emited when the tunner failed to get a lock on the + * Signal emitted when the tunner failed to get a lock on the * signal. */ dvb_base_bin_signals[SIGNAL_TUNING_FAIL] = @@ -452,7 +452,7 @@ dvb_base_bin_class_init (DvbBaseBinClass * klass) * DvbBaseBin::tune: * @dvbbasesink: the element on which the signal is emitted * - * Signal emited from the application to the element, instructing it + * Signal emitted from the application to the element, instructing it * to tune. */ dvb_base_bin_signals[SIGNAL_TUNE] = diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c index d9bee26ea..4831fca9a 100644 --- a/sys/dvb/gstdvbsrc.c +++ b/sys/dvb/gstdvbsrc.c @@ -659,7 +659,7 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass) g_object_class_install_property (gobject_class, ARG_DVBSRC_FREQUENCY, g_param_spec_uint ("frequency", "Center frequency", "Center frequency to tune into. Measured in kHz for the satellite " - "distribution standars and Hz for all the rest", + "distribution standards and Hz for all the rest", 0, G_MAXUINT, DEFAULT_FREQUENCY, GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); @@ -973,7 +973,7 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass) * GstDvbSrc::tuning-start: * @gstdvbsrc: the element on which the signal is emitted * - * Signal emited when the element first attempts to tune the + * Signal emitted when the element first attempts to tune the * frontend tunner to a given frequency. */ gst_dvbsrc_signals[SIGNAL_TUNING_START] = @@ -983,7 +983,7 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass) * GstDvbSrc::tuning-done: * @gstdvbsrc: the element on which the signal is emitted * - * Signal emited when the tunner has successfully got a lock on a signal. + * Signal emitted when the tunner has successfully got a lock on a signal. */ gst_dvbsrc_signals[SIGNAL_TUNING_DONE] = g_signal_new ("tuning-done", G_TYPE_FROM_CLASS (klass), @@ -992,7 +992,7 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass) * GstDvbSrc::tuning-fail: * @gstdvbsrc: the element on which the signal is emitted * - * Signal emited when the tunner failed to get a lock on the + * Signal emitted when the tunner failed to get a lock on the * signal. */ gst_dvbsrc_signals[SIGNAL_TUNING_FAIL] = @@ -1003,7 +1003,7 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass) * GstDvbSrc::tune: * @gstdvbsrc: the element on which the signal is emitted * - * Signal emited from the application to the element, instructing it + * Signal emitted from the application to the element, instructing it * to tune. */ gst_dvbsrc_signals[SIGNAL_TUNE] = @@ -2332,7 +2332,7 @@ gst_dvbsrc_tune_fe (GstDvbSrc * object) return FALSE; } - /* If set, confirm the choosen delivery system is actually + /* If set, confirm the chosen delivery system is actually * supported by the hardware */ if (object->delsys != SYS_UNDEFINED) { GST_DEBUG_OBJECT (object, "Confirming delivery system '%u' is supported", diff --git a/sys/ipcpipeline/gstipcpipelinesink.c b/sys/ipcpipeline/gstipcpipelinesink.c index 5940d9740..30c0df479 100644 --- a/sys/ipcpipeline/gstipcpipelinesink.c +++ b/sys/ipcpipeline/gstipcpipelinesink.c @@ -57,7 +57,7 @@ * serialized in a "packet" and sent over the socket. The sender then * performs a blocking wait for a reply, if a return code is needed. * - * All objects that contan a GstStructure (messages, queries, events) are + * All objects that contain a GstStructure (messages, queries, events) are * serialized by serializing the GstStructure to a string * (gst_structure_to_string). This implies some limitations, of course. * All fields of this structures that are not serializable to strings (ex. @@ -644,7 +644,7 @@ gst_ipc_pipeline_sink_change_state (GstElement * element, /* change the state of the peer first */ /* If the fd out is -1, we do not actually call the peer. This will happen - when we explicitely disconnected, and in that case we want to be able + when we explicitly disconnected, and in that case we want to be able to bring the element down to NULL, so it can be restarted with a new slave pipeline. */ if (sink->comm.fdout >= 0) { @@ -714,7 +714,7 @@ gst_ipc_pipeline_sink_change_state (GstElement * element, } /* the parent's (GstElement) state change func won't return ASYNC or - * NO_PREROLL, so unless it has returned FAILURE, which we have catched above, + * NO_PREROLL, so unless it has returned FAILURE, which we have caught above, * we are not interested in its return code... just return the peer's */ return peer_ret; } diff --git a/sys/ipcpipeline/gstipcslavepipeline.c b/sys/ipcpipeline/gstipcslavepipeline.c index 2c9dd1516..3ec512ef8 100644 --- a/sys/ipcpipeline/gstipcslavepipeline.c +++ b/sys/ipcpipeline/gstipcslavepipeline.c @@ -92,7 +92,7 @@ send_message_if_ipcpipelinesrc (const GValue * v, GValue * r, if (et == GST_TYPE_IPC_PIPELINE_SRC) { g_signal_emit_by_name (G_OBJECT (e), "forward-message", message, &ret); - /* if we succesfully sent this to the master and it's not ASYNC_DONE or EOS, + /* if we successfully sent this to the master and it's not ASYNC_DONE or EOS, * we can skip sending it again through the other ipcpipelinesrcs */ if (ret && GST_MESSAGE_TYPE (message) != GST_MESSAGE_ASYNC_DONE && GST_MESSAGE_TYPE (message) != GST_MESSAGE_EOS) diff --git a/sys/kms/gstkmssink.c b/sys/kms/gstkmssink.c index 488c5bcbf..b5815a9c9 100644 --- a/sys/kms/gstkmssink.c +++ b/sys/kms/gstkmssink.c @@ -1122,7 +1122,7 @@ gst_kms_sink_set_caps (GstBaseSink * bsink, GstCaps * caps) self = GST_KMS_SINK (bsink); /* We are going to change the internal buffer pool, which means it will no - * longer be compatbile with the last_buffer size. Drain now, as we won't be + * longer be compatible with the last_buffer size. Drain now, as we won't be * able to do that later on. */ gst_kms_sink_drain (self); @@ -2006,7 +2006,7 @@ gst_kms_sink_class_init (GstKMSSinkClass * klass) */ g_properties[PROP_CONNECTOR_PROPS] = g_param_spec_boxed ("connector-properties", "Connector Properties", - "Additionnal properties for the connector", + "Additional properties for the connector", GST_TYPE_STRUCTURE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); /** @@ -2019,7 +2019,7 @@ gst_kms_sink_class_init (GstKMSSinkClass * klass) */ g_properties[PROP_PLANE_PROPS] = g_param_spec_boxed ("plane-properties", "Connector Plane", - "Additionnal properties for the plane", + "Additional properties for the plane", GST_TYPE_STRUCTURE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); g_object_class_install_properties (gobject_class, PROP_N, g_properties); diff --git a/sys/msdk/gstmsdkallocator_libva.c b/sys/msdk/gstmsdkallocator_libva.c index 05ffa5928..6aedf47c5 100644 --- a/sys/msdk/gstmsdkallocator_libva.c +++ b/sys/msdk/gstmsdkallocator_libva.c @@ -651,7 +651,7 @@ gst_msdk_replace_mfx_memid (GstMsdkContext * context, msdk_mid = (GstMsdkMemoryID *) mfx_surface->Data.MemId; dpy = gst_msdk_context_get_handle (context); - /* Destory the underlined VAImage if already mapped */ + /* Destroy the underlined VAImage if already mapped */ if (msdk_mid->image.image_id != VA_INVALID_ID && msdk_mid->image.buf != VA_INVALID_ID) { status = diff --git a/sys/msdk/gstmsdkbufferpool.c b/sys/msdk/gstmsdkbufferpool.c index c8c6157dc..4d8ad3bac 100644 --- a/sys/msdk/gstmsdkbufferpool.c +++ b/sys/msdk/gstmsdkbufferpool.c @@ -297,7 +297,7 @@ gst_msdk_buffer_pool_acquire_buffer (GstBufferPool * pool, } } #ifndef _WIN32 - /* When using dmabuf, we should confirm that the fd of memeory and + /* When using dmabuf, we should confirm that the fd of memory and * the fd of surface match, since there is no guarantee that fd matches * between surface and memory. */ diff --git a/sys/msdk/gstmsdkenc.c b/sys/msdk/gstmsdkenc.c index 64dea7513..62187364e 100644 --- a/sys/msdk/gstmsdkenc.c +++ b/sys/msdk/gstmsdkenc.c @@ -148,7 +148,7 @@ ensure_bitrate_control (GstMsdkEnc * thiz) GST_DEBUG_OBJECT (thiz, "set target bitrate: %u kbit/sec", thiz->bitrate); mfx->RateControlMethod = thiz->rate_control; - /* No effect in CQP varient algorithms */ + /* No effect in CQP variant algorithms */ if ((mfx->RateControlMethod != MFX_RATECONTROL_CQP) && (thiz->bitrate > G_MAXUINT16 || thiz->max_vbv_bitrate > G_MAXUINT16)) { mfxU32 max_val = MAX (thiz->max_vbv_bitrate, thiz->bitrate); diff --git a/sys/msdk/gstmsdkh264enc.c b/sys/msdk/gstmsdkh264enc.c index a47489be1..b77d15c29 100644 --- a/sys/msdk/gstmsdkh264enc.c +++ b/sys/msdk/gstmsdkh264enc.c @@ -539,7 +539,7 @@ gst_msdkh264enc_class_init (GstMsdkH264EncClass * klass) g_object_class_install_property (gobject_class, PROP_B_PYRAMID, g_param_spec_boolean ("b-pyramid", "B-pyramid", - "Enable B-Pyramid Referene structure", FALSE, + "Enable B-Pyramid Reference structure", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); gst_element_class_set_static_metadata (element_class, diff --git a/sys/msdk/gstmsdksystemmemory.c b/sys/msdk/gstmsdksystemmemory.c index 74bac7262..95217dd58 100644 --- a/sys/msdk/gstmsdksystemmemory.c +++ b/sys/msdk/gstmsdksystemmemory.c @@ -234,7 +234,7 @@ gst_msdk_system_memory_map_full (GstMemory * base_mem, GstMapInfo * info, if ((info->flags & GST_MAP_WRITE) && mem->surface && mem->surface->Data.Locked) { - GST_WARNING ("The surface in memory %p is not still avaliable", mem); + GST_WARNING ("The surface in memory %p is not still available", mem); return NULL; } diff --git a/sys/msdk/gstmsdkvc1dec.c b/sys/msdk/gstmsdkvc1dec.c index 89e73a42a..5438ed1ba 100644 --- a/sys/msdk/gstmsdkvc1dec.c +++ b/sys/msdk/gstmsdkvc1dec.c @@ -93,7 +93,7 @@ gst_msdkvc1dec_configure (GstMsdkDec * decoder) decoder->param.mfx.CodecProfile = MFX_PROFILE_VC1_MAIN; else { decoder->param.mfx.CodecProfile = MFX_PROFILE_VC1_ADVANCED; - /* asf advanced profile codec-data has 1 byte in the begining + /* asf advanced profile codec-data has 1 byte in the beginning * which is the ASF binding byte. MediaSDK can't recognize this * byte, so discard it */ if (decoder->input_state->codec_data) { diff --git a/sys/msdk/gstmsdkvideomemory.c b/sys/msdk/gstmsdkvideomemory.c index 5fc536988..8db07652a 100644 --- a/sys/msdk/gstmsdkvideomemory.c +++ b/sys/msdk/gstmsdkvideomemory.c @@ -107,7 +107,7 @@ gst_msdk_video_memory_get_surface_available (GstMemory * mem) /* * Every time releasing a gst buffer, we need to check the status of surface's lock, - * so that we could manage locked surfaces seperatedly in the context. + * so that we could manage locked surfaces separately in the context. * Otherwise, we put the surface to the available list. */ void @@ -209,7 +209,7 @@ gst_video_meta_map_msdk_memory (GstVideoMeta * meta, guint plane, } if ((flags & GST_MAP_WRITE) && mem->surface && mem->surface->Data.Locked) { - GST_WARNING ("The surface in memory %p is not still avaliable", mem); + GST_WARNING ("The surface in memory %p is not still available", mem); return FALSE; } @@ -305,7 +305,7 @@ gst_msdk_video_memory_map_full (GstMemory * base_mem, GstMapInfo * info, if ((info->flags & GST_MAP_WRITE) && mem->surface && mem->surface->Data.Locked) { - GST_WARNING ("The surface in memory %p is not still avaliable", mem); + GST_WARNING ("The surface in memory %p is not still available", mem); return NULL; } diff --git a/sys/msdk/gstmsdkvpp.c b/sys/msdk/gstmsdkvpp.c index fb8ed163d..66b32e082 100644 --- a/sys/msdk/gstmsdkvpp.c +++ b/sys/msdk/gstmsdkvpp.c @@ -352,7 +352,7 @@ gst_msdkvpp_create_buffer_pool (GstMsdkVPP * thiz, GstPadDirection direction, if (!gst_buffer_pool_set_config (pool, config)) goto error_pool_config; - /* Updating pool_info with algined info of allocator */ + /* Updating pool_info with aligned info of allocator */ *pool_info = info; return pool; @@ -445,7 +445,7 @@ gst_msdkvpp_decide_allocation (GstBaseTransform * trans, GstQuery * query) gst_object_unref (thiz->srcpad_buffer_pool); /* Always create a pool for vpp out buffers. Each of the msdk element - * has to create it's own mfxsurfacepool which is an msdk contraint. + * has to create it's own mfxsurfacepool which is an msdk constraint. * For eg: Each Msdk component (vpp, dec and enc) will invoke the external * Frame allocator for video-memory usage.So sharing the pool between * gst-msdk elements might not be a good idea, rather each element @@ -534,7 +534,7 @@ gst_msdkvpp_propose_allocation (GstBaseTransform * trans, gst_query_add_allocation_param (query, allocator, ¶ms); gst_structure_free (config); - /* if upstream does't have a pool requirement, set only + /* if upstream doesn't have a pool requirement, set only * size, min_buffers and max_buffers in query */ gst_query_add_allocation_pool (query, need_pool ? pool : NULL, size, min_buffers, 0); @@ -808,7 +808,7 @@ vpp_error: error_more_data: GST_WARNING_OBJECT (thiz, - "MSDK Requries additional input for processing, " + "MSDK Requires additional input for processing, " "Retruning FLOW_DROPPED since no output buffer was generated"); ret = GST_BASE_TRANSFORM_FLOW_DROPPED; goto transform_end; @@ -1039,7 +1039,7 @@ gst_msdkvpp_initialize (GstMsdkVPP * thiz) /* Enable the required filters */ ensure_filters (thiz); - /* Add exteneded buffers */ + /* Add extended buffers */ if (thiz->num_extra_params) { thiz->param.NumExtParam = thiz->num_extra_params; thiz->param.ExtParam = thiz->extra_params; diff --git a/sys/msdk/gstmsdkvpputil.c b/sys/msdk/gstmsdkvpputil.c index 7980aa75d..7517bda89 100644 --- a/sys/msdk/gstmsdkvpputil.c +++ b/sys/msdk/gstmsdkvpputil.c @@ -333,7 +333,7 @@ fixate_output_frame_size (GstMsdkVPP * thiz, GstVideoInfo * vinfo, goto done; } - /* If all this failed, keep the height that was nearest to the orignal + /* If all this failed, keep the height that was nearest to the original * height and the nearest possible width. This changes the DAR but * there's not much else to do here. */ diff --git a/sys/msdk/msdk.c b/sys/msdk/msdk.c index 2f4903950..47d0384ab 100644 --- a/sys/msdk/msdk.c +++ b/sys/msdk/msdk.c @@ -141,7 +141,7 @@ msdk_status_to_string (mfxStatus status) default: break; } - return "undefiend error"; + return "undefined error"; } void diff --git a/sys/nvcodec/gstcudautils.c b/sys/nvcodec/gstcudautils.c index fbf5238a3..6510eda4f 100644 --- a/sys/nvcodec/gstcudautils.c +++ b/sys/nvcodec/gstcudautils.c @@ -164,7 +164,7 @@ context_set_cuda_context (GstContext * context, GstCudaContext * cuda_ctx) /** * gst_cuda_ensure_element_context: * @element: the #GstElement running the query - * @device_id: prefered device-id, pass device_id >=0 when + * @device_id: preferred device-id, pass device_id >=0 when * the device_id explicitly required. Otherwise, set -1. * @cuda_ctx: (inout): the resulting #GstCudaContext * @@ -224,7 +224,7 @@ gst_cuda_ensure_element_context (GstElement * element, gint device_id, * gst_cuda_handle_set_context: * @element: a #GstElement * @context: a #GstContext - * @device_id: prefered device-id, pass device_id >=0 when + * @device_id: preferred device-id, pass device_id >=0 when * the device_id explicitly required. Otherwise, set -1. * @cuda_ctx: (inout) (transfer full): location of a #GstCudaContext * @@ -388,7 +388,7 @@ gst_cuda_quark_from_id (GstCudaQuarkId id) /** * gst_cuda_graphics_resource_new: (skip) * @context: (transfer none): a #GstCudaContext - * @graphics_context: (transfer none) (nullable): a grapics API specific context object + * @graphics_context: (transfer none) (nullable): a graphics API specific context object * @type: a #GstCudaGraphicsResourceType of resource registration * * Create new #GstCudaGraphicsResource with given @context and @type diff --git a/sys/nvcodec/gstnvbaseenc.c b/sys/nvcodec/gstnvbaseenc.c index 7a97f7f61..e274bff07 100644 --- a/sys/nvcodec/gstnvbaseenc.c +++ b/sys/nvcodec/gstnvbaseenc.c @@ -978,9 +978,9 @@ gst_nv_base_enc_bitstream_thread (gpointer user_data) GstFlowReturn flow = GST_FLOW_OK; /* overview of operation: - * 1. retreive the next buffer submitted to the bitstream pool + * 1. retrieve the next buffer submitted to the bitstream pool * 2. wait for that buffer to be ready from nvenc (LockBitsream) - * 3. retreive the GstVideoCodecFrame associated with that buffer + * 3. retrieve the GstVideoCodecFrame associated with that buffer * 4. for each buffer in the frame * 4.1 (step 2): wait for that buffer to be ready from nvenc (LockBitsream) * 4.2 create an output GstBuffer from the nvenc buffers @@ -1749,13 +1749,13 @@ gst_nv_base_enc_set_format (GstVideoEncoder * enc, GstVideoCodecState * state) memset (&resource->nv_mapped_resource, 0, sizeof (resource->nv_mapped_resource)); - /* scratch buffer for non-contigious planer into a contigious buffer */ + /* scratch buffer for non-contiguous planer into a contiguous buffer */ cu_ret = CuMemAllocPitch (&resource->cuda_pointer, &resource->cuda_stride, _get_plane_width (info, 0), _get_frame_data_height (info), 16); if (!gst_cuda_result (cu_ret)) { - GST_ERROR_OBJECT (nvenc, "failed to alocate cuda scratch buffer " + GST_ERROR_OBJECT (nvenc, "failed to allocate cuda scratch buffer " "ret %d", cu_ret); g_assert_not_reached (); } diff --git a/sys/uvch264/gstuvch264_src.c b/sys/uvch264/gstuvch264_src.c index f4f153ff7..e370dc641 100644 --- a/sys/uvch264/gstuvch264_src.c +++ b/sys/uvch264/gstuvch264_src.c @@ -432,9 +432,10 @@ gst_uvc_h264_src_class_init (GstUvcH264SrcClass * klass) G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_MUTABLE_PLAYING)); g_object_class_install_property (gobject_class, PROP_LTR_ENCODER_CONTROL, - g_param_spec_int ("ltr-encoder-control", "LTR frames controled by device", - "Number of LTR frames the device can control (dynamic control)", - 0, G_MAXUINT8, DEFAULT_LTR_ENCODER_CONTROL, + g_param_spec_int ("ltr-encoder-control", + "LTR frames controlled by device", + "Number of LTR frames the device can control (dynamic control)", 0, + G_MAXUINT8, DEFAULT_LTR_ENCODER_CONTROL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_MUTABLE_PLAYING)); diff --git a/sys/uvch264/gstuvch264deviceprovider.c b/sys/uvch264/gstuvch264deviceprovider.c index f27a72b24..4e7e19b25 100644 --- a/sys/uvch264/gstuvch264deviceprovider.c +++ b/sys/uvch264/gstuvch264deviceprovider.c @@ -23,7 +23,7 @@ * SECTION:provider-uvch264deviceprovider * * Device provider for uvch264 devices, it basically contains - * the same informations as the v4l2 device provider but on top + * the same information as the v4l2 device provider but on top * set the following properties: * * ``` diff --git a/sys/wasapi/gstwasapisink.c b/sys/wasapi/gstwasapisink.c index d21c42f90..0068e7da2 100644 --- a/sys/wasapi/gstwasapisink.c +++ b/sys/wasapi/gstwasapisink.c @@ -614,7 +614,7 @@ gst_wasapi_sink_write (GstAudioSink * asink, gpointer data, guint length) have_frames = length / (self->mix_format->nBlockAlign); if (self->sharemode == AUDCLNT_SHAREMODE_EXCLUSIVE) { - /* In exlusive mode we have to wait always */ + /* In exclusive mode we have to wait always */ dwWaitResult = WaitForSingleObject (self->event_handle, INFINITE); if (dwWaitResult != WAIT_OBJECT_0) { GST_ERROR_OBJECT (self, "Error waiting for event handle: %x", diff --git a/sys/winks/gstksvideodevice.c b/sys/winks/gstksvideodevice.c index 964aed672..7a379b1ec 100644 --- a/sys/winks/gstksvideodevice.c +++ b/sys/winks/gstksvideodevice.c @@ -555,7 +555,7 @@ gst_ks_video_device_create_pin (GstKsVideoDevice * self, } /* - * Figure out how many simultanous requests it prefers. + * Figure out how many simultaneous requests it prefers. * * This is really important as it depends on the driver and the device. * Doing too few will result in poor capture performance, whilst doing too diff --git a/sys/winks/ksvideohelpers.c b/sys/winks/ksvideohelpers.c index 7c1facac3..a5b53c15b 100644 --- a/sys/winks/ksvideohelpers.c +++ b/sys/winks/ksvideohelpers.c @@ -212,7 +212,7 @@ static void guess_aspect (gint width, gint height, gint * par_width, gint * par_height) { /* - * As we dont have access to the actual pixel aspect, we will try to do a + * As we don't have access to the actual pixel aspect, we will try to do a * best-effort guess. The guess is based on most sensors being either 4/3 * or 16/9, and most pixel aspects being close to 1/1. */ diff --git a/sys/winscreencap/gstdx9screencapsrc.c b/sys/winscreencap/gstdx9screencapsrc.c index d3bb78b68..5b2c3ac77 100644 --- a/sys/winscreencap/gstdx9screencapsrc.c +++ b/sys/winscreencap/gstdx9screencapsrc.c @@ -158,7 +158,7 @@ gst_dx9screencapsrc_class_init (GstDX9ScreenCapSrcClass * klass) static void gst_dx9screencapsrc_init (GstDX9ScreenCapSrc * src) { - /* Set src element inital values... */ + /* Set src element initial values... */ src->surface = NULL; src->d3d9_device = NULL; src->capture_x = 0; @@ -549,7 +549,7 @@ gst_dx9screencapsrc_create (GstPushSrc * push_src, GstBuffer ** buf) new_buf_size, width, height); /* Do screen capture and put it into buffer... - * Aquire front buffer, and lock it + * Acquire front buffer, and lock it */ hres = IDirect3DDevice9_GetFrontBufferData (src->d3d9_device, 0, src->surface); diff --git a/sys/winscreencap/gstgdiscreencapsrc.c b/sys/winscreencap/gstgdiscreencapsrc.c index 1ee0400d2..786478eec 100644 --- a/sys/winscreencap/gstgdiscreencapsrc.c +++ b/sys/winscreencap/gstgdiscreencapsrc.c @@ -156,7 +156,7 @@ gst_gdiscreencapsrc_class_init (GstGDIScreenCapSrcClass * klass) static void gst_gdiscreencapsrc_init (GstGDIScreenCapSrc * src) { - /* Set src element inital values... */ + /* Set src element initial values... */ src->dibMem = NULL; src->hBitmap = (HBITMAP) INVALID_HANDLE_VALUE; src->memDC = (HDC) INVALID_HANDLE_VALUE; |