diff options
author | Nomis101 <[email protected]> | 2019-07-31 07:27:27 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-07-31 07:27:27 +0200 |
commit | 38c3ba1835622ba28cfcb3642f49afba7a8e412e (patch) | |
tree | 85e1025b1ea16d0eb6ef84c092a0bed464e9355c /libhb | |
parent | 25257473d278907a84bbf31f0903213d786ca064 (diff) |
Fix some typos (#2202)
Fix some typos
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/bd.c | 2 | ||||
-rw-r--r-- | libhb/comb_detect.c | 2 | ||||
-rw-r--r-- | libhb/common.c | 2 | ||||
-rw-r--r-- | libhb/deccc608sub.c | 14 | ||||
-rw-r--r-- | libhb/declpcm.c | 2 | ||||
-rw-r--r-- | libhb/decomb.c | 2 | ||||
-rw-r--r-- | libhb/decpgssub.c | 2 | ||||
-rw-r--r-- | libhb/decsrtsub.c | 2 | ||||
-rw-r--r-- | libhb/decssasub.c | 2 | ||||
-rw-r--r-- | libhb/decvobsub.c | 2 | ||||
-rw-r--r-- | libhb/eedi2.h | 4 | ||||
-rw-r--r-- | libhb/encavcodec.c | 2 | ||||
-rw-r--r-- | libhb/hb.c | 2 | ||||
-rw-r--r-- | libhb/hb_json.c | 2 | ||||
-rw-r--r-- | libhb/mt_frame_filter.c | 2 | ||||
-rw-r--r-- | libhb/muxavformat.c | 2 | ||||
-rw-r--r-- | libhb/muxcommon.c | 2 | ||||
-rw-r--r-- | libhb/preset.c | 8 | ||||
-rw-r--r-- | libhb/rendersub.c | 4 | ||||
-rw-r--r-- | libhb/scan.c | 2 | ||||
-rw-r--r-- | libhb/stream.c | 6 | ||||
-rw-r--r-- | libhb/sync.c | 4 | ||||
-rw-r--r-- | libhb/taskset.c | 2 | ||||
-rw-r--r-- | libhb/work.c | 2 |
24 files changed, 38 insertions, 38 deletions
diff --git a/libhb/bd.c b/libhb/bd.c index 7eac359bf..02508e10b 100644 --- a/libhb/bd.c +++ b/libhb/bd.c @@ -771,7 +771,7 @@ hb_buffer_t * hb_bd_read( hb_bd_t * d ) case BD_EVENT_PLAYITEM: discontinuity = 1; - hb_deep_log(2, "bd: Playitem %u", event.param); + hb_deep_log(2, "bd: Play item %u", event.param); break; case BD_EVENT_STILL: diff --git a/libhb/comb_detect.c b/libhb/comb_detect.c index 131eaede5..4ab53057e 100644 --- a/libhb/comb_detect.c +++ b/libhb/comb_detect.c @@ -1281,7 +1281,7 @@ static int comb_detect_init( hb_filter_object_t * filter, if (taskset_init( &pv->mask_filter_taskset, pv->cpu_count, sizeof( decomb_thread_arg_t ) ) == 0) { - hb_error( "maske filter could not initialize taskset" ); + hb_error( "mask filter could not initialize taskset" ); } decomb_prev_thread_args = NULL; diff --git a/libhb/common.c b/libhb/common.c index 63f34971f..09dc974c6 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -1931,7 +1931,7 @@ int hb_mixdown_has_remix_support(int mixdown, uint64_t layout) (layout & AV_CH_LAYOUT_SURROUND) == AV_CH_LAYOUT_SURROUND); // stereo + either of side or back left/right, back center - // also, allow Dolby Surrounbd output if the input is already Dolby + // also, allow Dolby Surround output if the input is already Dolby case HB_AMIXDOWN_DOLBY: case HB_AMIXDOWN_DOLBYPLII: return ((layout & AV_CH_LAYOUT_2_1) == AV_CH_LAYOUT_2_1 || diff --git a/libhb/deccc608sub.c b/libhb/deccc608sub.c index 94977795d..f949c6829 100644 --- a/libhb/deccc608sub.c +++ b/libhb/deccc608sub.c @@ -297,7 +297,7 @@ static int get_char_in_utf8(unsigned char *buffer, unsigned char c) *buffer = 0xc3; *(buffer+1) = 0x9a; return 2; - case 0x94: // capital letter U with diaresis + case 0x94: // capital letter U with diaeresis *buffer = 0xc3; *(buffer+1) = 0x9c; return 2; @@ -333,10 +333,10 @@ static int get_char_in_utf8(unsigned char *buffer, unsigned char c) case 0x9d: // Full stop (.) *buffer = 0x2e; return 1; - case 0x9e: // Quoatation mark + case 0x9e: // Quotation mark *buffer = 0x22; return 1; - case 0x9f: // Quoatation mark + case 0x9f: // Quotation mark *buffer = 0x22; return 1; case 0xa0: // uppercase A, grave accent @@ -359,11 +359,11 @@ static int get_char_in_utf8(unsigned char *buffer, unsigned char c) *buffer = 0xc3; *(buffer+1) = 0x8a; return 2; - case 0xa5: // capital letter E with diaresis + case 0xa5: // capital letter E with diaeresis *buffer = 0xc3; *(buffer+1) = 0x8b; return 2; - case 0xa6: // lowercase letter e with diaresis + case 0xa6: // lowercase letter e with diaeresis *buffer = 0xc3; *(buffer+1) = 0xab; return 2; @@ -371,11 +371,11 @@ static int get_char_in_utf8(unsigned char *buffer, unsigned char c) *buffer = 0xc3; *(buffer+1) = 0x8e; return 2; - case 0xa8: // uppercase I, with diaresis + case 0xa8: // uppercase I, with diaeresis *buffer = 0xc3; *(buffer+1) = 0x8f; return 2; - case 0xa9: // lowercase i, with diaresis + case 0xa9: // lowercase i, with diaeresis *buffer = 0xc3; *(buffer+1) = 0xaf; return 2; diff --git a/libhb/declpcm.c b/libhb/declpcm.c index 89442cf81..464d55685 100644 --- a/libhb/declpcm.c +++ b/libhb/declpcm.c @@ -23,7 +23,7 @@ struct hb_work_private_s int scr_sequence; /* the following is frame info for the frame we're currently accumulating */ - uint64_t duration; /* frame duratin (in 90KHz ticks) */ + uint64_t duration; /* frame duration (in 90KHz ticks) */ uint32_t offset; /* where in buf frame starts */ uint32_t samplerate; /* sample rate in bits/sec */ uint8_t nchannels; diff --git a/libhb/decomb.c b/libhb/decomb.c index d6589c3ad..6bcd113c0 100644 --- a/libhb/decomb.c +++ b/libhb/decomb.c @@ -1100,7 +1100,7 @@ static int hb_decomb_init( hb_filter_object_t * filter, if( !pv->cx2 || !pv->cy2 || !pv->cxy || !pv->tmpc ) hb_error("EEDI2: failed to malloc derivative arrays"); else - hb_log("EEDI2: successfully mallloced derivative arrays"); + hb_log("EEDI2: successfully malloced derivative arrays"); } for( ii = 0; ii < 3; ii++ ) diff --git a/libhb/decpgssub.c b/libhb/decpgssub.c index 5586ddcd5..176f4c971 100644 --- a/libhb/decpgssub.c +++ b/libhb/decpgssub.c @@ -19,7 +19,7 @@ struct hb_work_private_s // all the packets we see until libav returns a subtitle with // the information we need. hb_buffer_list_t list_pass; - // It is possible for multiple subtitles to be enncapsulated in + // It is possible for multiple subtitles to be encapsulated in // one packet. This won't happen for PGS subs, but may for other // types of subtitles. Since I plan to generalize this code to handle // other than PGS, we will need to keep a list of all subtitles seen diff --git a/libhb/decsrtsub.c b/libhb/decsrtsub.c index 202254661..6157d69eb 100644 --- a/libhb/decsrtsub.c +++ b/libhb/decsrtsub.c @@ -326,7 +326,7 @@ static int get_line( hb_work_private_t * pv, char *buf, int size ) int i; char c; - // clear remnants of the previous line before progessing a new one + // clear remnants of the previous line before processing a new one memset(buf, '\0', size); /* Find newline in converted UTF-8 buffer */ diff --git a/libhb/decssasub.c b/libhb/decssasub.c index e328f7805..9d27fab2e 100644 --- a/libhb/decssasub.c +++ b/libhb/decssasub.c @@ -424,7 +424,7 @@ static int decssaWork( hb_work_object_t * w, hb_buffer_t ** buf_in, } // Not much to do here. ffmpeg already supplies SSA subtitles in the - // requried matroska packet format. + // required matroska packet format. // // We require string termination of the buffer hb_buffer_realloc(in, ++in->size); diff --git a/libhb/decvobsub.c b/libhb/decvobsub.c index 77398d188..698661111 100644 --- a/libhb/decvobsub.c +++ b/libhb/decvobsub.c @@ -630,7 +630,7 @@ static hb_buffer_t * Decode( hb_work_object_t * w ) if ( ParseControls( w ) ) { /* - * Coudln't parse the info + * Couldn't parse the info */ hb_deep_log( 2, "decvobsub: Could not parse info!" ); diff --git a/libhb/eedi2.h b/libhb/eedi2.h index 406d7fe1b..e524092f0 100644 --- a/libhb/eedi2.h +++ b/libhb/eedi2.h @@ -7,10 +7,10 @@ For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html */ -// Used to order a sequeunce of metrics for median filtering +// Used to order a sequence of metrics for median filtering void eedi2_sort_metrics( int *order, const int length ); -// Aping some Windows API funcctions AviSynth seems to like +// Aping some Windows API functions AviSynth seems to like // Taken from here: http://www.gidforums.com/t-8543.html void *eedi2_aligned_malloc(size_t size, size_t align_size); void eedi2_aligned_free(void *ptr); diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c index 4c723c9c9..e68cc3aa4 100644 --- a/libhb/encavcodec.c +++ b/libhb/encavcodec.c @@ -749,7 +749,7 @@ static void compute_dts_offset( hb_work_private_t * pv, hb_buffer_t * buf ) // // Where pts0 - ptsN are in decoded monotonically increasing presentation // order and delay == pts1 (1 being the number of frames the decoder must -// delay before it has suffecient information to decode). The number of +// delay before it has sufficient information to decode). The number of // frames to delay is set by job->areBframes, so it is configurable. // This guarantees that DTS <= PTS for any frame. // diff --git a/libhb/hb.c b/libhb/hb.c index 4356f8275..22e0ab69b 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -1143,7 +1143,7 @@ void hb_set_anamorphic_size2(hb_geometry_t *src_geo, hb_limit_rational64(&dst_par_num, &dst_par_den, dst_par_num, dst_par_den, 65535); - // If the user is directling updating PAR, don't override his values. + // If the user is directing updating PAR, don't override his values. // I.e. don't even reduce the values. hb_reduce(&out_par.num, &out_par.den, dst_par_num, dst_par_den); if (geo->mode == HB_ANAMORPHIC_CUSTOM && !keep_display_aspect && diff --git a/libhb/hb_json.c b/libhb/hb_json.c index 3b1602954..bd1e2f945 100644 --- a/libhb/hb_json.c +++ b/libhb/hb_json.c @@ -976,7 +976,7 @@ static int validate_audio_codec_mux(int codec, int mux, int track) /** * Convert a json string representation of a job to an hb_job_t - * @param h - Pointer to the hb_hanle_t hb instance which contains the + * @param h - Pointer to the hb_handle_t hb instance which contains the * title that the job refers to. * @param json_job - Pointer to json string representation of a job */ diff --git a/libhb/mt_frame_filter.c b/libhb/mt_frame_filter.c index dab65b547..d6afc923b 100644 --- a/libhb/mt_frame_filter.c +++ b/libhb/mt_frame_filter.c @@ -7,7 +7,7 @@ For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html */ -/* This is a psuedo-filter that wraps other filters to provide frame +/* This is a pseudo-filter that wraps other filters to provide frame * based multi-threading of the wrapped filter. The sub-filter must * operate on each frame independently with no context carried over * from one frame to the next. */ diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c index 40df89c8e..8ae7482ac 100644 --- a/libhb/muxavformat.c +++ b/libhb/muxavformat.c @@ -1203,7 +1203,7 @@ static int avformatMux(hb_mux_object_t *m, hb_mux_data_t *track, hb_buffer_t *bu // if it sees a negative dts, it applies an offset to both pts // and dts to make it positive. This offset breaks chapter // start times and A/V sync. libav also requires that dts is - // "monotically increasing", which means it last_dts <= next_dts. + // "monotonically increasing", which means it last_dts <= next_dts. // It also uses dts to determine track interleaving, so we need // to provide some reasonable dts value. // So when renderOffset < 0, set to 0 for mkv. diff --git a/libhb/muxcommon.c b/libhb/muxcommon.c index de62c1241..59a1f9457 100644 --- a/libhb/muxcommon.c +++ b/libhb/muxcommon.c @@ -409,7 +409,7 @@ static int muxWork( hb_work_object_t * w, hb_buffer_t ** buf_in, if ( mf_full( track ) ) { // If the track's fifo is still full, advance - // the currint interleave point and try again. + // the current interleave point and try again. hb_bitvec_cpy(mux->rdy, mux->allRdy); break; } diff --git a/libhb/preset.c b/libhb/preset.c index b60a0ff7e..7e87c554f 100644 --- a/libhb/preset.c +++ b/libhb/preset.c @@ -1126,7 +1126,7 @@ int hb_preset_job_add_subtitles(hb_handle_t *h, int title_index, if (first_audio_lang != NULL && foreign_audio_search && !strncmp(first_audio_lang, pref_lang, 4)) { - // First audio lang matches the preferred subittle lang. + // First audio lang matches the preferred subtitle lang. // Preset says to add search for foreign audio subtitles. int burn = burn_foreign || behavior.burn_first; // If not burning, make this the default track. @@ -3323,7 +3323,7 @@ hb_value_t * hb_presets_update_version(hb_value_t *presets) hb_value_incref(presets); return presets; } - // Unrecoginzable preset file format + // Unrecognizable preset file format return NULL; } } @@ -3698,13 +3698,13 @@ static int hb_presets_add_internal(hb_value_t *preset) int index = hb_value_array_len(hb_presets); if (hb_value_type(preset) == HB_VALUE_TYPE_DICT) { - // A standalone preset or folder of presets. Add to preset array. + // A standalone preset or folder of presets. Add to preset array. hb_value_array_append(hb_presets, hb_value_dup(preset)); added++; } else if (hb_value_type(preset) == HB_VALUE_TYPE_ARRAY) { - // An array of presets. Add each element. + // An array of presets. Add each element. int count = hb_value_array_len(preset); int ii; for (ii = 0; ii < count; ii++) diff --git a/libhb/rendersub.c b/libhb/rendersub.c index 837091c5d..3a26005f7 100644 --- a/libhb/rendersub.c +++ b/libhb/rendersub.c @@ -191,7 +191,7 @@ static void blend( hb_buffer_t *dst, hb_buffer_t *src, int left, int top ) // applies subtitle 'sub' YUVA420P buffer into destination 'buf' // 'buf' is currently YUV420P, but in future will be other formats as well // Assumes that the input destination buffer has the same dimensions -// as the original title diminsions +// as the original title dimensions static void ApplySub( hb_filter_private_t * pv, hb_buffer_t * buf, hb_buffer_t * sub ) { blend( buf, sub, sub->f.x, sub->f.y ); @@ -339,7 +339,7 @@ static hb_buffer_t * ScaleSubtitle(hb_filter_private_t *pv, } // Assumes that the input buffer has the same dimensions -// as the original title diminsions +// as the original title dimensions static void ApplyVOBSubs( hb_filter_private_t * pv, hb_buffer_t * buf ) { int ii; diff --git a/libhb/scan.c b/libhb/scan.c index 53e3921ea..85aee2b3e 100644 --- a/libhb/scan.c +++ b/libhb/scan.c @@ -735,7 +735,7 @@ static int DecodePreviews( hb_scan_t * data, hb_title_t * title, int flush ) // There are 2 conditions we decode additional // video frames for during scan. // 1. We did not detect IDR frames, so the initial video - // frames may be corrupt. We docode extra frames to + // frames may be corrupt. We decode extra frames to // increase the probability of a complete preview frame // 2. Some frames do not contain CC data, even though // CCs are present in the stream. So we need to decode diff --git a/libhb/stream.c b/libhb/stream.c index d95ef8ad3..0a66a7275 100644 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -1537,7 +1537,7 @@ struct pts_pos { #define NDURSAMPLES 128 -// get one (position, timestamp) sampple from a transport or program +// get one (position, timestamp) sample from a transport or program // stream. static struct pts_pos hb_sample_pts(hb_stream_t *stream, uint64_t fpos) { @@ -1990,7 +1990,7 @@ static void pes_add_subtitle_to_title( break; default: // Unrecognized, don't add to list - hb_log("unregonized subtitle!"); + hb_log("unrecognized subtitle!"); free( subtitle ); return; } @@ -3843,7 +3843,7 @@ static void hb_ps_stream_find_streams(hb_stream_t *stream) else if ( pes_info.stream_id == 0xbd ) { int ssid = pes_info.bd_substream_id; - // Add a potentail audio stream + // Add a potential audio stream // Check dvd substream id if ( ssid >= 0x20 && ssid <= 0x37 ) { diff --git a/libhb/sync.c b/libhb/sync.c index 20663da1d..56edd2ba4 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -1887,7 +1887,7 @@ static void ProcessSCRDelayQueue( sync_common_t * common ) int hash = buf->s.scr_sequence & SCR_HASH_MASK; if (buf->s.scr_sequence < 0) { - // Unset scr_sequence inidicates an external stream + // Unset scr_sequence indicates an external stream // (e.g. SRT subtitle) that is not on the same timebase // as the source tracks. Do not adjust timestamps for // scr_offset in this case. @@ -3424,7 +3424,7 @@ static int syncSubtitleWork( hb_work_object_t * w, hb_buffer_t ** buf_in, hb_work_object_t hb_sync_subtitle = { WORK_SYNC_SUBTITLE, - "Subitle Synchronization", + "Subtitle Synchronization", syncSubtitleInit, syncSubtitleWork, syncSubtitleClose diff --git a/libhb/taskset.c b/libhb/taskset.c index 87914ba73..add7a4478 100644 --- a/libhb/taskset.c +++ b/libhb/taskset.c @@ -70,7 +70,7 @@ taskset_init( taskset_t *ts, int thread_count, size_t arg_size ) memset(ts->task_threads_args, 0, ts->arg_size * ts->thread_count ); /* - * Inialize bitmaps to all bits set. This means that any unused bits + * Initialize bitmaps to all bits set. This means that any unused bits * in the bitmap are already in the "condition satisfied" state allowing * us to test the bitmap 32bits at a time without having to mask off * the end. diff --git a/libhb/work.c b/libhb/work.c index 3565290dc..0e5b5d209 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -1939,7 +1939,7 @@ static inline void copy_chapter( hb_buffer_t * dst, hb_buffer_t * src ) * Performs the work object's specific work function. * Loops calling work function for associated work 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. */ void hb_work_loop( void * _w ) |