tvhdebug(LS_HTSP, "%s - first packet", hs->hs_htsp->htsp_logname);
hs->hs_first = 1;
htsp_stream_deliver(hs, sm->sm_data);
- // reference is transfered
+ // reference is transferred
sm->sm_data = NULL;
break;
return NULL;
}
- /* important: we need large rx buffers to accomodate the large amount of traffic */
+ /* important: we need large rx buffers to accommodate the large amount of traffic */
if(setsockopt(sockfd, SOL_SOCKET, SO_RCVBUF, (char *) &rx_size, sizeof(rx_size)) < 0) {
tvhwarn(LS_TVHDHOMERUN, "failed set socket rx buffer size, expect CC errors (%d)", errno);
}
// parameters are required to make mpeg-ts output compliant with mpeg-ts standard
// implemented using documentation: https://ffmpeg.org/ffmpeg-formats.html#mpegts-1
if (lm->m_config.u.transcode.m_rewrite_sid > 0) {
- // override from profile requested by teh user
+ // override from profile requested by the user
snprintf(mpegts_info, sizeof(mpegts_info), "0x%04x", lm->m_config.u.transcode.m_rewrite_sid);
tvhdebug(LS_LIBAV, "MPEGTS: mpegts_service_id = %s", mpegts_info);
av_dict_set(&opts, "mpegts_service_id", mpegts_info, 0);
/**
- * Reference count is transfered to queue
+ * Reference count is transferred to queue
*/
void
pktref_enqueue(struct th_pktref_queue *q, th_pkt_t *pkt)
/**
- * Reference count is transfered to queue
+ * Reference count is transferred to queue
*/
void
pktref_enqueue_sorted(struct th_pktref_queue *q, th_pkt_t *pkt,
void pktref_clear_queue(struct th_pktref_queue *q);
-// Reference count is transfered to queue
+// Reference count is transferred to queue
void pktref_enqueue(struct th_pktref_queue *q, th_pkt_t *pkt);
-// Reference count is transfered to queue
+// Reference count is transferred to queue
void pktref_enqueue_sorted(struct th_pktref_queue *q, th_pkt_t *pkt,
int (*cmp)(const void *, const void *));
case PKT_I_FRAME:
case PKT_P_FRAME:
if (pkt->pkt_pts == PTS_UNSET) {
- /* Presentation occures at DTS of next I or P frame,
+ /* Presentation occurs at DTS of next I or P frame,
try to find it */
total = 0;
PKTREF_FOREACH(srch, &tf->tf_ptsq) {
.type = PT_STR,
.id = "country",
.name = N_("Country"),
- .desc = N_("Country recieved via OTA EPG."),
+ .desc = N_("Country received via OTA EPG."),
.off = offsetof(ratinglabel_t, rl_country),
},
{
/**
- * Insert a new node, if a collision occures the colliding node is returned
+ * Insert a new node, if a collision occurs the colliding node is returned
*/
#define RB_INSERT_SORTED(head, skel, field, cmpfunc) \
({ \
switch (self->platform) {
case VAAPI_ENC_PLATFORM_UNCONSTRAINED:
// Uncontrained --> will allow any combination of parameters (valid or invalid)
- // this mode is usefull fur future platform and for debugging.
+ // this mode is useful for future platform and for debugging.
if (self->b_reference) {
// b_depth
AV_DICT_SET_INT(LST_VAAPI, opts, "b_depth", self->b_reference, AV_DICT_DONT_OVERWRITE);
switch (self->platform) {
case VAAPI_ENC_PLATFORM_UNCONSTRAINED:
// Unconstrained --> will allow any combination of parameters (valid or invalid)
- // this mode is usefull fur future platform and for debugging.
+ // this mode is useful for future platform and for debugging.
if (self->b_reference) {
// b_depth
AV_DICT_SET_INT(LST_VAAPI, opts, "b_depth", self->b_reference, AV_DICT_DONT_OVERWRITE);
switch (self->platform) {
case VAAPI_ENC_PLATFORM_UNCONSTRAINED:
// Unconstrained --> will allow any combination of parameters (valid or invalid)
- // this mode is usefull fur future platform and for debugging.
+ // this mode is useful for future platform and for debugging.
if (self->b_reference) {
// b_depth
AV_DICT_SET_INT(LST_VAAPI, opts, "b_depth", self->b_reference, AV_DICT_DONT_OVERWRITE);
switch (self->platform) {
case VAAPI_ENC_PLATFORM_UNCONSTRAINED:
// Unconstrained --> will allow any combination of parameters (valid or invalid)
- // this mode is usefull fur future platform and for debugging.
+ // this mode is useful for future platform and for debugging.
if (self->b_reference) {
// b_depth
AV_DICT_SET_INT(LST_VAAPI, opts, "b_depth", self->b_reference, AV_DICT_DONT_OVERWRITE);
* https://www.ffmpeg.org/ffmpeg-codecs.html#toc-VAAPI-encoders
* @note
* int:
- * 0 - Unconstrained (usefull for debug)
+ * 0 - Unconstrained (useful for debug)
* 1 - Intel
* 2 - AMD
*/
.id = "network",
.name = N_("Allowed network"),
.desc = N_("Enter allowed network prefix(es). You can enter a "
- "comma-seperated list of prefixes here."),
+ "comma-separated list of prefixes here."),
.get = wizard_get_value_network,
.set = wizard_set_value_network,
.group = 1