]> git.sesse.net Git - vlc/log
vlc
14 years agoyoutube.lua: remove old broken break
Pierre Ynard [Fri, 4 Jun 2010 17:10:11 +0000 (19:10 +0200)]
youtube.lua: remove old broken break

We don't want that anymore anyway

14 years agoyoutube.lua: support WebM formats
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.

14 years agoQt4: do not set fullscreen window on top (fixes #3712)
Rémi Denis-Courmont [Fri, 4 Jun 2010 15:15:45 +0000 (18:15 +0300)]
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.

14 years agoyoutube.lua: fetch HD videos when available by default
Pierre Ynard [Fri, 4 Jun 2010 14:19:14 +0000 (16:19 +0200)]
youtube.lua: fetch HD videos when available by default

This also saves one HTTP redirect

14 years agoqt4: don't hardcode fontsize in epgitem
Ilkka Ollakka [Fri, 4 Jun 2010 13:27:00 +0000 (16:27 +0300)]
qt4: don't  hardcode fontsize in epgitem

14 years agoCompilation fix.
Laurent Aimar [Thu, 3 Jun 2010 21:54:04 +0000 (23:54 +0200)]
Compilation fix.

14 years agoAdded missing subpicture_Update.
Laurent Aimar [Thu, 3 Jun 2010 21:04:42 +0000 (23:04 +0200)]
Added missing subpicture_Update.

14 years agoFix missing lock in 440126cfb7322950d14f7029dd424c4f4bd41ad
Rémi Denis-Courmont [Thu, 3 Jun 2010 21:10:35 +0000 (00:10 +0300)]
Fix missing lock in 440126cfb7322950d14f7029dd424c4f4bd41ad

14 years agoProtect XInitThreads() with a global lock
Rémi Denis-Courmont [Thu, 3 Jun 2010 20:55:27 +0000 (23:55 +0300)]
Protect XInitThreads() with a global lock

14 years agogcrypt: use vlc_global_mutex
Rémi Denis-Courmont [Thu, 3 Jun 2010 20:29:35 +0000 (23:29 +0300)]
gcrypt: use vlc_global_mutex

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().

14 years agoavcodec: use vlc_global_mutex
Rémi Denis-Courmont [Thu, 3 Jun 2010 20:29:24 +0000 (23:29 +0300)]
avcodec: use vlc_global_mutex

14 years agovlc_global_mutex: common functions for process-wide mutexes
Rémi Denis-Courmont [Thu, 3 Jun 2010 20:25:31 +0000 (23:25 +0300)]
vlc_global_mutex: common functions for process-wide mutexes

14 years agoCalled XInitThreads in vaapi.
Laurent Aimar [Thu, 3 Jun 2010 18:59:13 +0000 (20:59 +0200)]
Called XInitThreads in vaapi.

14 years agoCheck "xlib" before trying vaapi.
Laurent Aimar [Thu, 3 Jun 2010 18:57:47 +0000 (20:57 +0200)]
Check "xlib" before trying vaapi.

14 years agoMoved generic subpicture code to its own file.
Laurent Aimar [Mon, 31 May 2010 18:28:55 +0000 (20:28 +0200)]
Moved generic subpicture code to its own file.

14 years agoatmo: updated README.txt for Fnordlicht, added author to THANKS
André Weber [Thu, 3 Jun 2010 17:31:40 +0000 (19:31 +0200)]
atmo: updated README.txt for Fnordlicht, added author to THANKS

14 years agolibvlc_set_*_input also works on Win32 nowadays
Rémi Denis-Courmont [Thu, 3 Jun 2010 18:26:10 +0000 (21:26 +0300)]
libvlc_set_*_input also works on Win32 nowadays

14 years agoatmo: add support for Fnordlicht devices
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.

Signed-off-by: André Weber <atmo@videolan.org>
14 years agoQT4: Connect INPUT_EVENT_ITEM_EPG to update epg-widget via inputmanager
Ilkka Ollakka [Thu, 3 Jun 2010 15:59:51 +0000 (18:59 +0300)]
QT4: Connect INPUT_EVENT_ITEM_EPG to update epg-widget via inputmanager

Now epg-content should update automaticly when user changes channel etc.

14 years agocontribs: update gettext to 0.18
Christophe Mutricy [Thu, 20 May 2010 19:03:30 +0000 (21:03 +0200)]
contribs: update gettext to 0.18

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
14 years agoContribs: update Qt for win32 to 4.6.2
Jean-Baptiste Kempf [Wed, 2 Jun 2010 23:44:37 +0000 (01:44 +0200)]
Contribs: update Qt for win32 to 4.6.2

Compiling qt on win32 is still long and painful

14 years agoTypo
Christophe Mutricy [Wed, 2 Jun 2010 22:01:27 +0000 (23:01 +0100)]
Typo

14 years agox264: use x264_picture_init from X264_BUILD >= 98
Ilkka Ollakka [Wed, 2 Jun 2010 20:10:51 +0000 (23:10 +0300)]
x264: use x264_picture_init from X264_BUILD >= 98

14 years agoluahttp: use the same options as the http interface.
Rémi Duraffort [Wed, 2 Jun 2010 19:49:35 +0000 (21:49 +0200)]
luahttp: use the same options as the http interface.

Nnot every options are implemented right now, only the most wanted.

14 years agoLua: new script Allocine (France)
Jean-Philippe André [Wed, 2 Jun 2010 19:22:25 +0000 (03:22 +0800)]
Lua: new script Allocine (France)

This extension is in French only.
A german version may appear soon.

14 years agoimdb.lua: Redesign, fix some bugs
Jean-Philippe André [Wed, 2 Jun 2010 19:15:46 +0000 (03:15 +0800)]
imdb.lua: Redesign, fix some bugs

14 years agoMozilla: use --no-xlib
Rémi Denis-Courmont [Wed, 2 Jun 2010 18:36:53 +0000 (21:36 +0300)]
Mozilla: use --no-xlib

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.

14 years ago--no-xlib: prevent use of XInitThreads() and hence Xlib
Rémi Denis-Courmont [Wed, 2 Jun 2010 18:30:49 +0000 (21:30 +0300)]
--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 will be necessary to address #3662.

14 years ago--glx-display is also merged with --x11-display
Rémi Denis-Courmont [Wed, 2 Jun 2010 18:24:47 +0000 (21:24 +0300)]
--glx-display is also merged with --x11-display

14 years agoExtensions: fix Qt freeze when reloading scripts
Jean-Philippe André [Wed, 2 Jun 2010 16:47:34 +0000 (00:47 +0800)]
Extensions: fix Qt freeze when reloading scripts

Description of the bug:

 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.

14 years agoHttp interface VLC_OBJECT_VLC has been replaced by VLC_OBJECT_LIBVLC.
Christian Masus [Wed, 2 Jun 2010 16:30:34 +0000 (18:30 +0200)]
Http interface VLC_OBJECT_VLC has been replaced by VLC_OBJECT_LIBVLC.

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
14 years agoqt4: use slower and better scaling on albumart-label
Ilkka Ollakka [Wed, 2 Jun 2010 15:12:58 +0000 (18:12 +0300)]
qt4: use slower and better scaling on albumart-label

We could use QPixmapCache here too, but I don't think it speeds up it
any noticeable way, just makes code littlebit longer.

14 years agoPackage Win32: add .vlt and .wsz extensions
Jean-Philippe André [Tue, 1 Jun 2010 16:34:33 +0000 (00:34 +0800)]
Package Win32: add .vlt and .wsz extensions

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)

14 years agoSkins2: remove skins demux
Jean-Philippe André [Tue, 1 Jun 2010 16:14:08 +0000 (00:14 +0800)]
Skins2: remove skins demux

As pointed by Rémi, only medias should be "openable" in VLC.

14 years agoSkins2: check if file exists, not folder
Jean-Philippe André [Tue, 1 Jun 2010 16:07:23 +0000 (00:07 +0800)]
Skins2: check if file exists, not folder

Note: it looks like vlc_stat("C:") returns an error (Windows)

14 years agoRevert "Zip filter: skip .vlt & .wsz (skins)"
Jean-Philippe André [Tue, 1 Jun 2010 16:07:05 +0000 (00:07 +0800)]
Revert "Zip filter: skip .vlt & .wsz (skins)"

This reverts commit 80bd960092525f0af649881ccb6081da1eea4d04.

14 years agoRevert "Decomp filter: skip .vlc & .wsz files (skins)"
Jean-Philippe André [Tue, 1 Jun 2010 16:06:53 +0000 (00:06 +0800)]
Revert "Decomp filter: skip .vlc & .wsz files (skins)"

This reverts commit 3acea6444dca179ef35358917b8595e02beeb0e3.

14 years agoRevert "Skins: "file" shortcut for skins access_demux (& decode URI)"
Jean-Philippe André [Tue, 1 Jun 2010 16:05:56 +0000 (00:05 +0800)]
Revert "Skins: "file" shortcut for skins access_demux (& decode URI)"

This reverts commit 117c94235c96a5927592398ec13f8ce3d8a58a36.

14 years agoFix obvious typo lost in a git warp.
Jean-Baptiste Kempf [Wed, 2 Jun 2010 10:01:21 +0000 (12:01 +0200)]
Fix obvious typo lost in a git warp.

Sorry

14 years agoepg: remove the external channels widget
Ludovic Fauvet [Wed, 2 Jun 2010 09:06:05 +0000 (11:06 +0200)]
epg: remove the external channels widget

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
14 years agoepg: add an overlay containing the channels list
Ludovic Fauvet [Wed, 2 Jun 2010 09:00:29 +0000 (11:00 +0200)]
epg: add an overlay containing the channels list

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
14 years agoepg: highlight ongoing programs in the epg view
Ludovic Fauvet [Sat, 6 Mar 2010 12:55:48 +0000 (13:55 +0100)]
epg: highlight ongoing programs in the epg view

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
14 years agoepg: remove debug in epg
Ludovic Fauvet [Sat, 6 Mar 2010 12:45:07 +0000 (13:45 +0100)]
epg: remove debug in epg

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
14 years agoplaylist: modified playlist_NodeCreate()
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.

14 years agovod_rtsp: C99 for loop iterator declarations
Pierre Ynard [Wed, 2 Jun 2010 04:07:28 +0000 (06:07 +0200)]
vod_rtsp: C99 for loop iterator declarations

14 years agoWin7: new buttons for taskbar
Jean-Baptiste Kempf [Tue, 1 Jun 2010 21:30:59 +0000 (23:30 +0200)]
Win7: new buttons for taskbar

14 years agoDo not disable X11 ARGB visuals (fixes: #3581)
Rémi Denis-Courmont [Tue, 1 Jun 2010 21:11:38 +0000 (00:11 +0300)]
Do not disable X11 ARGB visuals (fixes: #3581)

The XVideo and X11 outputs can cope with this properly now

14 years agoXCB/X11: rework and fix color depth selection
Rémi Denis-Courmont [Tue, 1 Jun 2010 20:56:29 +0000 (23:56 +0300)]
XCB/X11: rework and fix color depth selection

14 years agoXCB/X11: support different color depth than parent window (refs #3581)
Rémi Denis-Courmont [Tue, 1 Jun 2010 20:55:00 +0000 (23:55 +0300)]
XCB/X11: support different color depth than parent window (refs #3581)

14 years agoRevert "atmo: add support for new device fnordlicht"
André Weber [Tue, 1 Jun 2010 19:36:45 +0000 (21:36 +0200)]
Revert "atmo: add support for new device fnordlicht"
source contained tabs, will commit again later (sorry for any trouble)

This reverts commit 1af1e3b16f2c70d802e5155efd38823756ca1be9.

14 years agoXCB/XVideo: support parent window with ARGB visual (refs #3581)
Rémi Denis-Courmont [Tue, 1 Jun 2010 20:10:52 +0000 (23:10 +0300)]
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.

14 years agoatmo: add support for new device fnordlicht
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/

Signed-off-by: André Weber <atmo@videolan.org>
14 years agoavcodec: adjust encoders vp8 defaults littlebit
Ilkka Ollakka [Tue, 1 Jun 2010 18:20:20 +0000 (21:20 +0300)]
avcodec: adjust encoders vp8 defaults littlebit

14 years agoSynchronize NEWS
Jean-Baptiste Kempf [Tue, 1 Jun 2010 17:24:06 +0000 (19:24 +0200)]
Synchronize NEWS

14 years agoSynchronise NEWS between 1.1 and master
Jean-Baptiste Kempf [Tue, 1 Jun 2010 17:14:52 +0000 (19:14 +0200)]
Synchronise NEWS between 1.1 and master

14 years agoQt: correctly forward wheeling events on Win32
Jean-Baptiste Kempf [Tue, 1 Jun 2010 14:26:51 +0000 (16:26 +0200)]
Qt: correctly forward wheeling events on Win32

Closes blocker #3262

14 years agoQt: fix 'leave fullscreen' menu
Jean-Baptiste Kempf [Tue, 1 Jun 2010 13:17:37 +0000 (15:17 +0200)]
Qt: fix 'leave fullscreen' menu

Close  #3700

14 years agovod_rtsp: fix scope of variables
Pierre Ynard [Tue, 1 Jun 2010 05:03:57 +0000 (07:03 +0200)]
vod_rtsp: fix scope of variables

14 years agovod_rtsp: cosmetics
Pierre Ynard [Tue, 1 Jun 2010 04:02:02 +0000 (06:02 +0200)]
vod_rtsp: cosmetics

Identation

14 years agoContribs: cleanup
Jean-Baptiste Kempf [Mon, 31 May 2010 23:47:11 +0000 (01:47 +0200)]
Contribs: cleanup

Remove unneeded old patches
Rename patche for consistency

14 years agoContribs: remove dead patches
Jean-Baptiste Kempf [Mon, 31 May 2010 23:39:30 +0000 (01:39 +0200)]
Contribs: remove dead patches

14 years agoContribs: update libdvdnav patches
Jean-Baptiste Kempf [Mon, 31 May 2010 23:32:42 +0000 (01:32 +0200)]
Contribs: update libdvdnav patches

Resolution and Win32 threads have been merged upstream

14 years agoos x: fix preferences to leave x264 preset/tune empty
Juho Vähä-Herttua [Mon, 31 May 2010 12:23:52 +0000 (15:23 +0300)]
os x: fix preferences to leave x264 preset/tune empty

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
(cherry picked from commit c521391d4c4a8bbcfed35e09705698099798efd9)

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
14 years agoOSX: fix a crash when the option-list finished by 0, like the new x264_nal_hrd
Juho Vähä-Herttua [Sun, 30 May 2010 07:47:53 +0000 (10:47 +0300)]
OSX: fix a crash when the option-list finished by 0, like the new x264_nal_hrd
(cherry picked from commit 64188f7809f44b9b74f94e07bbd0381b398a6afa)

Signed-off-by: Ilkka Ollakka <ileoo@iki.fi>
(cherry picked from commit 5fd7ef49bdd60d2d9b0c007426627313dec48366)

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
14 years agoSPUDEC : Bump up the capability value for the native decoder. This will be useful...
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.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
14 years agoDo not scan for subtitles files in the current dir for TS files
Rémi Denis-Courmont [Mon, 31 May 2010 13:31:35 +0000 (16:31 +0300)]
Do not scan for subtitles files in the current dir for TS files

This should work around #3547.

14 years agoSimplification (make_path always returns an absolute path)
Rémi Denis-Courmont [Mon, 31 May 2010 13:25:27 +0000 (16:25 +0300)]
Simplification (make_path always returns an absolute path)

14 years agoQt4 media info: show local file path instead of file:// URI
Rémi Denis-Courmont [Mon, 31 May 2010 13:13:08 +0000 (16:13 +0300)]
Qt4 media info: show local file path instead of file:// URI

This fixes #3626.

14 years agoSkins: "file" shortcut for skins access_demux (& decode URI)
Jean-Philippe André [Mon, 31 May 2010 05:44:57 +0000 (13:44 +0800)]
Skins: "file" shortcut for skins access_demux (& decode URI)

Without the shortcut, it is not possible to start the access_demux
for skins, as the full URL is set to file://<path>.vlt

Now we can read skins packages as in earlier versions:
 $ vlc your_skin.vlt

14 years agoDecomp filter: skip .vlc & .wsz files (skins)
Jean-Philippe André [Mon, 31 May 2010 05:43:45 +0000 (13:43 +0800)]
Decomp filter: skip .vlc & .wsz files (skins)

14 years agoZip filter: skip .vlt & .wsz (skins)
Jean-Philippe André [Mon, 31 May 2010 05:43:20 +0000 (13:43 +0800)]
Zip filter: skip .vlt & .wsz (skins)

14 years agoi18n: remove deleted file
Pierre Ynard [Mon, 31 May 2010 05:14:28 +0000 (07:14 +0200)]
i18n: remove deleted file

14 years agoContrib: activate mp4 and asf in taglib
Jean-Baptiste Kempf [Sun, 30 May 2010 23:24:24 +0000 (01:24 +0200)]
Contrib: activate mp4 and asf in taglib

Ref #3630

14 years agoTaglib: add debug to help fixing mp4/cover bugs
Jean-Baptiste Kempf [Sun, 30 May 2010 23:06:22 +0000 (01:06 +0200)]
Taglib: add debug to help fixing mp4/cover bugs

14 years agoMKV: code cosmetics and copyright update
Jean-Baptiste Kempf [Sun, 30 May 2010 22:07:30 +0000 (00:07 +0200)]
MKV: code cosmetics and copyright update

14 years agoMKV: code simplification by scope reduction
Jean-Baptiste Kempf [Sun, 30 May 2010 21:51:55 +0000 (23:51 +0200)]
MKV: code simplification by scope reduction

14 years agoMKV: parse segment cleanup
Jean-Baptiste Kempf [Sun, 30 May 2010 15:42:36 +0000 (17:42 +0200)]
MKV: parse segment cleanup

Notably: do the difference between Unknown and Unsupported Elements so the bug reports are cleaner
do comment deprecated stuff

14 years agoQt4: set title for the video as we do for other dialogs
Rémi Denis-Courmont [Sun, 30 May 2010 20:28:22 +0000 (23:28 +0300)]
Qt4: set title for the video as we do for other dialogs

14 years agoremove the signals interface
Rémi Denis-Courmont [Sun, 30 May 2010 17:52:07 +0000 (20:52 +0300)]
remove the signals interface

14 years agoDo signal handling in the main() thread
Rémi Denis-Courmont [Sun, 30 May 2010 17:50:13 +0000 (20:50 +0300)]
Do signal handling in the main() thread

This saves one thread. Previously, the main thread was doing nothing.

14 years agoAdd libvlc_set_exit_handler(), more powerful than libvlc_wait()
Rémi Denis-Courmont [Sun, 30 May 2010 17:28:35 +0000 (20:28 +0300)]
Add libvlc_set_exit_handler(), more powerful than libvlc_wait()

14 years agolibvlc_Quit: support using a callback
Rémi Denis-Courmont [Sun, 30 May 2010 17:17:27 +0000 (20:17 +0300)]
libvlc_Quit: support using a callback

This is more flexible than the current libvlc_InternalWait() which
requires a thread that does nothing for the whole lifetime of VLC.

14 years agointf_Create: do not fail if libvlc is exiting
Rémi Denis-Courmont [Sun, 30 May 2010 17:15:50 +0000 (20:15 +0300)]
intf_Create: do not fail if libvlc is exiting

This should fix VLC reporting an interface error if it is interrupted
early.

14 years agoLua Extensions: implement fake "require"
Jean-Philippe André [Sun, 30 May 2010 14:57:21 +0000 (22:57 +0800)]
Lua Extensions: implement fake "require"

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

Remove some useless debug, too

14 years agoExtensions/Qt: open external links on labels
Jean-Philippe André [Sun, 30 May 2010 12:09:37 +0000 (20:09 +0800)]
Extensions/Qt: open external links on labels

14 years agoFix variables types.
Rémi Duraffort [Sun, 30 May 2010 14:29:21 +0000 (16:29 +0200)]
Fix variables types.

14 years agoFix duplicated option.
Rémi Duraffort [Sun, 30 May 2010 14:36:50 +0000 (16:36 +0200)]
Fix duplicated option.

14 years agoLuaHttp: Fix #3628 (update the sout mrl).
Rémi Duraffort [Sun, 30 May 2010 10:52:49 +0000 (12:52 +0200)]
LuaHttp: Fix #3628 (update the sout mrl).

14 years agoRevert "Added Qt::Tool flag on the fullscreen widget."
Rémi Denis-Courmont [Sun, 30 May 2010 14:59:31 +0000 (17:59 +0300)]
Revert "Added Qt::Tool flag on the fullscreen widget."

This reverts commit a91750568de08cd94738e8692420ddc4b2088f5c.

14 years agoQt4: main interface drops always-on-top mode when going fullscreen
Rémi Denis-Courmont [Sun, 30 May 2010 15:01:00 +0000 (18:01 +0300)]
Qt4: main interface drops always-on-top mode when going fullscreen

If the main interface does not contain any video, it has no business
with the video-on-top flag.

14 years agoQt4: change main interface mode from the UI thread
Rémi Denis-Courmont [Sun, 30 May 2010 14:37:12 +0000 (17:37 +0300)]
Qt4: change main interface mode from the UI thread

This presumptively fixes a probable race condition. For the umpteenth
time, never ever make any Qt4 UI call from the video output thread!!

14 years agoQt4: convert on top event to signal/slot model
Rémi Denis-Courmont [Sun, 30 May 2010 14:29:35 +0000 (17:29 +0300)]
Qt4: convert on top event to signal/slot model

14 years agoQt4: undo always-on-top hint when the video is released
Rémi Denis-Courmont [Sun, 30 May 2010 14:07:41 +0000 (17:07 +0300)]
Qt4: undo always-on-top hint when the video is released

The main interface went always-on-top when the video widget was created
but it failed to return to normal state when the video widget was
destroyed.

14 years agoQt4: only reset main interface window flags if needed
Rémi Denis-Courmont [Sun, 30 May 2010 14:04:32 +0000 (17:04 +0300)]
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.

14 years agoFixed vout display key event thread destruction.
Laurent Aimar [Sun, 30 May 2010 13:01:17 +0000 (15:01 +0200)]
Fixed vout display key event thread destruction.

block_FifoWake does not work as I thought.

14 years agoSet vout_display_info_t::has_event_thread for msw and xcb vouts.
Laurent Aimar [Sun, 30 May 2010 12:49:13 +0000 (14:49 +0200)]
Set vout_display_info_t::has_event_thread for msw and xcb vouts.

14 years agoAdded vout_display_info_t::has_event_thread.
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.

14 years agoRevert "Helpers to emit asynchronous key press events (refs #3661)"
Laurent Aimar [Sun, 30 May 2010 12:27:21 +0000 (14:27 +0200)]
Revert "Helpers to emit asynchronous key press events (refs #3661)"

This reverts commit cb72d26f0825b31fd10af18a03763b41067cfe37.

14 years agoRevert "SDL: use key thread (partially fix #3661)"
Laurent Aimar [Sun, 30 May 2010 12:25:38 +0000 (14:25 +0200)]
Revert "SDL: use key thread (partially fix #3661)"

This reverts commit a0c1d2ccdd62ef333e30f2fc9717fd0bf44ec4a3.

14 years agoRevert "CACA: use key thread (partially fix #3661)"
Laurent Aimar [Sun, 30 May 2010 12:25:34 +0000 (14:25 +0200)]
Revert "CACA: use key thread (partially fix #3661)"

This reverts commit 031dec33fbe1cde74e6ef1680638435d335daafe.