[MPlayer-dev-eng] [PATCH] multiple files seek one frame too far
Paul-Francois Fontigny
pff at filmik.be
Sun Jul 2 11:55:52 CEST 2006
Hi,
I'm often using mplayer to check sequences of images.
To do so I need seek frames by frames.
At 25 fps an input.conf with
LEFT pausing_keep seek -.04
RIGHT pausing_keep seek +.04
is doing it on "frame accurate" codec (-ovc libdv)
When using multiple files (-mf://...) I have to change the input.conf to
LEFT pausing_keep seek -.08
RIGHT pausing_keep seek 0
In libmpdemux/demux_mf.c, mf->curr_frame is already pointing to the next
frame when reaching the key_events module.
I've made 2 other corrections to avoid demux_seek_mf seeking after EOF.
The last element of the array of file name is nr_of_files - 1 not
nr_of_files
Paul-Francois Fontigny
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mf_seek.diff
Type: text/x-patch
Size: 839 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060702/9c27fe05/attachment.bin>
More information about the MPlayer-dev-eng
mailing list