diff options
author | wm4 <wm4@nowhere> | 2016-05-25 20:19:45 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-25 23:51:24 +0200 |
commit | 5353571de07c5f2545d697cce286651178df9108 (patch) | |
tree | 743c74c4fcebf7b57af6db401fe5932a1bc43f65 /video/vdpau.c | |
parent | 15a5d33b7930b53cbc4503053211aee91d6e9659 (diff) |
vf_vavpp: use future instead of past PTS to determine field duration
If the deinterlacer separates fields, the framerate must be doubled.
Since we have no stable and reliably framerate anywhere, we've been
calculating it by taking the time halfway to the next frame.
vf_vavpp actually used the past frame to calculate the frame duration,
which is sort of ok, but will skip the 2nd field in a stream (since the
first frame has no past PTS). This is annoying for testing, so use the
future frame PTS instead, which means the last field of the stream will
be dropped instead.
Diffstat (limited to 'video/vdpau.c')
0 files changed, 0 insertions, 0 deletions