MPV

mpv:rc

Last commit made on 2020-05-01
Get this branch:
git clone -b rc https://git.launchpad.net/mpv

Branch merges

Branch information

Name:
rc
Repository:
lp:mpv

Recent commits

994ccae... by wm4 <wm4@nowhere>

ta: add refcount wrapper

92db873... by wm4 <wm4@nowhere>

DOCS/contribute.md: add some blabla about fixup commits in pull requests

I have to say this in PR reviews all the time, so maybe I should make i
explicit. In too many words of course, many, many, too many words which
nobody will read, I get it, now shut up. Sneak in some subtle or not so
subtle comments about how I think that github is ruining code quality.

ccbb8b1... by wm4 <wm4@nowhere>

lua: restore change detection with legacy OSD function

mp.set_osd_ass() (which was undocumented, or in other words, was not
supposed to be used by external scripts) used to do change detection in
the mpv C code. If the resolution or payload did not change, it was not
re-rendered on the lower levels.

Apparently this made some people sad, so fix it. (But only after I told
them to fuck off.) (Well I didn't put it this way, but still.)

008faa3... by wm4 <wm4@nowhere>

zimg: remove C11 aligned_alloc() requirement

It's not available on Windows because MinGW is fucking horrible and
Microsoft are fucking assholes.

4f0206a... by Niklas Haas <email address hidden>

vo_gpu: enable frame caching for still frames

For some reason this was never done? Looking through the code, it was
never the case that the frame cache was hit for still frames. I have no
idea why not. It makes a lot of sense to do so.

Notably, this massively improves the performance of updating the OSC
when viewing e.g. large still images, or while paused. (Tested on a
4000x8000 image, the OSC now responds smoothly to user input)

2aa5964... by kevmitch

stream_libarchive: remember archive headers from initial open

The header probing hacks were previously all broken. They only worked
the first time the archive file was open. Since subsequent opens (on
seek) occured in the middle of the source stream rather than at the
beginning, the stream_read_peek calls meant to retrieve the headers were
instead returning random bytes in the middle of the file.

Perhaps the worst manifestation of this was when seeking within a
multi-volume .rar archive with the "legacy" file naming pattern. If the
seek required a reopen, the fact that the archive was multi-volume would
be forgotten and the file would appear truncated terminating playback.

To solve this, only perform the header probling the first time the
archive is opened. Save the results and reuse them on subsequent
reopens. Put this in a wrapper so this is transparent to
demux_libarchive.

9285a1c... by kevmitch

stream_libarchive: simplify multi-volume rar hate message

I couldn't find any reason for this message to be so far dispalced from
where it's necessity was determined. That necessity is not however in
question.

Also improve the wording and line breaking.

430b6f9... by kevmitch

stream_libarchive: put multi_rar check in a function

027ae81... by wm4 <wm4@nowhere>

ta: add ta_get_parent()

Sometimes useful for debugging. Also fix a random typo elsewhere.

729843b... by wm4 <wm4@nowhere>

ta: change debug ifdeffery

TA_MEMORY_DEBUGGING always defined. But allow defining it from the
compiler command line (-D), because maybe that's useful for someone?