Ilkka Ollakka [Sun, 28 Mar 2010 11:36:52 +0000 (14:36 +0300)]
lua http interface: add clumsy current-detection in playlist.xml request
Not really nice looking or anything, but I'm not that familiar with lua.
Also not sure if comparing paths/uris is the way, didn't spot any way to
get same id from both of those (or missed something trivial).
Jakob Leben [Sat, 27 Mar 2010 21:24:50 +0000 (22:24 +0100)]
Qt: make ground for proper main interface size management
- Simplify switching between widgets in central stack: showTab() allows
switching only between two states - video state and playlist state - and
does everything needed according to circumstances
- Do not setMinimumWidth/Height/Size() on main interface, because it
inhibits children sizeHint() evaluation, thus preventing interface
self-adjustment when controls are added/removed or shown/hidden.
- Subclass QStackedWidget so it's minimumSizeHint() matches exactly
the one of the currentWidget(), and not the sum of all children.
- Suggest compact mode implementation (commented out for now):
setSizeConstraint( QLayout::SetFixedSize ) on main interface layout.
This automatically keeps and adjusts fixed size in respect to
sizeHint() of children.
If kfilemodule is loaded, bypass run cleanup handlers. Library really
should not use this C feature in any case (IMHO). And I find it
outright idiotic for a (Qt4) plugin to use cleanup handlers.
This is causing so many crash reports that it's not funny anymore:
https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/408719
The decompression process needs to "see" the end-of-file. Otherwise
it might get stuck, and then the demux thread will get stuck too.
Closing the write end of the pipe to the compression process fixes
that.
Alex Converse [Wed, 24 Mar 2010 04:08:53 +0000 (00:08 -0400)]
Add support for MPEG-4 ALS to the MP4 demuxer and FFmpeg wrapper.
MPEG-4 ALS is a pure losses audio codec from MPEG. Like other MPEG-4
Audio variants it's muxed into the MP4 container with Object Type
Indication 0x40 followed by its Audio Object Type (36).
Fixes #3364 (big bug on buttons)
It is not possible to click the same button twice in a row (while the
script is actually running), but other buttons can be clicked.
Erwan Tulou [Fri, 19 Mar 2010 10:39:37 +0000 (11:39 +0100)]
skins2: For playlist controls, keys to be forwarded to vlc core
the playlist control entirely redefines key processing (arrows, enter, ...).
Yet, for keys not processed, forwarding them to vlc core is desirable.
For instance, that enables n(ext) and p(revious) when focus is on the playlist,
which is something users can expect to be working.
Jean-Paul Saman [Mon, 15 Mar 2010 12:26:25 +0000 (13:26 +0100)]
activex: Fix heap corrumption on Async event delivery
The heap corruption occured when events returned a value. Since the events cross COM boundaries,
the values returned should be allocated in COM context too. Allocating the memory with CoMemTaskAlloc()
should be used instead of new or malloc().
Jean-Paul Saman [Wed, 17 Feb 2010 22:35:12 +0000 (23:35 +0100)]
activex: implement async events handling for JavaScript
Events that do not originate from within the ActiveX JS context (which is a COM context)
cannot cross into ActiveX/COM context. All events received from libvlc are in a different
thread context then the ActiveX/COM code. Thus from a libvlc event handler callback it is
not possible to call into the ActiveX/COM context.
To solve this issue a seperate thread is created that manages sending of all events for
the ActiveX webplugin (including events from libvlc). All events are by default routed
through the GlobalInterfaceTable (GIT) which takes care ActiveX/COM calls that cross
different thread context in the ActiveX/COM world.
Signed-off-by: Jean-Paul Saman <jean-paul.saman@m2x.nl>
Gildas Bazin [Tue, 16 Mar 2010 01:06:11 +0000 (01:06 +0000)]
codec/omxil: OMAP3430 only supports h264 baseline profile up to level 3.0. We now reject anything else as the codec gets confused otherwise.
Also changed the priority so that this module is now the default video codec on Maemo.
Felix Paul Kühne [Mon, 15 Mar 2010 13:23:08 +0000 (14:23 +0100)]
VLCKit: fixed typo which prevented the creation of re-distributable bundles and added the libvlc headers to the project file (not distributed in any target)