summaryrefslogtreecommitdiffstats
path: root/video/filter/vf.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-27 18:58:16 +0100
committerwm4 <wm4@nowhere>2015-01-27 18:58:16 +0100
commitc92f4a1126cdbd83161bc7d1909ecbd8c9d80fb9 (patch)
tree6ebd96919698540cf71190c82817fb87e21471ff /video/filter/vf.c
parent69e5dd9bceea5a691038f4c1c8300fba28cc4e8a (diff)
downloadmpv-c92f4a1126cdbd83161bc7d1909ecbd8c9d80fb9.tar.bz2
mpv-c92f4a1126cdbd83161bc7d1909ecbd8c9d80fb9.tar.xz
vf_softpulldown: remove this filter
Apparently it was completely broken and essentially did nothing. This was broken sometime in early mpv or mplayer2 times. Get rid of it. If you _really_ need it, wait until FFmpeg ports it from MPlayer, which will happen very soon.
Diffstat (limited to 'video/filter/vf.c')
-rw-r--r--video/filter/vf.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c
index c1682c9652..f51b7824ad 100644
--- a/video/filter/vf.c
+++ b/video/filter/vf.c
@@ -57,7 +57,6 @@ extern const vf_info_t vf_info_swapuv;
extern const vf_info_t vf_info_hqdn3d;
extern const vf_info_t vf_info_ilpack;
extern const vf_info_t vf_info_dsize;
-extern const vf_info_t vf_info_softpulldown;
extern const vf_info_t vf_info_pullup;
extern const vf_info_t vf_info_delogo;
extern const vf_info_t vf_info_phase;
@@ -99,7 +98,6 @@ static const vf_info_t *const filter_list[] = {
&vf_info_hqdn3d,
&vf_info_ilpack,
&vf_info_dsize,
- &vf_info_softpulldown,
&vf_info_pullup,
&vf_info_delogo,
&vf_info_phase,
@@ -831,18 +829,3 @@ double vf_detc_adjust_pts(struct vf_detc_pts_buf *p, double pts,
return vf_detc_adjust_pts_internal(p, pts, reset_pattern, skip_frame,
0, 0.5, 1.25, 0.25);
}
-
-double vf_softpulldown_adjust_pts(struct vf_detc_pts_buf *p, double pts,
- bool reset_pattern, bool skip_frame,
- int last_frame_duration)
-{
- // for the softpulldown filter we get:
- // 0/60 -> 0/30
- // 2/60 -> 1/30
- // 5/60 -> 2/30
- // 7/60 -> 3/30, 4/30
- return vf_detc_adjust_pts_internal(p, pts, reset_pattern, skip_frame,
- 0, 1.0 / last_frame_duration,
- 2.0 / last_frame_duration,
- 1.0 / last_frame_duration);
-}