1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 12:55:16 +00:00
mpv/options
Aman Gupta 0c6a488ef9 options: add --start=none to reset previously set start time
Previously when using a libmpv instance to play multiple videos,
once --start was set there was no clear way to unset it. You could
use --start=0, but 0 does not always mean the beginning of the file
(especially when using --rebase-start-time=no). Looking up the start
timestamp and passing that in also does not always work, particularly
when the first timestamp is negative (since negative values to --start
have a special meaning).

This commit adds a new "none" value which maps to the internal
REL_TIME_NONE, matching the default value of the play_start option.
2017-12-06 20:50:31 +02:00
..
m_config.c m_config: better variable name 2017-09-22 11:31:23 +02:00
m_config.h options: add a thread-safe way to notify option updates 2017-08-22 15:50:33 +02:00
m_option.c options: add --start=none to reset previously set start time 2017-12-06 20:50:31 +02:00
m_option.h video: remove automatic stereo3d filter insertion 2017-11-29 21:30:51 +01:00
m_property.c m_property: change license to LGPL 2017-06-12 17:00:20 +02:00
m_property.h command: read the diff if you want to know 2017-10-21 21:13:53 +02:00
options.c vd_lavc: rewrite how --hwdec is handled 2017-12-01 21:11:43 +01:00
options.h vd_lavc: rewrite how --hwdec is handled 2017-12-01 21:11:43 +01:00
parse_commandline.c m_option: remove redundant indirections 2017-07-02 13:07:36 +02:00
parse_commandline.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
parse_configfile.c options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
parse_configfile.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
path.c options/path: fallback to USERPROFILE if HOME isn't set 2017-07-06 15:45:08 +01:00
path.h path: change license to LGPL 2017-06-12 16:41:21 +02:00