[MPlayer-dev-eng] Updated video pts handling patch
Uoti Urpala
uoti.urpala at pp1.inet.fi
Mon Jul 3 12:47:51 CEST 2006
Filters can now insert new frames properly. I updated vf_tfields and
vf_yadif (the only existing filters which added frames) to use this
method, but did not write proper pts handling for them. They now add the
frames with a constant 0.02 second pts difference from the previous one.
I changed the pts reordering buffer to use the has_b_frames variable for
decoder lag with vd_ffmpeg. It's not quite optimal but that shouldn't
matter too much, and it avoids the messy buffer-counting code. Btw lavc
still returns the first h264 frame after seek immediately even when
has_b_frames==2 (which Michael said was a bug).
Otherwise I didn't change much from the last version and the same
limitations still exist. The frame insertion code only works if you use
the -correct-pts switch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: videopts.diff
Type: text/x-patch
Size: 19550 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060703/e8431aa3/attachment.bin>
More information about the MPlayer-dev-eng
mailing list