diff options
author | Rudolf Polzer <divverent@xonotic.org> | 2013-06-20 12:15:36 +0200 |
---|---|---|
committer | Rudolf Polzer <divverent@xonotic.org> | 2013-06-20 12:15:36 +0200 |
commit | 7e88dca2db56f97bcd100c53bfd47a5d677c94cd (patch) | |
tree | 67536ca983fe2ccc7b2afb77bceac77b11bb6012 /core/mp_core.h | |
parent | 1e58ccaaf07bd360aebe99ec29e39a2b0b7e4d99 (diff) | |
download | mpv-7e88dca2db56f97bcd100c53bfd47a5d677c94cd.tar.bz2 mpv-7e88dca2db56f97bcd100c53bfd47a5d677c94cd.tar.xz |
encoding: use --start for ratios, etc.
Note: this currently only works for formats without pts resets. Other
formats will ignore this code.
Diffstat (limited to 'core/mp_core.h')
-rw-r--r-- | core/mp_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mp_core.h b/core/mp_core.h index a327e43822..98a92cbea4 100644 --- a/core/mp_core.h +++ b/core/mp_core.h @@ -304,7 +304,7 @@ double get_time_length(struct MPContext *mpctx); double get_start_time(struct MPContext *mpctx); double get_current_time(struct MPContext *mpctx); int get_percent_pos(struct MPContext *mpctx); -double get_current_pos_ratio(struct MPContext *mpctx); +double get_current_pos_ratio(struct MPContext *mpctx, bool use_range); int get_current_chapter(struct MPContext *mpctx); char *chapter_display_name(struct MPContext *mpctx, int chapter); char *chapter_name(struct MPContext *mpctx, int chapter); |