aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* macosx_application: fix file opening on 10.9 (for real this time)Gravatar Stefano Pigozzi2013-09-13
| | | | | | | | I did commit 86c05655d by thinking `mpv` already removed the `mpv` from argc/argv. It actually is still there, so the argc must be 1 to check for no arguments. Thanks to @Nyx0uf for pointing out the bug and for testing on 10.9!
* macosx: always active bundle path lookup if cocoa is activeGravatar Stefano Pigozzi2013-09-12
| | | | | This is not really something you want to disable anyway. If there is no bundle the code already does it's falbacks anyway.
* macosx_application: fix file opening on OS X 10.9 (hopefully)Gravatar Stefano Pigozzi2013-09-12
| | | | | | | | File opening through Finder, apparently drops `--psn` arguments on Mavericks and just uses no args. Modify the code to account for that case. This wasn't tested on 10.9 itself (I don't have a paid dev account), but it *should* work if I understood the problem correctly.
* mpvcore/path: Fix non-MinGW buildsGravatar Martin Herkt2013-09-12
| | | | Well that was dumb.
* wayland/shm: fix resizing for good (finally)Gravatar Alexander Preisinger2013-09-12
| | | | | | Problem: I own the buffer and I destroyed while still being displayed. Solution: Add a temporary buffer and destroy it when the next buffer is attached.
* mpvcore/path: Fix config path handling on WindowsGravatar Martin Herkt2013-09-12
| | | | | | | | | | | | | | | | | | | | | | | | Previously, mpv incorrectly used the %HOME% environment variable on MinGW to determine the current user’s home directory. This is wrong; the correct variable to use would be %HOMEPATH%, which would however still be wrong since application data goes into the application data directory, not the user’s home. This patch makes it use the local AppData path instead of reading an environment variable. This however exposed another problem (which also affected users who actually had the %HOME% variable set): b2c2fe7a3782 (discussed in issue #95) introduced some changes that make mpv load user config files from the executable path on Windows. The problem with this change is that config_dir was still declared static, so once a config file had been found in the executable path, it would set config_dir to an empty string, so mpv would dump e.g. watch_later data straight into the user’s home. This commit also fixes that. One side effect of this is that mpv no longer considers the “mpv” subdirectory in the executable path (that behavior resulted from the homedir variable always being empty), unless it is somehow unable to determine the local AppData path.
* wayland: change fs messages to dbgGravatar Alexander Preisinger2013-09-12
| | | | These messages are only helpful when debugging.
* wayland/egl: use wayland logGravatar Alexander Preisinger2013-09-12
|
* wayland/shm: use wayland logGravatar Alexander Preisinger2013-09-12
|
* Revert "wayland: don't create our own log context"Gravatar Alexander Preisinger2013-09-12
| | | | | | | This reverts commit beab54506e61bc080880e827e351439f76542e68. Conflicts: video/out/wayland_common.c
* gl_osd: mp_msg conversionGravatar wm42013-09-12
|
* aspect: mp_msg conversionGravatar wm42013-09-12
|
* gl_lcms: mp_msg conversionGravatar wm42013-09-12
| | | | | Have to deal with some dumb stuff in LittleCMS2's API: its error handler is global.
* gl_common: complete mp_msg conversionGravatar wm42013-09-12
| | | | Hopefully this works on Wayland and Cocoa, which I didn't test.
* x11_common: mp_msg conversionGravatar wm42013-09-12
| | | | | Doesn't touch some parts, like the X11 error handler (which doesn't allow setting a context pointer).
* gl_32: mp_msg conversionGravatar Alexander Preisinger2013-09-11
|
* w32_common: mp_msg conversionGravatar Alexander Preisinger2013-09-11
|
* gl_x11: mp_msg conversionGravatar Alexander Preisinger2013-09-11
|
* Makefile: update DIRS to fix cleaningGravatar Stefano Pigozzi2013-09-11
| | | | Commits 40624100 and 72f2942df didn't update the variable accordingly.
* input: fix accidental NULL pointer dereferenceGravatar wm42013-09-11
| | | | | | | This could happen if the input queue was full, and an unmapped key was used, or something like this. Possibly fixes github issue #224.
* input: convert to new msg APIGravatar Stefano Pigozzi2013-09-10
|
* cocoa_common: remove most of the special handling for cursor autohideGravatar Stefano Pigozzi2013-09-10
| | | | | | | | | | | | | | | This is mostly related to the fullscreen behaviour. cecbd8864 introduces an option to make mpv behave like a OSX user would expect. This commit changes the Cocoa parts of the code to be consistent with the behaviour on X11. Old behaviour is still available through the option mentioned in cecbd8864. There is still custom logic in the cocoa backend and it can probably be moved to core: * Don't perform autohide if the mouse is down * Don't perform autohide outside of the video window Fixes #218 (by accident)
* mplayer: remove duplicated mouse autohide checkGravatar Stefano Pigozzi2013-09-10
|
* wayland/common: improved error messagesGravatar Alexander Preisinger2013-09-10
| | | | | The previous error message were not very usefull. Also include a hint where to look for solutions.
* mplayer: print libquvi results in verbose modeGravatar wm42013-09-10
| | | | Helpful for debugging.
* quvi: restore playback position when switching formatsGravatar wm42013-09-10
| | | | This simply issues a seek after reloading.
* quvi: coerce libquvi 0.4 support into allowing format switchingGravatar wm42013-09-10
| | | | | | | | | | | | | libquvi 0.4 doesn't allow us listing the formats supported by a streaming site without doing additional network accesses, so switching formats was not supported with it. (It's different with libquvi 0.9.) But the most important case is switching between SD and HD. Usually, --quvi-format=default will get SD, while --quvi-format=best gives HD. Use this, and pretend that an URL supported by libquvi 0.4 supports both of these. "cycle quvi-format" will switch between these. If the user specifies something else via --quvi-format, this is included in the list of switchable formats additionally to "default" and "best".
* stream_bluray: return number of titlesGravatar wm42013-09-10
| | | | So that the "titles" property returns the number of titles.
* command: make title property unavailable if there's no supportGravatar wm42013-09-10
| | | | | Instead of returning 0 if the stream doesn't have title info, make the property unavailable.
* stream: force demuxer of cached stream, fixes cdda:// + cacheGravatar wm42013-09-10
|
* mplayer: mentioned --list-options in --help outputGravatar wm42013-09-10
| | | | | | It's annoying for users if you can't get a list of options with --help, but on the other hand, printing all options would be overkill. So just mentioned --list-options.
* Makefile: restore manpage dependency rulesGravatar wm42013-09-10
| | | | | | Broken by commit 0054073. Also add them to the pdf target.
* manpage: various improvementsGravatar wm42013-09-10
| | | | Took a superficial look at the manpage, and fixed whatever I spotted.
* wayland: update license headersGravatar Alexander Preisinger2013-09-09
|
* wayland/shm: version detection that also worksGravatar Alexander Preisinger2013-09-09
| | | | The previous method would break on the next release. Because I am stupid.
* Add PDF manual targetGravatar Martin Herkt2013-09-09
| | | | | | This builds a PDF version of the manpage using rst2latex and pdflatex, and installs it to PREFIX/share/doc/mpv by default.
* demux: keep title chapter tag in uppercaseGravatar wm42013-09-08
| | | | | | | This is generally more uniform. Do the same for the file global title in demux_mkv.c, although that is not strictly related to chapters.
* demux_mkv: support V_PRORESGravatar wm42013-09-08
| | | | | | | Why not... Code for demangling Matroska-style prores video packets inspired by libavformat's Matroska demuxer.
* DOCS/crosscompile-mingw.txt: UpdateGravatar Martin Herkt2013-09-08
|
* Manpage: Fix formatting (mostly for PDF output)Gravatar Martin Herkt2013-09-08
|
* find_subfiles: fix off-by-1 errorGravatar Gabriel Peixoto2013-09-08
| | | | | | | This could lead to a segfault, fixes #219 Signed-off-by: Gabriel Peixoto <gabrielrcp@gmail.com> Signed-off-by: wm4 <wm4@nowhere>
* demux: retrieve per-chapter metadataGravatar wm42013-09-08
| | | | | | | | | | Retrieve per-chapter metadata, but don't do much with it. We just make the metadata of the _current_ chapter available as chapter-metadata property. Returning the full chapter list with metadata would be no problem, except that the property interface isn't really good with structured data, so it's not available for now. Not sure if it's worth it, but it was requested via github issue #201.
* demux: refactor tag handlingGravatar wm42013-09-08
| | | | | Make the code somewhat reuseable, instead of bound to a single demuxer instance. The plan is to add support for per-chapter tags later.
* core: remove a minor memory leakGravatar wm42013-09-08
|
* demux_mkv: don't overflow packet queue when doing sub-prerollGravatar wm42013-09-08
| | | | | | | | | | | | | | Consider the cluster used for prerolling contains an insane amount of subtitle packets. Then the demuxer packet queue would be full of subtitle packets, and demux.c would refuse to read any further packets - including video and audio packets, resulting in EOF. Since everything involving Matroska and subtitles is 100% insane, this can actually happen. Fix this by putting a limit on the number of subtitle packets read by preroll, and throw away any further packets if the limit is exceeded. If this happens, the preroll mechanism will stop working, but the player's operation is unaffected otherwise.
* osc: rename osd_font, add some glyphsGravatar ChrisK22013-09-08
| | | | | | | | | | Cherry picked from various commits in lua_experiment by ChrisK2. The metrics of the OSD symbols change slightly, possibly due to the font editor that was used, and the metrics were not correct to begin with. (But the real reason seems unknown.) Remove the rescaling of the OSD font in ASS_USE_OSD_FONT, because the height more or less fits now. (This change wasn't in the lua_experiment branch.)
* osd_libass: make sure Z-order is well defined for multiple eventsGravatar wm42013-09-08
| | | | Otherwise, events may overlap in arbitrary ways.
* mplayer: cosmetics: split some code off of run_playloop()Gravatar wm42013-09-08
| | | | | | run_playloop() is already stuffed enough. This function is still quite big, but all the other code shares various variables, so it's not as easy to split.
* mplayer: add --cursor-autohide-fs-only optionGravatar wm42013-09-08
| | | | | | | | This option makes the cursor always visible in windowed mode. Apparently, this is what (some?) Windows and OSX users expect. It's disabled by default for now. Restructure the cursor hide logic a bit for this purpose.
* options: remove --(no-)mouseinput optionGravatar wm42013-09-08
| | | | I have no idea why it exists, as it's redundant to --(no-)mouse-movements.