summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorfreddii <[email protected]>2021-01-22 22:03:39 +0100
committerDamiano Galassi <[email protected]>2021-02-25 18:46:31 +0100
commit1fbc0da51f35d3778bfd6329331442c07255ed55 (patch)
tree7e9d8fd1821883e62e4eaf8080e1ce655fbd7fab /libhb
parent861fb711b167b03ec878f511f1ac9f297d55cbbd (diff)
fixed typos
Diffstat (limited to 'libhb')
-rw-r--r--libhb/decavcodec.c2
-rw-r--r--libhb/declpcm.c2
-rw-r--r--libhb/enc_qsv.c4
-rw-r--r--libhb/encx265.c2
-rw-r--r--libhb/handbrake/lang.h2
-rw-r--r--libhb/hb.c2
-rw-r--r--libhb/muxavformat.c4
-rw-r--r--libhb/ports.c2
-rw-r--r--libhb/qsv_common.c2
-rw-r--r--libhb/work.c2
10 files changed, 12 insertions, 12 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index 23b0a5a2e..55c38a00b 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -209,7 +209,7 @@ static int decavcodecaInit( hb_work_object_t * w, hb_job_t * job )
// Currently, samplerate conversion is performed in sync.c
// So set output samplerate to input samplerate
// This should someday get reworked to be part of an audio
- // filter pipleine.
+ // filter pipeline.
pv->resample =
hb_audio_resample_init(AV_SAMPLE_FMT_FLT,
w->audio->config.in.samplerate,
diff --git a/libhb/declpcm.c b/libhb/declpcm.c
index 68034aacb..5d33b2de5 100644
--- a/libhb/declpcm.c
+++ b/libhb/declpcm.c
@@ -168,7 +168,7 @@ static int declpcmInit( hb_work_object_t * w, hb_job_t * job )
pv->next_pts = (int64_t)AV_NOPTS_VALUE;
// Currently, samplerate conversion is performed in sync.c
// So set output samplerate to input samplerate
- // This should someday get reworked to be part of an audio filter pipleine.
+ // This should someday get reworked to be part of an audio filter pipeline.
pv->resample =
hb_audio_resample_init(AV_SAMPLE_FMT_FLT,
w->audio->config.in.samplerate,
diff --git a/libhb/enc_qsv.c b/libhb/enc_qsv.c
index be18d3048..5f3d52fc7 100644
--- a/libhb/enc_qsv.c
+++ b/libhb/enc_qsv.c
@@ -1257,7 +1257,7 @@ int encqsvInit(hb_work_object_t *w, hb_job_t *job)
#endif
// set VBV here (this will be overridden for CQP and ignored for LA)
// only set BufferSizeInKB, InitialDelayInKB and MaxKbps if we have
- // them - otheriwse Media SDK will pick values for us automatically
+ // them - otherwise Media SDK will pick values for us automatically
if (pv->param.rc.vbv_buffer_size > 0)
{
if (pv->param.rc.vbv_buffer_init > 1.0)
@@ -2277,7 +2277,7 @@ int encqsvWork(hb_work_object_t *w, hb_buffer_t **buf_in, hb_buffer_t **buf_out)
}
else
{
- // Create black buffer in the begining of the encoding, usually first 2 frames
+ // Create black buffer in the beginning of the encoding, usually first 2 frames
hb_qsv_get_free_surface_from_pool_with_range(pv->job->qsv.ctx->hb_dec_qsv_frames_ctx, HB_QSV_POOL_SURFACE_SIZE - HB_QSV_POOL_ENCODER_SIZE, HB_QSV_POOL_SURFACE_SIZE, &mid, &surface);
frames_ctx = pv->job->qsv.ctx->hb_dec_qsv_frames_ctx;
}
diff --git a/libhb/encx265.c b/libhb/encx265.c
index c781da0b2..ab167f026 100644
--- a/libhb/encx265.c
+++ b/libhb/encx265.c
@@ -351,7 +351,7 @@ int encx265Init(hb_work_object_t *w, hb_job_t *job)
param->sourceHeight = job->height;
/*
- * Let x265 determnine whether to use an aspect ratio
+ * Let x265 determine whether to use an aspect ratio
* index vs. the extended SAR index + SAR width/height.
*/
char sar[22];
diff --git a/libhb/handbrake/lang.h b/libhb/handbrake/lang.h
index 415a77df0..aec2bce09 100644
--- a/libhb/handbrake/lang.h
+++ b/libhb/handbrake/lang.h
@@ -44,7 +44,7 @@ int lang_to_code(const iso639_lang_t *lang);
iso639_lang_t * lang_for_english( const char * english );
/*
- * Get fake iso639 cooresponding to "Any"
+ * Get fake iso639 corresponding to "Any"
* "Any" is used when a match for any language is desired.
*
* Calling lang_get_next() with pointer returned by lang_get_any()
diff --git a/libhb/hb.c b/libhb/hb.c
index 02668cb10..c85934b5b 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -893,7 +893,7 @@ int hb_detect_comb( hb_buffer_t * buf, int color_equal, int color_diff, int thre
// compare results
/* The final cc score for a plane is the percentage of combed pixels it contains.
- Because sensitivity goes down to hundreths of a percent, multiply by 1000
+ Because sensitivity goes down to hundredths of a percent, multiply by 1000
so it will be easy to compare against the threshold value which is an integer. */
cc[k] = (int)( ( cc_1 + cc_2 ) * 1000.0 / ( width * height ) );
}
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c
index 2062a02f1..1464cf51a 100644
--- a/libhb/muxavformat.c
+++ b/libhb/muxavformat.c
@@ -666,7 +666,7 @@ static int avformatInit( hb_mux_object_t * m )
ret = av_bsf_alloc(bsf, &ctx);
if (ret < 0)
{
- hb_error("AAC bistream filter: alloc failure");
+ hb_error("AAC bitstream filter: alloc failure");
goto error;
}
ctx->time_base_in.num = 1;
@@ -690,7 +690,7 @@ static int avformatInit( hb_mux_object_t * m )
ret = av_bsf_init(track->bitstream_context);
if (ret < 0)
{
- hb_error("bistream filter: init failure");
+ hb_error("bitstream filter: init failure");
goto error;
}
}
diff --git a/libhb/ports.c b/libhb/ports.c
index 8d7a73f3f..bf42684a6 100644
--- a/libhb/ports.c
+++ b/libhb/ports.c
@@ -658,7 +658,7 @@ char * hb_get_temporary_directory()
}
/************************************************************************
- * Get a tempory filename for HB
+ * Get a temporary filename for HB
***********************************************************************/
char * hb_get_temporary_filename( char *fmt, ... )
{
diff --git a/libhb/qsv_common.c b/libhb/qsv_common.c
index faa8cc842..5e64d1434 100644
--- a/libhb/qsv_common.c
+++ b/libhb/qsv_common.c
@@ -1832,7 +1832,7 @@ int hb_qsv_profile_parse(hb_qsv_param_t *param, hb_qsv_info_t *info, const char
}
param->videoParam->mfx.CodecProfile = profile->value;
}
- /* HEVC 10 bits defautls to Main 10 */
+ /* HEVC 10 bits defaults to Main 10 */
else if (((profile_key != NULL && !strcasecmp(profile_key, "auto")) || profile_key == NULL) &&
codec == HB_VCODEC_QSV_H265_10BIT &&
param->videoParam->mfx.CodecId == MFX_CODEC_HEVC &&
diff --git a/libhb/work.c b/libhb/work.c
index 0bc696d08..abaccf3a7 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -2054,7 +2054,7 @@ void hb_work_loop( void * _w )
* Loops calling work function for associated filter object.
* Sleeps when fifo is full.
* Monitors work done indicator.
- * Exits loop when work indiactor is set.
+ * Exits loop when work indicator is set.
* @param _w Handle to work object.
*/
static void filter_loop( void * _f )