Qt: SeekSlider: SeekStyle: fix memleak
skins2: improve short name display ($N)

This patch reuses the same algorithm to display a short name ($N) as the one
used to display the playlist.

This should fix an issue described at http://forum.videolan.org/viewtopic.php?f=15&t=108336
omxil: Skip padding with OMX.SEC.vc1.dec as well

Signed-off-by: Martin Storsjö <martin@martin.st>
Add gui option one libav/ffmpeg flag2 parameter

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Free unused resources when using linked mkvs
skins2: don't default the first visible item to selected

This proves ugly when changing skins
androidsurface: explain how how picture is rendered
Remove trailing space line
opengl: check GL_UNPACK_ROW_LENGTH instead of OPENGL_ES

This way we don't need to define dummy GL_UNPACK_ROW_LENGHT for opengl es
compiles.
opengl: on manual unpacking use picture visible width for calculations, fixes some mov-samples
omxil: Use vlc_cond_timedwait when waiting for free input buffers

The structure of the decode functions are like this:

Decode() {
    if (got output buffer) {
        consume output buffer;
    }
    wait for input buffer;
    if (got input buffer) {
        fill input buffer and send to the codec;
    }
}

This makes the functions prone to deadlock, if all input buffers
have been consumed and won't be returned by the codec until we
consume some of the output buffers (and we don't get the output
buffers until we already are waiting for an input buffer).

By using a timeout in the wait for input buffers, we get out of the
deadlock and can consume an output buffer, allowing the codec to
proceed. By making the timeout relatively large, it won't trigger
during normal decoding, but gets us out of possible deadlocks
(noticed at startup with qualcomm audio decoders).

The alternative to timeouts would be to push dummy/sentinel buffers
into the fifo (as we already do at reconfiguration) each time we
receive an output buffer. This would add quite a bit of overhead
though, having to process (and skip) one item in the input buffer
fifo for each received output buffer.

Signed-off-by: Martin Storsjö <martin@martin.st>
Win32: MSI package

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
packagemsi: rename target to be consistent with package-win32
MSI: make it depend on package-win-strip
Contribs: update pthreads to 2.9.1

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
libvlc: Add a new more extensible struct libvlc_media_track_t

Due to the way this struct is allocated, it can be extended later
without breaking ABI.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
libvlc_media_tracks_get: use unsigned as applicable
NEWS: speak about new libvlc_*tracks* methods
macosx: fix behaviour when changing video splitters on the fly
remove false comment