MPV

mpv:absurd_test2

Last commit made on 2020-02-08
Get this branch:
git clone -b absurd_test2 https://git.launchpad.net/mpv

Branch merges

Branch information

Name:
absurd_test2
Repository:
lp:mpv

Recent commits

b22e3e3... by wm4 <wm4@nowhere>

...

1e86b97... by wm4 <wm4@nowhere>

actually...

df82b5a... by wm4 <wm4@nowhere>

absurd buffering test

af021a2... by Dudemanguy <email address hidden>

wayland: adjust vo_wayland_wait_frame logic

Wayland uses vo_wayland_wait_frame plus some polling with a timeout for
blocking on vsync. Here are a couple of changes that seem to be
improvements. First, the poll time is always rounded up instead of
truncated. When rendering frames longer than the standard 16.666 ms
timeout, it seems that truncating the poll time slightly early may cause
some vsync jitter spikes. Waiting longer, even if it's too long, appears
to behave better.

The second change is to use wl_display_roundtrip instead of
wl_display_dispatch_pending. wl_display_dispatch_pending dispatches all
events immediately. This is good to avoid blocking, but it's not
guaranteed to wait long enough for all events to be processed on the
display fd. The preceding wl_display_read_events routine ensures that
all events on the display fd are queued. We just need a semi-blocking
routine to dispatch them for the most reliable vsync.

wl_display_roundtrip will dispatch any events for us, but also wait for
a reply from the display server. This makes it ideal for this role. If
the compositor doesn't reply to the client something else is probably
horribly broken and wrong anyway. It's also not a permanently blocking
call like wl_display_dispatch. If there's no frame callback (i.e. the
window is hidden), then it does not dispatch any events and returns
immediately.

c4570be... by "Avi Halachmi (:avih)" <email address hidden>

DOCS: js: minor update for require

756960b... by "Avi Halachmi (:avih)" <email address hidden>

js: require: directory-scripts: first look at <dir>/modules/

Also, add the function mp.get_script_directory() to let scripts know if
they're loaded as a directory and where.

68a1b47... by "Avi Halachmi (:avih)" <email address hidden>

js: require: don't use ~~/scripts/modules.js/

Directories inside ~~/scripts/ are now loaded as scripts, so don't use
it also for modules. Now there are no default module paths.

To compensate, we now try to run ~~/.init.js right after defaults.js,
so the user may extend the js init procedure via this script, e.g. for
adding default paths to mp.module_paths .

10a97f7... by wm4 <wm4@nowhere>

osc: use cache state cache-duration field

Avoids an additional property access; see previous commit.

11d2232... by wm4 <wm4@nowhere>

command: add cache-duration to cache state property

Convenience; see following commit.

27d5d32... by wm4 <wm4@nowhere>

demux: add option to disable "sharing" between back and forward buffers

As requested. I guess option name and manpage text could be better and
clearer.

Closes: #7442