aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* 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
|
* command: export playlist as propertiesGravatar wm42014-02-16
|
* command: expose track list as propertiesGravatar wm42014-02-16
|
* m_property: add a mechanism to organize a list of sub-propertiesGravatar wm42014-02-16
| | | | | This automatically adds a "count" sub-property, and for each entry in the range [0, count), a numbered sub-property to access the item.
* demux: expose stream_type_name() functionGravatar wm42014-02-16
|
* command: export more video params as propertiesGravatar wm42014-02-16
| | | | | This uses the previously added sub-property mechanism to export a bunch of stuff. For example, "video-params/w" now contains the video width.
* m_property: add a sub-property mechanismGravatar wm42014-02-16
| | | | | | | This adds a mechanism for easier export of sub-properties. The following commits will make use of it to export fine grained information about certain things. The sub-property mechanism reduces the amount of code needed to export a data value to 1 line.
* csputils: provide string descriptions of chroma locationsGravatar wm42014-02-16
|
* Merge branch 'master' of git://github.com/mpv-player/mpvGravatar Diogo Franco (Kovensky)2014-02-15
|\ | | | | | | | | | | | | | | | | | | * 'master' of git://github.com/mpv-player/mpv: win32: restore support for exe directory as config directory crosscompile-mingw: improve instructions for MXE sd_lavc: handle subtitles with no subtitle resolution set options: make --no-config block all auto-loaded configuration files lua: auto-load scripts from ~/.mpv/lua/ lua: make register_event() not overwrite previous event handler
* | Parse::Matroska::Reader: get rid of `bigrat`Gravatar Diogo Franco (Kovensky)2014-02-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems that it was causing issues with certain perl setups (such as the one on issue #549). It also turns out that it was not behaving correctly (not all constants were being promoted to big nums as they should), so we use explicit objects to derive the constants. There were also precedence issues. I wonder if this even worked right to begin with. The 'double' path (8-byte floats) is untested, as I couldn't easily find a file with such a field. Closes #549.
| * win32: restore support for exe directory as config directoryGravatar elevengu2014-02-14
| | | | | | | | | | | | | | | | Same rationale as b2c2fe7a but updated to work with path-win.c Signed-off-by: wm4 <wm4@nowhere> Merges/closes #543.
| * crosscompile-mingw: improve instructions for MXEGravatar wm42014-02-14
| |
| * sd_lavc: handle subtitles with no subtitle resolution setGravatar xylosper2014-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set subtitle resolution to video resolution when avctx->width and avctx->height are zero. This can happen with broken vobsubs that have no size set in their .idx file (or Matroska extradata). At least with the test file provided in issue #551, using the video resolution as fallback instead of what guess_resolution() does is better. Note that these files clearly are broken. It seems this particular file was created by trying to use ffmpeg to transcode DVB subtitles to vobsub, and ffmpeg "forgot" to set the subtitle resolution in the destination file. On the other hand, ffmpeg DVB and PGS decoders set the resolution on the first subtitle packet (or somewhere close), so it's not really clear what to do here. Closes #551. Signed-off-by: wm4 <wm4@nowhere> Patch by xylosper, rewritten commit message by wm4.
| * options: make --no-config block all auto-loaded configuration filesGravatar wm42014-02-14
| | | | | | | | | | | | | | | | | | | | | | | | Until now, the --no-config was explicitly checked in multiple places to suppress loading of config files. Add such a check to the config path code itself, and refuse to resolve _any_ configuration file locations if the option is set. osc.lua needs a small fixup, because it didn't handle the situation when no path was returned. There may some of such cases in the C code too, but I didn't find any on a quick look.
| * lua: auto-load scripts from ~/.mpv/lua/Gravatar wm42014-02-14
| | | | | | | | This is like passing them to --lua.
| * lua: make register_event() not overwrite previous event handlerGravatar wm42014-02-14
|/ | | | | | | | Instead, chain them. Note that there's no logic to prevent the other event handlers to be run from an event handler (like it's popular in GUI toolkits), because I think that's not very useful for this purpose.
* build: Add -U__STRICT_ANSI__ to CFLAGS on CygwinGravatar Diogo Franco (Kovensky)2014-02-13
| | | | | | | | | | | | Cygwin's libc (newlib) doesn't obey a lot of unix feature test macros, including _GNU_SOURCE; as a result, a lot of functions and defines get masked out -- important defines such as M_PI and strcasecmp. Work around it by undefining __STRICT_ANSI__ on cygwin systems. This will still cause compilation issues on any non-cygwin system that uses newlib, but hopefully nobody does that, or if they do, they will find this commit message and know to add -U__STRICT_ANSI__ to their CFLAGS. Hopefully.
* build: disable clang's tautological compare warnings [2]Gravatar Stefano Pigozzi2014-02-13
| | | | Fixup 8009646583d523fc0.
* sub: handle vobsub-in-mp4Gravatar wm42014-02-13
| | | | | | | | | | | The mplayer decoder (spudec.c) actually handled this. There was explicit code for binary palettes (16 32 bit values), and the subtitle resolution was handled by video resolution coincidentally matching the subtitle resolution. Whoever puts vobsub into mp4 should be punished. Fixes the sample gundam_sample.mp4, closes github issue #547.
* build: disable clang's tautological compare warningsGravatar Stefano Pigozzi2014-02-13
| | | | | This silences two non issues in the client.c file. Fixing them as clang would want us to, would introduce security bugs and potential crashes.
* cocoa: fix deadlock during initialization [2]Gravatar Stefano Pigozzi2014-02-13
| | | | Fixup commit for 20fa191ad.
* player: select subtitles added with sub_addGravatar wm42014-02-13
| | | | | | | | | | In particular, this affects drag & drop of subtitles, which uses sub_add internally. This will make the subtitles show up immediately, instead of requiring manual selection of the added subtitle. Might be not so ideal when adding multiple subtitles at once, because that leads to multiple sub_add commands, and will end up with the last subtitle instead of the first selected. But this is a minor detail.
* build: bump libmpg123 versionGravatar wm42014-02-13
| | | | | | | | | The minimum required version was bumped in the old configure script, but for the waf build system is was somehow forgotten or overlooked. Probably happened while the waf build system was developed in a separate branch. Closes #546.
* cocoa: fix deadlock during initializationGravatar Stefano Pigozzi2014-02-13
| | | | | | Thanks to @wm4 for catching the bug. Fixes #405
* vo_opengl: make :srgb decompand the BT.709 values correctlyGravatar nand2014-02-12
| | | | | | | | This is the same issue as addressed by 257d9f1, except this time for the :srgb option as well. (257d9f1 only addressed :icc-profile) The conditions of the srgb_compand mix() call are also flipped to prevent an off-by-one error.
* vo_wayland: silence shadowing warningGravatar wm42014-02-12
|
* command: fix metadata propertyGravatar wm42014-02-12
| | | | This crashed when retrieving the raw property value. Oops.
* manpage: reformat property listGravatar wm42014-02-12
| | | | | | | | Use a list instead of a table. This makes it easier to provide extended information about a property, and doesn't require you to fiddle with rhe RST ASCII-art tables. Also, extend some property descriptions.
* manpage: lua: move less important events to the end of the listGravatar wm42014-02-12
|
* manpage: lua: document receiving of terminal messagesGravatar wm42014-02-12
|
* manpage: lua: rewrite event descriptionGravatar wm42014-02-12
| | | | | Using such a small table is not such a great idea, because you can't put much information in it, even if you need to.
* client API: fix description of mpv_event.error fieldGravatar wm42014-02-12
| | | | The description was a left over from an earlier iteration of the API.
* manpage: lua: minor fixesGravatar wm42014-02-12
|
* player: fix --force-window on OSXGravatar wm42014-02-11
| | | | | | | | The initialization code was split and refactored for the libmpv changes. One change, moving a part of cocoa initialization, accidentally broke --force-window on OSX, which creates a VO in a certain initialization stage. We still don't know how cocoa should behave with libmpv, so fix this with a hack to beat it back into working. Untested.
* man: update wayland optionsGravatar Alexander Preisinger2014-02-11
|
* wayland/shm: rewrite buffer handlingGravatar Alexander Preisinger2014-02-11
| | | | | | | | | | | I was unhappy with the old way of handling buffers, especially resizing. But my original plan to use wl_shm_pool_resize wasn't as good as I initially thought. I might get back to it. With the new buffer pools it now possible to select triple buffering. Also the buffer pools are also needed for the upcoming subsurfaces for osd and subtitles. I hope this change was worth it.
* wayland/shm: prevent the window from flying awayGravatar Alexander Preisinger2014-02-11
| | | | With the new xdg_shell the problem will be no gone by itself.
* manpage: fix Lua script shutdown description againGravatar wm42014-02-11
| | | | | | It was split at the wrong sentence. Also, sneak in a reference to mp.suspend.
* manpage: document --aspect special valuesGravatar wm42014-02-11
| | | | | | | Use of these is "discouraged", but they're there to select these special cases with the "aspect" property. They really should use some sort of choice option type, but since it would be some work to make these work with float values, the simple and dumb alternative was picked.
* video: fix --no-aspectGravatar wm42014-02-11
| | | | This also affects the --aspect option and the "aspect" property.
* build: add SONAME to libmpv.soGravatar wm42014-02-11
|
* manpage: use Lua for Lua exampleGravatar wm42014-02-11
|
* manpage: document mp.commandv Lua commandGravatar wm42014-02-11
|
* manpage: move description of script shutdown to a separate paragraphGravatar wm42014-02-11
| | | | No other changes, just adding a paragraph break and reflowing the text.
* manpage: fix formatting of example codeGravatar wm42014-02-11
|
* manpage: document some Lua scripting functionsGravatar wm42014-02-11
|
* lua: some minor API changesGravatar wm42014-02-11
|