summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorPascal Massimino <pascal.massimino@gmail.com>2014-09-19 05:52:55 -0700
committerMichael Niedermayer <michaelni@gmx.at>2014-09-20 12:09:14 +0200
commit7ac6b8cfa7e6af3f8ebd468607cacdbb386feb8f (patch)
tree94b6f48af6664721907dab53fab90588b7c52c63 /libavfilter
parent33c752be513d09d9dd498beac02c39522d671888 (diff)
avfilter/idet: typo fix: PROGRSSIVE -> PROGRESSIVE
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_idet.c16
-rw-r--r--libavfilter/vf_idet.h2
2 files changed, 9 insertions, 9 deletions
diff --git a/libavfilter/vf_idet.c b/libavfilter/vf_idet.c
index 22ff494dfb..f8d71dec55 100644
--- a/libavfilter/vf_idet.c
+++ b/libavfilter/vf_idet.c
@@ -40,10 +40,10 @@ AVFILTER_DEFINE_CLASS(idet);
static const char *type2str(Type type)
{
switch(type) {
- case TFF : return "Top Field First ";
- case BFF : return "Bottom Field First";
- case PROGRSSIVE : return "Progressive ";
- case UNDETERMINED: return "Undetermined ";
+ case TFF : return "Top Field First ";
+ case BFF : return "Bottom Field First";
+ case PROGRESSIVE : return "Progressive ";
+ case UNDETERMINED : return "Undetermined ";
}
return NULL;
}
@@ -108,7 +108,7 @@ static void filter(AVFilterContext *ctx)
}else if(alpha[1] > idet->interlace_threshold * alpha[0]){
type = BFF;
}else if(alpha[1] > idet->progressive_threshold * delta){
- type = PROGRSSIVE;
+ type = PROGRESSIVE;
}else{
type = UNDETERMINED;
}
@@ -141,7 +141,7 @@ static void filter(AVFilterContext *ctx)
}else if(idet->last_type == BFF){
idet->cur->top_field_first = 0;
idet->cur->interlaced_frame = 1;
- }else if(idet->last_type == PROGRSSIVE){
+ }else if(idet->last_type == PROGRESSIVE){
idet->cur->interlaced_frame = 0;
}
@@ -187,13 +187,13 @@ static av_cold void uninit(AVFilterContext *ctx)
av_log(ctx, AV_LOG_INFO, "Single frame detection: TFF:%d BFF:%d Progressive:%d Undetermined:%d\n",
idet->prestat[TFF],
idet->prestat[BFF],
- idet->prestat[PROGRSSIVE],
+ idet->prestat[PROGRESSIVE],
idet->prestat[UNDETERMINED]
);
av_log(ctx, AV_LOG_INFO, "Multi frame detection: TFF:%d BFF:%d Progressive:%d Undetermined:%d\n",
idet->poststat[TFF],
idet->poststat[BFF],
- idet->poststat[PROGRSSIVE],
+ idet->poststat[PROGRESSIVE],
idet->poststat[UNDETERMINED]
);
diff --git a/libavfilter/vf_idet.h b/libavfilter/vf_idet.h
index c5799fb67d..ef29fff701 100644
--- a/libavfilter/vf_idet.h
+++ b/libavfilter/vf_idet.h
@@ -29,7 +29,7 @@ typedef int (*ff_idet_filter_func)(const uint8_t *a, const uint8_t *b, const uin
typedef enum {
TFF,
BFF,
- PROGRSSIVE,
+ PROGRESSIVE,
UNDETERMINED,
} Type;