MPV

mpv:release/0.2

Last commit made on 2013-12-01
Get this branch:
git clone -b release/0.2 https://git.launchpad.net/mpv

Branch merges

Branch information

Name:
release/0.2
Repository:
lp:mpv

Recent commits

3b0f28b... by wm4 <wm4@nowhere>

Release 0.2.4

f12ed5f... by wm4 <wm4@nowhere>

mp_image: deal with FFmpeg PSEUDOPAL braindeath

We got a crash in libavutil when encoding with Y8 (GRAY8). The reason
was that libavutil was copying an Y8 image allocated by us, and expected
a palette. This is because GRAY8 is a PSEUDOPAL format. It's not clear
what PSEUDOPAL means, and it makes literally no sense at all. However,
it does expect a palette allocated for some formats that are not
paletted, and libavutil crashed when trying to access the non-existent
palette.

317f239... by wm4 <wm4@nowhere>

input: don't emit command when using multiple mouse buttons at once

This is for key bindings that use multiple mouse buttons at once. (Yes,
this is weird, but MPlayer always had this feature, and apparently
there are people using it!)

Before this commit, clicking another mouse button while still holding
the previous mouse button forced the command bound to the previous
mouse button to be emitted. This is usually needed to make sure the
input consumer (the player and the OSC) stays in sync with the actual
mouse button state. If there's no command sent, the OSC in particular
would think the button is still held down. However, sending the command
is undesired behavior if you want to use these multiple-key binds.

Solve this by emitting commands in this situation only if a key down
command was sent earlier. Since mouse button key bindings are normally
executed on key-up only, this happens with special commands like
script_dispatch only (used by the OSD to track mouse buttons, but
also used for other OSC bindings).

See github issue #390.

228b652... by wm4 <wm4@nowhere>

ao_oss: SNDCTL_DSP_CHANNELS takes int, not uint8_t

This caused weird issue, probably caused by setting up the wrong number
of channels, or similar. See github issue #383.

Patch by bugmen0t on github.

20e08ac... by wm4 <wm4@nowhere>

vf_pullup: properly reset on seek

Sometimes, vf_pullup hanged on seek. This was because it never was
properly reset. Old timestamps messed up the timestamp calculations,
which made the player show frames for a ridiculously long time, which is
perceived as pausing or hanging.

93518bc... by wm4 <wm4@nowhere>

player: simple hack to make backstep code somewhat more robust

The hr-seek code assumes that when seeking the demuxer, the first image
decoded after the seek will have a PTS exactly equal to the demuxer seek
target time, or before that target time. Incorrect timestamps,
implicitly dropped initial frames, or broken files/demuxers can all
break this assumption, and lead to hr-seek missing the seek target.

Generally, this is not much a problem (the user won't notice being off
by one frame), but it really shows when using the backstep feature. In
this case, backstepping would simply hang.

Add a simple hack that basically forces a minimal value for the --hr-
seek-demuxer-offset option (which is 0 by default) when doing a
backstep-seek. The chosen minimum value is arbitrary. There's no perfect
value, though in general it should perhaps be slightly longer than the
frametime, which the chosen value is more than enough for typical
framerates.

Conflicts:
 mpvcore/player/playloop.c

3888526... by Stefano Pigozzi <email address hidden>

ao_coreaudio: simplify ch label to speaker id conversion

Previous code was using the values of the AudioChannelLabel enum directly to
create the channel bitmap. While this was quite smart it was pretty unreadable
and fragile (what if Apple changes the values of those enums?).

Change it to use a 'dumb' conversion table.

485c658... by Stefano Pigozzi <email address hidden>

old-build: fix iconv check on openbsd

b9585e5... by wm4 <wm4@nowhere>

af_lavi: actually free the filter graph on uninit

This was a memory leak.

Also remove the AF_CONTROL_COMMAND_LINE code, which was inactive. (It's
never called if the new option parser is used.)

a9858ab... by Stefano Pigozzi <email address hidden>

ao_coreaudio: map channel labels needed for 8ch layouts

The code stopped at kAudioChannelLabel_TopBackRight and missed mapping for
5 more channel labels. These are in a completely different order that the mpv
ones so they must be mapped manually.