[FFmpeg-devel] [PATCH] lavfi/mp: remove mp=dint

Paul B Mahol onemda at gmail.com
Wed Sep 4 13:50:47 CEST 2013


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---

I can't comprehend its documentation.
Code is extremly unreadable so I can't bother what it actually does.
There is better filter that can detect interlaced (among others) frames.
There is better filter that can drop any (including interlaced) frames.

---
 doc/filters.texi                  |   1 -
 libavfilter/Makefile              |   1 -
 libavfilter/libmpcodecs/vf_dint.c | 214 --------------------------------------
 libavfilter/version.h             |   2 +-
 libavfilter/vf_mp.c               |   2 -
 5 files changed, 1 insertion(+), 219 deletions(-)
 delete mode 100644 libavfilter/libmpcodecs/vf_dint.c

diff --git a/doc/filters.texi b/doc/filters.texi
index f59d23a..b91dd30 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -5174,7 +5174,6 @@ the named filter.
 
 The list of the currently supported filters follows:
 @table @var
- at item dint
 @item eq2
 @item eq
 @item fil
diff --git a/libavfilter/Makefile b/libavfilter/Makefile
index 3bc0974..cf95c61 100644
--- a/libavfilter/Makefile
+++ b/libavfilter/Makefile
@@ -223,7 +223,6 @@ OBJS-$(CONFIG_NULLSINK_FILTER)               += vsink_nullsink.o
 
 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/mp_image.o
 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/img_format.o
-OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_dint.o
 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_eq2.o
 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_eq.o
 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_fil.o
diff --git a/libavfilter/libmpcodecs/vf_dint.c b/libavfilter/libmpcodecs/vf_dint.c
deleted file mode 100644
index 950e835..0000000
--- a/libavfilter/libmpcodecs/vf_dint.c
+++ /dev/null

[ C E N S O R E D ]

diff --git a/libavfilter/version.h b/libavfilter/version.h
index 0145049..7164679 100644
--- a/libavfilter/version.h
+++ b/libavfilter/version.h
@@ -31,7 +31,7 @@
 
 #define LIBAVFILTER_VERSION_MAJOR  3
 #define LIBAVFILTER_VERSION_MINOR  83
-#define LIBAVFILTER_VERSION_MICRO 102
+#define LIBAVFILTER_VERSION_MICRO 103
 
 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
                                                LIBAVFILTER_VERSION_MINOR, \
diff --git a/libavfilter/vf_mp.c b/libavfilter/vf_mp.c
index 5384bf4..e0d0c65 100644
--- a/libavfilter/vf_mp.c
+++ b/libavfilter/vf_mp.c
@@ -123,7 +123,6 @@ static const struct {
     {0, AV_PIX_FMT_NONE}
 };
 
-extern const vf_info_t ff_vf_info_dint;
 extern const vf_info_t ff_vf_info_eq2;
 extern const vf_info_t ff_vf_info_eq;
 extern const vf_info_t ff_vf_info_fil;
@@ -137,7 +136,6 @@ extern const vf_info_t ff_vf_info_uspp;
 
 
 static const vf_info_t* const filters[]={
-    &ff_vf_info_dint,
     &ff_vf_info_eq2,
     &ff_vf_info_eq,
     &ff_vf_info_fil,
-- 
1.7.11.2



More information about the ffmpeg-devel mailing list