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

Roger Pack rogerdpack2 at gmail.com
Fri Apr 20 16:13:40 CEST 2012


>> But i'd like to add that i think it's better we add the parameter to
>> the API even if it's currently won't be implemented. That way the API
>> won't need to be changed to add support.
>
> I have no objections. How about the following?:
>
> An int32_t parameter called "mode" which can be any of the following
>
> 0: normal. same as current behavior
> 1: always jump to a time > than requested time. For example, if time
> "15.00" is requested, and the nearest vobus are "14.90" and "15.40",
> pick "15.40" (even though "14.90" is closer)
> -1: always jump to a time < than requested time. Similar to above, but
> pick "14.90"

That API would work for me.
-roger-


More information about the DVDnav-discuss mailing list