Commit Graph

52611 Commits

Author SHA1 Message Date
Rémi Denis-Courmont 59a6c9693c libvlc_media_tracks_get: use unsigned as applicable 2013-02-12 22:52:48 +02:00
Martin Storsjö cd5345a000 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>
2013-02-12 22:49:40 +02:00
Mario Speiß a17f1b372f Contribs: update pthreads to 2.9.1
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2013-02-12 18:41:56 +01:00
Jean-Baptiste Kempf ef24315035 MSI: make it depend on package-win-strip 2013-02-12 17:52:22 +01:00
Rafaël Carré c3bc86c1c3 packagemsi: rename target to be consistent with package-win32 2013-02-12 17:17:16 +01:00
Ludovic Fauvet 3fde8c359d Win32: MSI package
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2013-02-12 17:08:04 +01:00
Martin Storsjö bbf8c217d9 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>
2013-02-12 11:53:34 +02:00
Ilkka Ollakka 356c37db5d opengl: on manual unpacking use picture visible width for calculations, fixes some mov-samples 2013-02-12 11:18:13 +02:00
Ilkka Ollakka e3750c979b 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.
2013-02-12 11:18:07 +02:00
Denis Charmet cccbf3655e Remove trailing space line 2013-02-12 09:47:30 +01:00
Rafaël Carré eeb932db84 androidsurface: explain how how picture is rendered 2013-02-12 08:13:09 +01:00
Erwan Tulou da5c34b4a5 skins2: don't default the first visible item to selected
This proves ugly when changing skins
2013-02-11 23:48:07 +01:00
Denis Charmet 0fafbb8758 Free unused resources when using linked mkvs 2013-02-11 23:20:42 +01:00
Vittorio Giovara 062b886122 Add gui option one libav/ffmpeg flag2 parameter
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2013-02-11 21:57:45 +02:00
Martin Storsjö 38bca92789 omxil: Skip padding with OMX.SEC.vc1.dec as well
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-02-11 21:24:38 +02:00
Erwan Tulou 8849094710 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
2013-02-11 17:47:51 +01:00
Francois Cartegnie a863be5909 Qt: SeekSlider: SeekStyle: fix memleak 2013-02-11 17:06:47 +01:00
Mario Speiß 934eee8ce7 DnD from Internet Explorer to VLC and support of links (*.lnk)
On Windows a Drag and Drop seems to be a Qt::LinkAction. And support for
symbolic links is added.

Playlist widget now uses the p_mi->dropEvent (used to have two implementation,
one calling p_mi->dropEvent already, the other had its own body. That body is
removed)

Regards,
Mario

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2013-02-11 01:34:37 +01:00
David Fuhrmann 7b621263ee macosx: update copyright headers for some recently changed files 2013-02-10 20:16:06 +01:00
David Fuhrmann 8f38f673a4 macosx: fix another wrong occurrence of the fspanel 2013-02-10 20:16:06 +01:00
Felix Paul Kühne 1c7a47c629 opengl: update author lists 2013-02-10 16:46:46 +01:00
Felix Paul Kühne f071d8da8a macosx_vout: update author list 2013-02-10 16:46:46 +01:00
Rémi Denis-Courmont 7b8083d228 Revert "Emit a fullscreen toggle action on double click"
This reverts commit 96824f0c8d.
This hack is not needed anymore.
2013-02-10 12:25:14 +02:00
David Fuhrmann 77733e5ec5 mouse wheel handling: fix left / right scrolling events
scrolling right should set position forwards, not backwards
2013-02-10 10:19:49 +01:00
Rafaël Carré b3e62f0366 dvdnav/dvdread: run autoreconf
autogen.sh does not exist anymore
2013-02-09 23:54:55 +01:00
David Fuhrmann 0d5f65dea9 macosx: update fullscreen menu item checkbox according to vout fullscreen variable 2013-02-09 18:44:41 +01:00
David Fuhrmann c046b5ce44 macosx: allow again to select lion fullscreen and nonembedded windows in simple prefs 2013-02-09 18:44:41 +01:00
David Fuhrmann e3767037cb macosx: directly toggle vout fullscreen variable to support multiple windows in fullscreen 2013-02-09 18:44:40 +01:00
David Fuhrmann 13882691dd macosx: also hide mouse cursor when detached window is in fullscreen 2013-02-09 18:44:40 +01:00
David Fuhrmann 20c4f1a92d macosx: fix closing detached windows when in lion fullscreen 2013-02-09 18:44:39 +01:00
David Fuhrmann b04f1e544e macosx: only show fspanel when needed, additional fixed for lion fullscreen behavior 2013-02-09 18:44:39 +01:00
David Fuhrmann 60eba2be7b macosx: support multiple VLC windows in fullscreen, try to just display fspanel when sensible
This allows main window and video window in fullscreen
Note that still the fspanel is displayed to often.
2013-02-09 18:44:39 +01:00
David Fuhrmann 4fdb3cc96f macosx: add lion fullscreen support for detached windows 2013-02-09 18:44:38 +01:00
Jean-Baptiste Kempf b302bf06bc iOS: no tabs, in source-code 2013-02-09 16:23:52 +01:00
Rafaël Carré 5182f4f564 androidsurface: simplify dlopen code 2013-02-09 15:06:08 +01:00
Rafaël Carré aa03764141 androidsurface: cosmetics 2013-02-09 15:06:07 +01:00
Gleb Pinigin d76a2ff321 ios vout: Avoid opengles1.1 naming convention for 2.0 version
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
2013-02-09 12:57:08 +01:00
Erwan Tulou b990bc7105 skins2: fix memory leak 2013-02-09 09:31:01 +01:00
Erwan Tulou af7899e86b skins2: ensure that skins2 displays items exactly as qt4 does
This patch copies qt4 getTitle function so that user can read the same
wording from skins2 as he/she reads from the qt4 interface.
2013-02-09 09:31:01 +01:00
Felix Paul Kühne ff71cffb9f NEWS: mention OpenGL ES shader support and fix some typos 2013-02-09 01:33:09 +01:00
Felix Paul Kühne a05abe54b3 opengl: remove debug 2013-02-08 22:56:58 +01:00
Felix Paul Kühne 600e3d650c opengl: save a few #if since those are valuable 2013-02-08 22:55:20 +01:00
Felix Paul Kühne 2aecbd24fb opengl: protect precision settings, since current OS X OpenGL implementations don't support it (yet) 2013-02-08 22:45:16 +01:00
Ilkka Ollakka 3422455f7e opengl: implement manual unpacking for OpenGL ES
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
2013-02-08 22:44:15 +01:00
Felix Paul Kühne eae547f48b opengl: fix compilation for OS X 2013-02-08 21:41:51 +01:00
Denis Charmet af8c1f6535 Handle case where dwFormat is WAVE_FORMAT_EXTENSIBLE 2013-02-08 21:37:48 +01:00
Felix Paul Kühne b5cf1c1e04 opengl: fixed shader support for iOS
note that certain samples are not supported so far
2013-02-08 21:36:11 +01:00
Felix Paul Kühne 6c648e41cf vout_ios: use OpenGL ES 2 for rendering 2013-02-08 21:36:06 +01:00
Felix Paul Kühne d705a6f006 opengl: use OpenGL ES 2 on iOS and fix a compilation warning 2013-02-08 18:35:04 +01:00
Felix Paul Kühne 91f7ead257 vout_ios: use a 32bit color scheme 2013-02-08 18:02:24 +01:00