summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2017-12-30 06:23:49 -0500
committerBradley Sepos <[email protected]>2017-12-30 06:26:45 -0500
commit0e072aa42e3affd6280447317375460753f9284b (patch)
tree54c5d63e0ddc06cfd8de61813b5671b8cd0c4172
parent0067b00e9cd251c776ec3d0b02f4e95ef0382601 (diff)
libhb: Fix nlmeans prefilter passthru only outputting some frames.
Closes #1088.
-rw-r--r--libhb/nlmeans.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libhb/nlmeans.c b/libhb/nlmeans.c
index 8b776f4f1..5a6d9169a 100644
--- a/libhb/nlmeans.c
+++ b/libhb/nlmeans.c
@@ -97,7 +97,6 @@ typedef struct
int h;
int border;
hb_lock_t *mutex;
- int prefiltered;
} BorderedPlane;
typedef struct
@@ -493,11 +492,6 @@ static void nlmeans_prefilter(BorderedPlane *src,
const int filter_type)
{
hb_lock(src->mutex);
- if (src->prefiltered)
- {
- hb_unlock(src->mutex);
- return;
- }
if (filter_type & NLMEANS_PREFILTER_MODE_MEAN3X3 ||
filter_type & NLMEANS_PREFILTER_MODE_MEAN5X5 ||
@@ -597,7 +591,6 @@ static void nlmeans_prefilter(BorderedPlane *src,
nlmeans_border(mem_pre, w, h, border);
}
- src->prefiltered = 1;
hb_unlock(src->mutex);
}