summaryrefslogtreecommitdiff
path: root/gst/camerabin2/gstwrappercamerabinsrc.c
diff options
context:
space:
mode:
authorAaron Boxer <aaron.boxer@collabora.com>2019-09-02 15:08:44 -0400
committerAaron Boxer <aaron.boxer@collabora.com>2019-11-05 09:11:25 -0500
commit6d3429af34ed0b5905faf32d2f22b9db2451f116 (patch)
treef18e8fed7a80ddd4db89a76bab109fcd37a76819 /gst/camerabin2/gstwrappercamerabinsrc.c
parent2386858a9179aff2ec249bdffa904bf407de455f (diff)
downloadgstreamer-plugins-bad-6d3429af34ed0b5905faf32d2f22b9db2451f116.tar.gz
documentation: fixed a heap o' typos
Diffstat (limited to 'gst/camerabin2/gstwrappercamerabinsrc.c')
-rw-r--r--gst/camerabin2/gstwrappercamerabinsrc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/camerabin2/gstwrappercamerabinsrc.c b/gst/camerabin2/gstwrappercamerabinsrc.c
index c1c6dc5ee..6fd11292a 100644
--- a/gst/camerabin2/gstwrappercamerabinsrc.c
+++ b/gst/camerabin2/gstwrappercamerabinsrc.c
@@ -200,7 +200,7 @@ gst_wrapper_camera_bin_reset_video_src_caps (GstWrapperCameraBinSrc * self,
/* After pipe was negotiated src_filter do not have any filter caps.
* In this situation we should compare negotiated caps on capsfilter pad
* with requested range of caps. If one of this caps intersect,
- * then we can avoid reseting.
+ * then we can avoid resetting.
*/
src_neg_caps = gst_pad_get_current_caps (self->srcfilter_pad);
if (src_neg_caps && new_filter_caps && gst_caps_is_fixed (new_filter_caps))
@@ -209,7 +209,7 @@ gst_wrapper_camera_bin_reset_video_src_caps (GstWrapperCameraBinSrc * self,
/* If new_filter_caps = NULL, then some body wont to empty
* capsfilter (set to ANY). In this case we will need to reset pipe,
* but if capsfilter is actually empthy, then we can avoid
- * one more reseting.
+ * one more resetting.
*/
GstCaps *old_filter_caps; /* range of caps on capsfilter */
@@ -592,7 +592,7 @@ gst_wrapper_camera_bin_src_construct_pipeline (GstBaseCameraSrc * bcamsrc)
/* keep a 'tee' element that has 2 source pads, one is linked to the
* vidsrc pad and the other is linked as needed to the viewfinder
- * when video recording is hapenning */
+ * when video recording is happening */
video_recording_tee = gst_element_factory_make ("tee", "video_rec_tee");
gst_bin_add (GST_BIN_CAST (self), video_recording_tee); /* TODO check returns */
self->video_tee_vf_pad =
@@ -1039,7 +1039,7 @@ gst_wrapper_camera_bin_src_stop_capture (GstBaseCameraSrc * camerasrc)
{
GstWrapperCameraBinSrc *src = GST_WRAPPER_CAMERA_BIN_SRC (camerasrc);
- /* TODO shoud we access this directly? Maybe a macro is better? */
+ /* TODO should we access this directly? Maybe a macro is better? */
if (src->mode == MODE_VIDEO) {
if (src->video_rec_status == GST_VIDEO_RECORDING_STATUS_STARTING) {
GST_DEBUG_OBJECT (src, "Aborting, had not started recording");