vlc.git
10 years agothreads: fix leaks on error path
Pierre Ynard [Thu, 13 Aug 2009 11:12:34 +0000 (13:12 +0200)]
threads: fix leaks on error path

Fix memleak + event leak on wince if thread creation fails

10 years agoRemove skins2 dependency on libxml2 for Win32
Jean-Baptiste Kempf [Thu, 13 Aug 2009 10:02:41 +0000 (12:02 +0200)]
Remove skins2 dependency on libxml2 for Win32

Skins2 dll gets a bit smaller.

10 years agoForce -lz on fretype.
Jean-Baptiste Kempf [Thu, 13 Aug 2009 09:53:42 +0000 (11:53 +0200)]
Force -lz on fretype.

10 years agoPatch libass on Win32 to avoid Using FcParseAndLoad
Jean-Baptiste Kempf [Thu, 13 Aug 2009 08:39:58 +0000 (10:39 +0200)]
Patch libass on Win32 to avoid Using FcParseAndLoad

10 years agoUpdate ffmpeg patch for darwin
Jean-Baptiste Kempf [Thu, 13 Aug 2009 08:39:48 +0000 (10:39 +0200)]
Update ffmpeg patch for darwin

10 years agoDo not pre-buffer too much, it has side effects with the current es_out code.
Laurent Aimar [Wed, 12 Aug 2009 21:13:24 +0000 (23:13 +0200)]
Do not pre-buffer too much, it has side effects with the current es_out code.

At least, ES track switching became really slow (the data for the associated
ES are not buffered as the decoder is not present).

10 years agoUpdated current EIT event only on Current/Following EIT tables.
Laurent Aimar [Wed, 12 Aug 2009 21:12:31 +0000 (23:12 +0200)]
Updated current EIT event only on Current/Following EIT tables.

10 years agoForced "on top" to the video widget in Qt4 while in fullscreen.
Laurent Aimar [Wed, 12 Aug 2009 20:12:42 +0000 (22:12 +0200)]
Forced "on top" to the video widget in Qt4 while in fullscreen.

There is still a problem when the Gui itself has "on top" set.

10 years agoQt4: avoid transient window glitch when leaving full-screen
Rémi Denis-Courmont [Wed, 12 Aug 2009 20:36:32 +0000 (23:36 +0300)]
Qt4: avoid transient window glitch when leaving full-screen

Pointed-out-by: Jean-Baptiste Kempf
10 years agoXlib: remove redumdant window management code
Rémi Denis-Courmont [Wed, 12 Aug 2009 19:35:43 +0000 (22:35 +0300)]
Xlib: remove redumdant window management code

10 years agoRemove dead xinerama and VidMod checks
Rémi Denis-Courmont [Wed, 12 Aug 2009 19:33:12 +0000 (22:33 +0300)]
Remove dead xinerama and VidMod checks

10 years agoDummy debug
Rémi Denis-Courmont [Wed, 12 Aug 2009 18:39:20 +0000 (21:39 +0300)]
Dummy debug

10 years agoXlib: rely on window provider for full-screen and always-on-top
Rémi Denis-Courmont [Tue, 11 Aug 2009 18:36:08 +0000 (21:36 +0300)]
Xlib: rely on window provider for full-screen and always-on-top

This fixes always-on-top going away when toggling full-screen and back.

10 years agoQt4 window: full-screen support
Rémi Denis-Courmont [Wed, 12 Aug 2009 18:35:02 +0000 (21:35 +0300)]
Qt4 window: full-screen support

10 years agoFixed RC deadlocks on input events.
Laurent Aimar [Wed, 12 Aug 2009 17:22:47 +0000 (19:22 +0200)]
Fixed RC deadlocks on input events.

10 years agoMore logical non YUV fallback for xcb.
Laurent Aimar [Sun, 9 Aug 2009 15:02:33 +0000 (17:02 +0200)]
More logical non YUV fallback for xcb.

10 years agoRemoved duplicated code in audio intf.c
Laurent Aimar [Sun, 9 Aug 2009 14:33:46 +0000 (16:33 +0200)]
Removed duplicated code in audio intf.c

10 years agoSet 'saved-volume" in aout_VolumeSet.
Laurent Aimar [Sun, 9 Aug 2009 14:32:43 +0000 (16:32 +0200)]
Set 'saved-volume" in aout_VolumeSet.

10 years agoRemoved duplicated code in audio intf.c
Laurent Aimar [Sun, 9 Aug 2009 14:14:08 +0000 (16:14 +0200)]
Removed duplicated code in audio intf.c

10 years agoQt4: fix race in requestVideo and simplify
Rémi Denis-Courmont [Wed, 12 Aug 2009 16:40:50 +0000 (19:40 +0300)]
Qt4: fix race in requestVideo and simplify

We were accessing some main interface variables from random threads
without serialization. This simply moves the blocking connection signal
from sole size setting to the whole video widget request call. In the
process, we can remove two signals. We still need a blocking connection
signal. It does not add any new deadlock case, since there was already
blocking connection signal in the same call and in the same direction.

10 years agoXlib: no need to restore windowed mode when exiting
Rémi Denis-Courmont [Tue, 11 Aug 2009 18:02:10 +0000 (21:02 +0300)]
Xlib: no need to restore windowed mode when exiting

(Otherwise we would be in trouble whenever VLC crashes)

10 years agothreads: simplify
Pierre Ynard [Wed, 12 Aug 2009 14:44:51 +0000 (16:44 +0200)]
threads: simplify

Remove repeated code

10 years agoWinCE: remove broken thread times debug
Pierre Ynard [Wed, 12 Aug 2009 14:33:10 +0000 (16:33 +0200)]
WinCE: remove broken thread times debug

The call was broken, but still worked, but only half-way...

10 years agoRemove the ShowIntf module. It doesn't make sense when MacOS and Qt gui have a fullsc...
Jean-Baptiste Kempf [Wed, 12 Aug 2009 13:59:15 +0000 (15:59 +0200)]
Remove the ShowIntf module. It doesn't make sense when MacOS and Qt gui have a fullscreen controller.

10 years agoQt4: fix typo
Pierre Ynard [Wed, 12 Aug 2009 01:26:35 +0000 (03:26 +0200)]
Qt4: fix typo

Fix build on Win32

10 years agoQt4 playlist: fix crash when deleting nodes and their children
Jakob Leben [Sun, 9 Aug 2009 23:09:27 +0000 (01:09 +0200)]
Qt4 playlist: fix crash when deleting nodes and their children

This patch fixes the crash when a node is selected together with it's children and then deleted

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoTHANKS to François
Jean-Baptiste Kempf [Tue, 11 Aug 2009 23:05:54 +0000 (01:05 +0200)]
THANKS to François

10 years agoMore debug by default.
Jean-Baptiste Kempf [Tue, 11 Aug 2009 23:03:27 +0000 (01:03 +0200)]
More debug by default.

10 years agoContribs: Believe it or not, new version of libjpeg!
Jean-Baptiste Kempf [Tue, 11 Aug 2009 23:02:26 +0000 (01:02 +0200)]
Contribs: Believe it or not, new version of libjpeg!

10 years agoGUI: sprefs_audio hide lastfm when not checked
Francois Cartegnie [Tue, 11 Aug 2009 22:40:24 +0000 (00:40 +0200)]
GUI: sprefs_audio hide lastfm when not checked

10 years agoShow stylesCombo only on Linux and Win32-debug
Jean-Baptiste Kempf [Tue, 11 Aug 2009 22:12:53 +0000 (00:12 +0200)]
Show stylesCombo only on Linux and Win32-debug

10 years agoAllow to select the style of Qt in Simple preferences.
Jean-Baptiste Kempf [Tue, 11 Aug 2009 22:06:37 +0000 (00:06 +0200)]
Allow to select the style of Qt in Simple preferences.

10 years agoXCB-XVideo: implement full-screen mode
Rémi Denis-Courmont [Tue, 11 Aug 2009 17:13:11 +0000 (20:13 +0300)]
XCB-XVideo: implement full-screen mode

10 years agoXCB-X11: implement full-screen mode
Rémi Denis-Courmont [Tue, 11 Aug 2009 17:12:54 +0000 (20:12 +0300)]
XCB-X11: implement full-screen mode

10 years agoxcb_window: implement fullscreen mode
Rémi Denis-Courmont [Tue, 11 Aug 2009 17:03:51 +0000 (20:03 +0300)]
xcb_window: implement fullscreen mode

10 years agoPre-factor WM_STATE change
Rémi Denis-Courmont [Tue, 11 Aug 2009 16:59:05 +0000 (19:59 +0300)]
Pre-factor WM_STATE change

10 years agoAdd some comments
Rémi Denis-Courmont [Tue, 11 Aug 2009 16:58:51 +0000 (19:58 +0300)]
Add some comments

10 years agoVOUT_WINDOW_SET_FULLSCREEN: control request for fullscreen mode
Rémi Denis-Courmont [Tue, 11 Aug 2009 17:02:49 +0000 (20:02 +0300)]
VOUT_WINDOW_SET_FULLSCREEN: control request for fullscreen mode

There is a slight ambiguity as to what VOUT_WINDOW_SET_SIZE should do
when in full-screen mode though.

10 years agoqt4(preferences): add a preview image for skins (similar to qt4 native preview)
Erwan Tulou [Sun, 19 Jul 2009 13:14:12 +0000 (15:14 +0200)]
qt4(preferences): add a preview image for skins (similar to qt4 native preview)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoQT4 playlist: even better DragNDrop policy
Jakob Leben [Sun, 9 Aug 2009 18:31:40 +0000 (20:31 +0200)]
QT4 playlist: even better DragNDrop policy

Drop enabled only inside Playlist and Media player, not Podcast and
other Internet sources...

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agoDo not check that playlist has an input twice
Rémi Denis-Courmont [Tue, 11 Aug 2009 15:40:25 +0000 (18:40 +0300)]
Do not check that playlist has an input twice

(This does NOT fix the RC pause deadlock)

10 years agoFix ActiveX compilation
Jean-Baptiste Kempf [Tue, 11 Aug 2009 07:45:19 +0000 (09:45 +0200)]
Fix ActiveX compilation

10 years agoFix variable shadowing
Rémi Denis-Courmont [Mon, 10 Aug 2009 16:49:40 +0000 (19:49 +0300)]
Fix variable shadowing

10 years agoTry to improve comments
Rémi Denis-Courmont [Mon, 10 Aug 2009 15:58:43 +0000 (18:58 +0300)]
Try to improve comments

10 years agoRevert "Simplify mad detection"
Jean-Baptiste Kempf [Mon, 10 Aug 2009 15:13:09 +0000 (17:13 +0200)]
Revert "Simplify mad detection"

mad.pc is a nice debian addition... Pfff @ other distros.

This reverts commit c5a8c4593aac5e4ffb5feca950e1add613141c1c.

10 years agox264: change aq-mode default same as libx264 uses
Ilkka Ollakka [Mon, 10 Aug 2009 10:49:44 +0000 (13:49 +0300)]
x264: change aq-mode default same as libx264 uses

Current description on default mode ain't actually any good, but didn't
find better from x264 commit-log. Feel free to add better description.

10 years agovideo_filter/canvas: various aspect-ratio related fixes
David Flynn [Sat, 8 Aug 2009 13:12:40 +0000 (14:12 +0100)]
video_filter/canvas: various aspect-ratio related fixes

video_filter/canvas: various aspect-ratio related fixes

 - Remove silly defaulting to 4:3.  Instead, compute PAR based
   upon SAR of input video and canvas size.
 - Update documentation to remove ambiguity over what is meant
   by aspect-ratio
 - Fix subpicture calculations to
    (a) be much simpler,
    (b) correctly calculate width and height

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
10 years agopython-ctypes: improve win32 initialization (contrib from <mmuellen@gmx.de>)
Olivier Aubert [Mon, 10 Aug 2009 08:07:00 +0000 (10:07 +0200)]
python-ctypes: improve win32 initialization (contrib from <mmuellen@gmx.de>)

10 years agopython-ctypes: fix indent issue
Olivier Aubert [Mon, 10 Aug 2009 08:03:42 +0000 (10:03 +0200)]
python-ctypes: fix indent issue

10 years agopython-ctypes: refactor generate.py to be more modular
Olivier Aubert [Sun, 9 Aug 2009 22:34:24 +0000 (00:34 +0200)]
python-ctypes: refactor generate.py to be more modular

10 years agopython-ctypes: define setup.py (based on a contribution by Martin Muellenhaupt <mmuel...
Olivier Aubert [Sun, 9 Aug 2009 22:31:33 +0000 (00:31 +0200)]
python-ctypes: define setup.py (based on a contribution by Martin Muellenhaupt <mmuellen@gmx.de>)

10 years agopython-cytpes: fix MediaControl API support
Olivier Aubert [Sun, 9 Aug 2009 20:53:29 +0000 (22:53 +0200)]
python-cytpes: fix MediaControl API support

10 years agopython-ctypes: capitalize enum names only if they do not already start with an upperc...
Olivier Aubert [Fri, 7 Aug 2009 17:01:41 +0000 (19:01 +0200)]
python-ctypes: capitalize enum names only if they do not already start with an uppercase letter

10 years agoSynchronize NEWS from branch
Jean-Baptiste Kempf [Sun, 9 Aug 2009 22:05:34 +0000 (00:05 +0200)]
Synchronize NEWS from branch

10 years agoSome less-good-than-debian distributions don't ship liblircclient0.pc
Jean-Baptiste Kempf [Sun, 9 Aug 2009 21:00:25 +0000 (23:00 +0200)]
Some less-good-than-debian distributions don't ship liblircclient0.pc

Revert previous simplification.

10 years agoReplace libvlc_exception_get_message with libvlc_errmsg
Rémi Denis-Courmont [Sun, 9 Aug 2009 17:08:02 +0000 (20:08 +0300)]
Replace libvlc_exception_get_message with libvlc_errmsg

(This is a bit hackish as the conversion is not completed)

10 years agoLibVLC: per-thread error message API
Rémi Denis-Courmont [Sun, 9 Aug 2009 15:03:57 +0000 (18:03 +0300)]
LibVLC: per-thread error message API

10 years agoMissing return value
Rémi Denis-Courmont [Sun, 9 Aug 2009 16:59:38 +0000 (19:59 +0300)]
Missing return value

10 years agoAXVLC: remove useless log exception (untested)
Rémi Denis-Courmont [Sun, 9 Aug 2009 15:35:13 +0000 (18:35 +0300)]
AXVLC: remove useless log exception (untested)

10 years agolibvlc_log: remove useless exception parameters
Rémi Denis-Courmont [Sun, 9 Aug 2009 15:34:59 +0000 (18:34 +0300)]
libvlc_log: remove useless exception parameters

10 years agoRemove RAISEVOID
Rémi Denis-Courmont [Sun, 9 Aug 2009 15:22:49 +0000 (18:22 +0300)]
Remove RAISEVOID

10 years agolibvlc_playlist_play: remove exception
Rémi Denis-Courmont [Sun, 9 Aug 2009 15:22:41 +0000 (18:22 +0300)]
libvlc_playlist_play: remove exception

10 years agolibvlc_log: remove dummy exceptions
Rémi Denis-Courmont [Sun, 9 Aug 2009 15:20:38 +0000 (18:20 +0300)]
libvlc_log: remove dummy exceptions

10 years agolibvlc_add_intf: return a value
Rémi Denis-Courmont [Sun, 9 Aug 2009 15:15:54 +0000 (18:15 +0300)]
libvlc_add_intf: return a value

10 years agoRemove libvlc_get_vlc_id()
Rémi Denis-Courmont [Sun, 9 Aug 2009 15:12:04 +0000 (18:12 +0300)]
Remove libvlc_get_vlc_id()

It did not really work since VLC 0.9. Also, it was meant for use with
vlc_object_get() and the antique VLC_*() functions which are gone.

10 years agoLibVLC: remove unused exception error code
Rémi Denis-Courmont [Sun, 9 Aug 2009 15:04:10 +0000 (18:04 +0300)]
LibVLC: remove unused exception error code

10 years agom4_ifnblank seems to be too new for some autoconf
Jean-Baptiste Kempf [Sun, 9 Aug 2009 12:42:52 +0000 (14:42 +0200)]
m4_ifnblank seems to be too new for some autoconf

And bumping autoconf version seems to be a bit much for such a small improvement

10 years agoPhonon Backend using VLC
Jean-Baptiste Kempf [Sat, 8 Aug 2009 19:28:12 +0000 (21:28 +0200)]
Phonon Backend using VLC

This still uses CMake, because I am still lazy.
This has been tested on Linux, but I would like to port it to win32 (and so CMake might not be the best)
This is basically a copy of the KDE-playground code and started as the GSoC of last summer

10 years agoXCB-XVideo: compilation fix
Rémi Denis-Courmont [Sun, 9 Aug 2009 08:12:58 +0000 (11:12 +0300)]
XCB-XVideo: compilation fix

10 years agoUsed YUV fallback list in xcb.
Laurent Aimar [Sat, 8 Aug 2009 23:35:36 +0000 (01:35 +0200)]
Used YUV fallback list in xcb.

10 years agoAdded vlc_fourcc_IsYUV.
Laurent Aimar [Sat, 8 Aug 2009 23:27:08 +0000 (01:27 +0200)]
Added vlc_fourcc_IsYUV.

10 years agoEnabled xcb x11/xv in "vout display" wrapper.
Laurent Aimar [Sat, 8 Aug 2009 23:20:59 +0000 (01:20 +0200)]
Enabled xcb x11/xv in "vout display" wrapper.

10 years agoConverted vout xcb to "vout display" API.
Laurent Aimar [Sat, 8 Aug 2009 23:20:26 +0000 (01:20 +0200)]
Converted vout xcb to "vout display" API.

10 years agoFFMPEG: always disable debug
Rémi Denis-Courmont [Sat, 8 Aug 2009 19:01:01 +0000 (22:01 +0300)]
FFMPEG: always disable debug

10 years agoWrap
Rémi Denis-Courmont [Sat, 8 Aug 2009 18:58:06 +0000 (21:58 +0300)]
Wrap

10 years agoCompile all the twolame packages so we can get the .pc
Jean-Baptiste Kempf [Sat, 8 Aug 2009 18:06:39 +0000 (20:06 +0200)]
Compile all the twolame packages so we can get the .pc

10 years agoPlaylist: correct insertion index when moving items into nodes
Jakob Leben [Sun, 2 Aug 2009 12:13:41 +0000 (14:13 +0200)]
Playlist: correct insertion index when moving items into nodes

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agoRevert broken loading of libvlc with OPTION_DLOPEN_GLOBAL in jvlc
Alexander Bethke [Tue, 4 Aug 2009 07:14:46 +0000 (10:14 +0300)]
Revert broken loading of libvlc with OPTION_DLOPEN_GLOBAL in jvlc

As I understand this has been a temporary workaround for libvlccore, which seems to have been resolved.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agoQt4 Playlist: Disable dropping on non-container items
Jakob Leben [Sun, 2 Aug 2009 14:57:50 +0000 (16:57 +0200)]
Qt4 Playlist: Disable dropping on non-container items

New protected field bool PLItem::b_is_node to have the data at hand.
Then only check this field in PLModel::flags().

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agoQt4 Playlist: Disable moving items into top level of Playlist/Library Selector Panel
Jakob Leben [Sun, 2 Aug 2009 05:30:57 +0000 (07:30 +0200)]
Qt4 Playlist: Disable moving items into top level of Playlist/Library Selector Panel

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agoYou need libass over 0.9.6
Jean-Baptiste Kempf [Sat, 8 Aug 2009 10:21:52 +0000 (12:21 +0200)]
You need libass over 0.9.6

10 years agoSimplify mad detection
Jean-Baptiste Kempf [Sat, 8 Aug 2009 10:18:14 +0000 (12:18 +0200)]
Simplify mad detection

10 years agoSimplify twolame detection
Jean-Baptiste Kempf [Sat, 8 Aug 2009 09:37:56 +0000 (11:37 +0200)]
Simplify twolame detection

10 years agoReordering
Jean-Baptiste Kempf [Fri, 7 Aug 2009 22:15:27 +0000 (00:15 +0200)]
Reordering

10 years agoSimplify Alsa detection and drop support for alsa < 1.0.0 (out in 2003)
Jean-Baptiste Kempf [Fri, 7 Aug 2009 20:03:28 +0000 (22:03 +0200)]
Simplify Alsa detection and drop support for alsa < 1.0.0 (out in 2003)

10 years agoSimplify lirc detection
Jean-Baptiste Kempf [Fri, 7 Aug 2009 20:01:10 +0000 (22:01 +0200)]
Simplify lirc detection
Simplify UPnp detection
Simplify goom2k4 detection

10 years agoNEWS about .aob support
Jean-Baptiste Kempf [Fri, 7 Aug 2009 19:54:08 +0000 (21:54 +0200)]
NEWS about .aob support

10 years agoAvoid late extra error message if globalhoykeys fail (fixes: #3034)
Rémi Denis-Courmont [Sat, 8 Aug 2009 09:30:10 +0000 (12:30 +0300)]
Avoid late extra error message if globalhoykeys fail (fixes: #3034)

10 years agoMissing file
Rémi Denis-Courmont [Sat, 8 Aug 2009 07:45:50 +0000 (10:45 +0300)]
Missing file

10 years agoAdded a small heuristic to improve MLP detection in AOB.
Laurent Aimar [Fri, 7 Aug 2009 18:50:32 +0000 (20:50 +0200)]
Added a small heuristic to improve MLP detection in AOB.

10 years agoAdded support for AOB files (LPCM/MLP) to our PS demuxer.
Laurent Aimar [Fri, 7 Aug 2009 17:56:14 +0000 (19:56 +0200)]
Added support for AOB files (LPCM/MLP) to our PS demuxer.

MLP track detection is weak and will fail from time to time. If anyone
know a reliable way I am interested.
Only playing directly the AOB files is supported.

10 years agoAdded LPCM from AOB suport to our LPCM decoder.
Laurent Aimar [Fri, 7 Aug 2009 17:53:05 +0000 (19:53 +0200)]
Added LPCM from AOB suport to our LPCM decoder.

Audio channels in AOB can be separated into two groups with different
properties (bits/sample and/or samplerate). In this case, the second group
is ignored.

10 years agoAdded VLC_CODEC_DVDA_LPCM for lpcm in AOB.
Laurent Aimar [Fri, 7 Aug 2009 17:48:14 +0000 (19:48 +0200)]
Added VLC_CODEC_DVDA_LPCM for lpcm in AOB.

10 years agofpclassify() is C99, not necessarily available in C++
Rémi Denis-Courmont [Fri, 7 Aug 2009 14:32:49 +0000 (17:32 +0300)]
fpclassify() is C99, not necessarily available in C++

10 years agoCleanup and fix aliasing warnings
Rémi Denis-Courmont [Fri, 7 Aug 2009 14:16:49 +0000 (17:16 +0300)]
Cleanup and fix aliasing warnings

10 years agoSolaris needs _XPG4_2 for ancilliary data (fixes: #3040)
Rémi Denis-Courmont [Fri, 7 Aug 2009 14:16:11 +0000 (17:16 +0300)]
Solaris needs _XPG4_2 for ancilliary data (fixes: #3040)

10 years ago_POSIX_PTHREAD_SEMANTICS is already defined by AC_USE_SYSTEM_EXTENSIONS
Rémi Denis-Courmont [Fri, 7 Aug 2009 14:06:49 +0000 (17:06 +0300)]
_POSIX_PTHREAD_SEMANTICS is already defined by AC_USE_SYSTEM_EXTENSIONS

10 years agoSimplify detection caca and force 0.99beta1
Jean-Baptiste Kempf [Fri, 7 Aug 2009 11:17:51 +0000 (13:17 +0200)]
Simplify detection caca and force 0.99beta1

10 years agoDelete galaktos plugin.
Jean-Baptiste Kempf [Fri, 7 Aug 2009 11:02:42 +0000 (13:02 +0200)]
Delete galaktos plugin.

This hasn't work for quite some time and we have projectM module.
Moreover, noone complained.

10 years agoSimplify configure for win32
Jean-Baptiste Kempf [Fri, 7 Aug 2009 11:02:18 +0000 (13:02 +0200)]
Simplify configure for win32