mirror of
https://github.com/mpv-player/mpv
synced 2025-02-20 23:07:02 +00:00
Patch from the author, Zoltan Hidvegi:
The filmdint filter does not handle NTSC "telecined" 15fps movies where there is a frame break in the middle of every second NTSC frame, it outputs only 15 frames for every 30 input frames, ignoring the io option. You can notice this during encoding such a sequence you will have lots of diplicate frames / skip frames messages. The patch below fixes this. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11624 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
571bf466e6
commit
7b4ab7ba37
@ -1239,7 +1239,10 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi)
|
||||
} else {
|
||||
if (p->notout >= p->num_fields)
|
||||
dropped_fields += p->num_fields + 2 - breaks;
|
||||
if (breaks == 2 && p->iosync > -3*p->in_inc)
|
||||
if (breaks == 1) {
|
||||
if (p->iosync >= 4*p->in_inc)
|
||||
show_fields = 6;
|
||||
} else if (p->iosync > -3*p->in_inc)
|
||||
show_fields = 3; /* odd+even */
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user