[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
Fri Apr 20 19:25:20 CEST 2012


>> 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"

Seems good to me.


More information about the DVDnav-discuss mailing list