0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/player
wm4 adf7f0661e command: overlay_add: more flexible treatment of offset parameter
Essentially, don't make it the mmap() argument, and just add it to the
memory address. This hides tricky things like alignment reequirements
from the user.

Strictly speaking, this is not entirely backwards compatible: this adds
the regression that you can't access past 2 or 4 GB of a file on 32 bit
systems anymore. But I doubt anyone cared about this.

In theory, we could be clever, and just align the offset manually and
pass that to mmap(). This would also be transparent to the user, but
minimally more effort, so this is left as exercise to the reader.
2014-12-26 18:11:22 +01:00
..
lua options: deprecate 'lua' based options/dirs for 'script' 2014-12-15 04:39:56 +01:00
timeline player: always use demux_chapter 2014-11-02 17:29:41 +01:00
audio.c audio: alternative fix for previous commit 2014-11-27 18:52:22 +01:00
client.c client API: fix compiler warning if openglcb API is disabled 2014-12-22 12:47:05 +01:00
client.h client API: be more lenient about mpv_suspend/resume mismatches 2014-12-15 14:44:47 +01:00
command.c command: overlay_add: more flexible treatment of offset parameter 2014-12-26 18:11:22 +01:00
command.h command: add window-minimized property (X11 only) 2014-11-02 20:55:07 +01:00
configfiles.c options: add option for ignoring patch in resume mechanism 2014-12-13 00:04:08 +01:00
core.h player: cosmetics: move code around 2014-12-21 23:47:00 +01:00
discnav.c osc, dvd, bd: fix mouse state when changing menu modes 2014-12-05 16:04:04 +01:00
loadfile.c player: print only changed tags 2014-12-19 23:54:21 +01:00
lua.c client API: be more lenient about mpv_suspend/resume mismatches 2014-12-15 14:44:47 +01:00
main_fn.c cocoa: fix build by using the correct HAVE_* macro 2014-08-06 09:31:59 +02:00
main.c vo_opengl_cb: free context on exit 2014-12-22 12:45:43 +01:00
misc.c player: don't display zero duration for files with unknown duration 2014-10-29 21:54:59 +01:00
osd.c command: improve A-B loop behavior 2014-11-18 20:28:54 +01:00
playloop.c player: hack against --keep-open misbehaving with broken files 2014-12-24 15:12:11 +01:00
screenshot.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
screenshot.h Move mpvcore/player/ to player/ 2013-12-17 00:53:22 +01:00
scripting.c scripting: fix/improve deprecation message 2014-12-15 06:24:05 +01:00
sub.c sub: reset sub decoder correctly when cycling subtitles 2014-12-21 23:48:20 +01:00
video.c player: fix a typo in message output 2014-12-24 14:35:04 +01:00