Jean-Paul Saman [Wed, 21 Dec 2011 10:16:27 +0000 (11:16 +0100)]
stream_filter/httplive.c: fix EXT-X-MEDIA-SEQUENCE error message for HLS live streams.
The error message "EXT-X-MEDIA-SEQUENCE already present in playlist (new=%d, old=%d)" was
triggered way to often for HLS live streams. In addition the new metadata from a new HLS
playlist was not updated in the internal list.
Martin Storsjö [Mon, 19 Dec 2011 15:03:04 +0000 (17:03 +0200)]
omxil: Don't free the sentinel buffers
These buffers aren't known to the actual OMX codec.
Normally, these buffers are removed from the queue by
DecodeAudio/DecodeVideo, but if they're pushed multiple
times (which happens when using google sw decoders),
PortReconfigure might try to free them.
Martin Storsjö [Mon, 19 Dec 2011 15:03:03 +0000 (17:03 +0200)]
omxil: Handle sentinel buffers in DecodeAudio, too
These buffers were introduced to avoid a potential deadlock
when the codec has issued a PortSettingsChanged event but
not returned any buffers to the client, making the DecodeVideo
function hang waiting for an input buffer to use, before
handling the reconfigure. The same handling needs to be done
for DecodeAudio too, otherwise it will try to use the
sentinel buffer as a normal one.
Martin Storsjö [Mon, 19 Dec 2011 15:03:00 +0000 (17:03 +0200)]
omxil: Try to enable YUV420p mode on Samsung Galaxy S II
This is similar to the ThumbnailMode on Nexus S, except that
the index doesn't seem to be queryable dynamically
(I don't seem to find any string in the binaries that
would be the right one at least).
Chris Clayton [Sat, 17 Dec 2011 23:00:47 +0000 (23:00 +0000)]
UPNP: Fix a tag name in MediaServer xml parsing
According to http://upnp.org/specs/av/UPnP-av-MediaServer-v1-Device.pdf, the tag name of the element
that provides the base URL for relative URLs is "URLBase". The same is true for a v2 MediaServer.
Make it so in MediaServer:: parseDeviceDescription().
Cheng Sun [Thu, 15 Dec 2011 17:10:52 +0000 (17:10 +0000)]
Fix stack overflow in ExecuteCommand
Close #5675
Because ExecuteCommand allocates temporary string space on the stack,
proportional to the length of the command to execute, a stack overflow can
occur when the the command is too long.
This can be triggered remotely e.g. from the VLC Web interface, by
running this JavaScript:
Martin Storsjö [Fri, 16 Dec 2011 21:47:06 +0000 (23:47 +0200)]
omxil: Use a fake library name when loading IOMX
The iomx loading stub doesn't use the library name.
If there's errors in loading the function pointers, this
gives slightly more correct error messages.
Martin Storsjö [Fri, 16 Dec 2011 21:47:05 +0000 (23:47 +0200)]
android: Don't add private header include directories when building the full VLC tree
These aren't necessary any longer.
The approach of adding private headers to the build of the VLC
core doesn't work well if one wants to target multiple private
ABI versions in one build.
Instead, small shared libraries for each private ABI version
can be built separately.
Martin Storsjö [Fri, 16 Dec 2011 21:47:04 +0000 (23:47 +0200)]
omxil: Remove the header check for the iomx module
Building the iomx version of the omxil module itself doesn't
require the private headers any longer, they're only necessary
when building the iomx wrapper code (which should be built by the
NDK makefile instead).
Martin Storsjö [Fri, 16 Dec 2011 21:47:03 +0000 (23:47 +0200)]
omxil: Build the iomx wrapper code as a separate shared library
The separate shared library needs to be loaded into the process
before using the iomx module, preferrably by the java part
of the android application.
This allows building the iomx glue code for a number of different
ABI versions, and additionally avoids linking the main VLC
library to any private symbols that might make it unloadable.
Cheng Sun [Sat, 17 Dec 2011 21:22:11 +0000 (21:22 +0000)]
Fix QToolButtonExt edge cases
Previously QToolButtonExt had some undesirable edge case behaviour.
Firstly, once the user presses down on a QToolButtonExt there is no
way to cancel the action; either a short or a long click will be
generated. Compare this to a normal button, which can be cancelled by
releasing the mouse outside of the button area.
Secondly, with the mouse button held down, moving the mouse in and out
of the button area will generate multiple short click events, when no
event at all is desired.
This patch corrects this: by releasing the mouse outside the button area
no event is generated; additionally no short click events are generated
simply by moving the depressed mouse in and out of the button.
Only ignores triplets in the root contrib path. Previous
implementation had the potential to ignore triplets in the
subfolders.
This will allow for creating:
1) Patches using this format (e.g. contrib/src/*/track-me-now.patch).
2) Subfolders beneath contrib's root (but not in contrib itself)
(e.g. contrib/src/track-me-now/*).
Ludovic Fauvet [Thu, 15 Dec 2011 00:21:13 +0000 (01:21 +0100)]
Qt: fix an utf8 encoding issue in the recents menu
The MRL received from a drag & drop was not converted correctly to an
URI (using toURI) before being saved into the configuration. This was
causing multi bytes characters to be serialized in UTF8 (\x????) and be
given as-is to decode_URI which is not able to decode them.
Close #5662
contrib: use 32-bits LUAC file format on all platforms
In other words, 64-bits platform will support 32-bits LUAC files and
reject 64-bits LUAC files when using contribs.
This should ease cross-compilation and copying luac files manually.