Pierre Ynard [Fri, 4 Jun 2010 16:51:09 +0000 (18:51 +0200)]
youtube.lua: support WebM formats
We parse the additional HTML5 section too, the only place where the
WebM formats are listed. If the URL contains "&html5=True", the WebM
formats are preferred, when available.
Qt4: do not set fullscreen window on top (fixes #3712)
Normally, the window will go on top of the stack of normal windows
anyway. If not, we may need to force this, which is different from
always-on-top in any case.
Known issue: toggling video on top while in fullscreen is not
implemented yet.
This saves a few mutexes, but it does not really solve gcrypt
reentrancy. gcry_control() should only be called once for all per copy
of gcrypt in the memory. This is hard to conciliate with dlopen().
Kai Lauterbach [Thu, 3 Jun 2010 17:21:52 +0000 (19:21 +0200)]
atmo: add support for Fnordlicht devices
The Fnordlicht-Class implements only parts of the fnordlicht-protocol:
sync, stop, start_bootloader, boot_enter_application and fade_rgb
Have a look at http://github.com/fd0/fnordlicht/raw/master/doc/PROTOCOL
for more details.
It will be hard to convince all Mozilla plugins-capable browsers to
call XInitThreads() early enough, if it ever happens. In the mean time,
make sure we use only pure XCB and avoid Xlib in VLC plugins.
Note: I did not check that the web plugins itself was not using Xlib
outside the main Mozilla browser thread.
This should fix #3662. We loose GLX and PulseAudio inside Mozilla.
--no-xlib: prevent use of XInitThreads() and hence Xlib
Certain LibVLC applications fail to call XInitThreads() before they
call XOpenDisplay(). Then VLC calls XInitThreads(). Then the
applications call XCloseDisplay(), which raises a segmentation fault.
In this case, Xlib tries acquire lock that was never created as the
Display ppinter was created before threaded Xlib mode was enabled.
These applications can now pass --no-xlib to libvlc_new(). This will
prevent any VLC Xlib-based plugin from being used. Currently, this
affects interfaces (not really an issue), PulseAudio (until Colin's
patch is merged upstream) and GLX (Xlib-based by design).
This freeze happened only on Windows (tested on XP & Wine), but not on
Linux. If I only moved up the "killInstance()" line, then the freeze
would happen only on Linux but not on Windows.
In these cases the QDialog's destructor never returned.
To open skins, you have to use a special command, thus a different
ShellAssociation.
Entries are not selected by default (as they may be associated to
the VLC Skin Editor)
Sebastian Birk [Wed, 2 Jun 2010 09:19:06 +0000 (11:19 +0200)]
playlist: modified playlist_NodeCreate()
The passed flags in the variable i_flags are now applied to the new node.
This solves bug ticket #3690, where it was possible to delete the "Playlist" and
"Media Library" nodes, since the read-only flag was not set for them.
XCB/XVideo: support parent window with ARGB visual (refs #3581)
X11 inherits properties from the parent window by default. XVideo does
not (typically) like ARGB visuals. To create plain RGB window on an ARGB
window, we need to force the color map, background and border parameters
to non-ARGB values.
There is one remaining problem to enable ARGB support in Qt4: the Qt4
video widget has a transparent background by default. This is inadequate
in fullscreen mode.
Kai Lauterbach [Tue, 1 Jun 2010 19:26:36 +0000 (21:26 +0200)]
atmo: add support for new device fnordlicht
Fnordlicht - is a serial device with up to four channels
- http://github.com/fd0/fnordlicht/raw/master/doc/PROTOCOL
- http://github.com/fd0/fnordlicht/
Jai Menon [Mon, 31 May 2010 13:42:58 +0000 (19:12 +0530)]
SPUDEC : Bump up the capability value for the native decoder. This will be useful in the case where we want to selectively enable DVD subtitle decoding through libavcodec, but override it by default.
As the "descriptor" function is called with absolutely no libraries
loaded, even the built-in "require" function is not present at scan
time.
This closes #3453.
Note: this is a bit of a hack, but I prefer not to load any libs when
scanning the available extensions
Qt4: only reset main interface window flags if needed
Unfortunately, according to the Qt4 documentation, changing the window
flags hides the window (until show() is called). So I guess there is no
way to toggle the on-top mode without the ugly blinking effect. Then,
try to minimize its occurences.
Laurent Aimar [Sun, 30 May 2010 12:44:17 +0000 (14:44 +0200)]
Added vout_display_info_t::has_event_thread.
If false, the vout core will use a thread to dispatch key events.
It reimplement [cb72d26f0825b31fd10af18a03763b41067cfe37] using a bit less code
and by adding support for multiple keys pressed in a row.
The thread is created only if needed.