aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* command: provide per-file-options for loadfile commandGravatar xylosper2014-02-23
| | | | | | Signed-off-by: wm4 <wm4@nowhere> Closes #575. Minor changes over original pull request.
* command: remove special casing for strings in input commandsGravatar wm42014-02-23
| | | | | | Until now, strings were the only allowed dynamically allocated argument type in input commands. Extend it so that it works for any type. (The string expansion in command.c is of course still string specific.)
* old build: add a missing config.h defineGravatar wm42014-02-23
| | | | The configure check was added to waf only.
* ta: fix commentGravatar wm42014-02-23
| | | | | | If this function could return the input value (i.e. the == case was correct), then macros like MP_GROW_ARRAY would have been incorrect. The implementation was correct though, so there's no bug.
* ta: clarify a corner caseGravatar wm42014-02-23
|
* manpage: fix a metadata property nameGravatar wm42014-02-23
|
* command: don't use option name in propertiesGravatar wm42014-02-23
| | | | | | | | | | | | | Some code accessed m_option.name to get the property name. (Maybe only show_property_osd() had a significant use of it.) Remove that, and remove setting names and dummy names as well. The old code usually assumed that the name was set, and show_property_osd() used it to get the proper name of deprecated aliases. The "vf" property was listed as "vf*". Not sure why that was done, but it works without anyway.
* manpage: fix yadif example in one caseGravatar wm42014-02-23
|
* m_option: explicitly allow m_option.name==NULLGravatar wm42014-02-23
| | | | | | | | Doesn't require other code to care about this, which will allow us to simplify the property code. Only "wildcard" options like "vf" and string lists used this, and m_option_list_findb() (which is excused).
* lua: fix behavior if no script command handler is registeredGravatar wm42014-02-23
|
* options: handle escape sequences in e.g. --playing-msg differentlyGravatar wm42014-02-20
| | | | | | | | | | M_OPT_PARSE_ESCAPES was pretty stupid, and broke the (useful) assumption that string variables contain exactly the same value as set by the option. Simplify it, and move escape handling to the place where it's used. Escape handling itself is not terribly useful, but still allows useful things like multiline custom OSD with "\n".
* input: check for abort cmd in multi-commandsGravatar wm42014-02-20
| | | | | | | | | MP_CMD_COMMAND_LIST commands (used to implement key bindings with multiple commands) were not checked for abort commands. Implement it. Remove the remarks about multi-commands being special from the manpage. Seek coalescing is handled differently now, and the issue with abort commands is fixed with this commit.
* input: ignore modifiers when releasing keysGravatar James Ross-Gowan2014-02-20
| | | | | This prevents keys from getting stuck if the modifier is released before the base key.
* build: syms: add support for Mach-O binariesGravatar Stefano Pigozzi2014-02-19
| | | | | | | | Current code stolen from waf's extras, only supported 'pe' and 'elf'. OS X uses the 'Mach-O' binary format (which waf calls 'mac-o'... go figure). Add support for generating the global symbols file with nm and using it from clang.
* manpage: input: clarify chapter-metadata propertyGravatar wm42014-02-19
|
* command: allow accessing metadata entries as listGravatar wm42014-02-19
| | | | | | Not sure about these deep path-names. Maybe "metadata/0" should work instead of "metadata/list/0". I'm so unsure about it, that I'm leaving it open.
* command: move metadata entry access to metadata/by-key/Gravatar wm42014-02-19
| | | | | | The old way still works, and is fine to use. Still discourage it, because it might conflict with other ways to access this property, such as the one added in the next commit.
* manpage: lua: improve explanation of tracks-changed and tracks-switchedGravatar wm42014-02-19
|
* client API: add event for metadata changesGravatar wm42014-02-19
|
* input, dvdnav: fix osc stealing input from dvdnavGravatar wm42014-02-19
| | | | | | | | | | This is a regression introduced from moving Lua scripts (including the OSC) to their own threads. Now OSC and dvdnav can add their bindings at the same time without coordination, which seems to result in the OSC winning most time, and thus overriding the dvdnav menu bindings. Fix this by adding a flag that makes dvdnav menu bindings take priority over all other bindings.
* input: minor simplification for --input-testGravatar wm42014-02-19
|
* video: add rounding to aspect ratio calculationsGravatar wm42014-02-19
| | | | | Small errors are unavoidable, but truncation can cause anamorphic video to be off by 1 or 2 pixels.
* command: export list of editions as propertiesGravatar wm42014-02-19
|
* command: export codec for each trackGravatar wm42014-02-19
|
* player: fix start time if timeline is used (ordered chapters, EDL)Gravatar wm42014-02-19
| | | | | | When timeline was used, and the --start option was not used, the initial seek (needed to switch to the first timeline segment) seeked to -1 due to an oversight.
* edl: extend with chapter timestampsGravatar wm42014-02-19
| | | | | | Example see edl-mpv.rst. What is this useful for? No clue...
* edl: fix offset of user-visible chaptersGravatar wm42014-02-19
| | | | | Basically, chapter marks and chapter seek-points were incorrect, while the rest worked.
* stream_file: cache remote files on WindowsGravatar James Ross-Gowan2014-02-18
| | | | Same as 6896469 but for Windows.
* vo_opengl: use GL_RGBA16 FBO format for HQGravatar Grigori Goronzy2014-02-17
| | | | | GL_RGB16 is definitely not a required format, after review of the OpenGL 3.3 spec. Most HW doesn't have native support for RGB16 anyway.
* manpage: lua: shorten description of register_script_command()Gravatar wm42014-02-17
| | | | | | | | | This is simply not important enough to warrant so much space, and it's perhaps also very confusing. Although I'm not fully sure, since this is about the only way that allows a user to interact with a script, besides key bindings and static options.
* manpage: lua: attempt to improve add_key_binding() descriptionGravatar wm42014-02-17
|
* manpage: lua: improve introduction, add simplistic exampleGravatar wm42014-02-17
|
* manpage: lua: fix typoGravatar wm42014-02-17
|
* manpage: input: document script_message commandGravatar wm42014-02-17
|
* vo_corevideo: remove unused variableGravatar Stefano Pigozzi2014-02-17
|
* stream_file: activate cache with files on network file systemsGravatar Stefano Pigozzi2014-02-17
| | | | | | | | Detected 'protocols' are AFP, nfs, smb and webdav. This can be extended on request. This is currently only implemented for BSD systems (using fstatfs). This addresses issue #558 on the above platforms.
* client API: add events for video and audio reconfigGravatar wm42014-02-17
|
* w32_common: don't set small iconGravatar James Ross-Gowan2014-02-17
| | | | | Windows will automatically choose the correct icon size if this field is unset.
* lua: add mechanism for script provided key bindingsGravatar wm42014-02-17
| | | | | | | | | | | | | There was already an undocumented mechanism provided by mp.set_key_bindings and other functions, but this was relatively verbose, and also weird. It was mainly to make the OSC happy (including being efficient and supporting weird corner cases), while the new functions try to be a bit simpler. This also provides a way to let users rebind script-provided commands. (This mechanism is less efficient, because it's O(n^2) for n added key bindings, but it shouldn't matter.)
* input: debug output for registered bindingsGravatar wm42014-02-17
|
* input: don't let builtin bindings overwrite user bindingsGravatar wm42014-02-17
| | | | | This was already done, except when the bindings were in different input sections. This commit fixed it. Useful for scripts, probably.
* client API: add a client message eventGravatar wm42014-02-17
| | | | | This comes with a "script_message" input command, which sends these messages. Used by the following commits.
* keycodes: add const to a function argumentGravatar wm42014-02-17
|
* lua: allow giving fallback values in get_property() callsGravatar wm42014-02-17
| | | | | E.g. ``mp.get_property("foo", "value")`` will return ``value`` if the property can't be read.
* lua: remove redundant inline documentationGravatar wm42014-02-17
| | | | | Nobody will loom at this, and the proper documentation of these functions is in lua.rst.
* DOCS/crosscompile-mingw: use settings.mk instead of make variablesGravatar Timothy Gu2014-02-17
| | | | Signed-off-by: Timothy Gu <timothygu99@gmail.com>
* DOCS/crosscompile-mingw: update disk space statsGravatar Timothy Gu2014-02-17
|
* DOCS/crosscompile-mingw: updateGravatar Timothy Gu2014-02-17
| | | | | - Adds description of and uses $JOBS envvar in MXE instructions - Adds MXE_TARGETS to command line instead of echoing it to settings.mk - Prettify and sentence usage
* wayland/shm: remove unused defineGravatar Alexander Preisinger2014-02-16
|
* command: export chapter list as propertiesGravatar wm42014-02-16
|