Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
libdvdnav
Manage
Activity
Members
Labels
Plan
Issues
10
Issue boards
Milestones
Code
Merge requests
10
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
libdvdnav
Commits
9831fe01
Commit
9831fe01
authored
2 years ago
by
Miguel Borges de Freitas
Committed by
enen92
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Expose dvdnav_jump_to_sector_by_time
parent
35bd5143
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!45
Expose dvdnav_jump_to_sector_by_time
Pipeline
#229870
failed with stage
Stage:
in 1 minute and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/dvdnav/dvdnav.h
+13
-0
13 additions, 0 deletions
src/dvdnav/dvdnav.h
with
13 additions
and
0 deletions
src/dvdnav/dvdnav.h
+
13
−
0
View file @
9831fe01
...
...
@@ -431,6 +431,19 @@ int64_t dvdnav_get_current_time(dvdnav_t *self);
dvdnav_status_t
dvdnav_time_search
(
dvdnav_t
*
self
,
uint64_t
time
);
/*
* Find the nearest vobu and jump to it
*
* Alternative to dvdnav_time_search (see full documentation on searching.jump_to_time.readme)
* Jumps to the provided PTS (which is defined as time_in_ms * 90). mode means the navigation mode,
* currently only the Default (0) is implemented:
* 0: Default. Jump to a time which may be either <> time_in_pts_ticks
* 1: After. Always jump to a time that is > time_in_pts_ticks
* -1: Before. Always jump to a time that is < time_in_pts_ticks
*/
dvdnav_status_t
dvdnav_jump_to_sector_by_time
(
dvdnav_t
*
self
,
uint64_t
time_in_pts_ticks
,
int32_t
mode
);
/*
* Stop playing current position and play the "GoUp"-program chain.
* (which generally leads to the title menu or a higher-level menu).
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment