mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
vf_softpulldown: fix possible regression
The lines added with this commit were accidentally removed in commit a0d759, which was a pure cleanup commit merged from mplayer-svn. The difference between mplayer-svn and the mplayer2 base is that this filter has been made PTS aware in mplayer2. Also remove the redundant initialization of vf->priv->state.
This commit is contained in:
parent
2a353381f3
commit
dcd2435e79
@ -168,7 +168,8 @@ static int vf_open(vf_instance_t *vf, char *args)
|
||||
vf->uninit = uninit;
|
||||
vf->default_reqs = VFCAP_ACCEPT_STRIDE;
|
||||
vf->priv = calloc(1, sizeof(struct vf_priv_s));
|
||||
vf->priv->state = 0;
|
||||
vf->priv->last_frame_duration = 2;
|
||||
vf_detc_init_pts_buf(&vf->priv->ptsbuf);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user