[DVDnav-discuss] [PATCH] "dvdnav_jump_to_sector" as an alternative to "dvdnav_time_search" (REV 5: combined args to structs)

Joakim Plate elupus at ecce.se
Wed Apr 18 18:09:23 CEST 2012

I would like to see a API change before this goes in. A parameter
saying if you want closest time before or after the passed time.

Reason for this is that if you are skipping back, you don't want the
situation where you end up after the current location even if you ask
for a skip back by one millisecond. Similar but opposite occurs in the
forward case.

It also applies if you try to do a poor mans reverse playback. By
doing seeks and decoding one frame. You need to get to previous
keyframe. A keyframe after current location is no good.


More information about the DVDnav-discuss mailing list