vlc.git
13 years agoRemove vlc_threads_(init|end), fix thread-safety on Win32
Rémi Denis-Courmont [Sun, 5 Oct 2008 07:38:49 +0000 (10:38 +0300)]
Remove vlc_threads_(init|end), fix thread-safety on Win32

13 years agoFix vlc_thread_ready invalid use of object_wait
Rémi Denis-Courmont [Sat, 4 Oct 2008 20:21:35 +0000 (23:21 +0300)]
Fix vlc_thread_ready invalid use of object_wait

13 years agoffmpeg changed offset_t to int64_t in svn rev15533. Let's keep up with them.
Dominique Leuenberger [Sat, 4 Oct 2008 04:00:44 +0000 (06:00 +0200)]
ffmpeg changed offset_t to int64_t in svn rev15533. Let's keep up with them.

Signed-Off-By: Christophe Mutricy
13 years agoFix playlist use. Fix #2153
Christophe Mutricy [Sat, 4 Oct 2008 15:26:28 +0000 (16:26 +0100)]
Fix playlist use. Fix #2153

13 years agoQt4: Split the controllers from the rest of the interface widgets.
Jean-Baptiste Kempf [Fri, 3 Oct 2008 05:19:20 +0000 (22:19 -0700)]
Qt4: Split the controllers from the rest of the interface widgets.

13 years agoQt4: fix remaining preferences intempestive popups.
Jean-Baptiste Kempf [Thu, 2 Oct 2008 22:03:11 +0000 (15:03 -0700)]
Qt4: fix remaining preferences intempestive popups.

13 years agoCritical section are internally recursive
Rémi Denis-Courmont [Mon, 29 Sep 2008 18:18:20 +0000 (21:18 +0300)]
Critical section are internally recursive

Remove all this useless stuff of mine.

13 years agoHuman readable git versions
Rémi Denis-Courmont [Sat, 4 Oct 2008 15:03:02 +0000 (18:03 +0300)]
Human readable git versions

13 years agoensure compatibility with future versions of Darwin
Felix Kühne [Sat, 4 Oct 2008 12:38:42 +0000 (14:38 +0200)]
ensure compatibility with future versions of Darwin

13 years agoforward-port [4f51e27858885a78d4fc93a8312b8e96d92805ae]
Felix Paul Kühne [Fri, 3 Oct 2008 22:20:17 +0000 (00:20 +0200)]
forward-port [4f51e27858885a78d4fc93a8312b8e96d92805ae]

13 years agoFix regression in libvlc_video_set_spu() and libvlc_audio_set_track().
Jean-Paul Saman [Fri, 3 Oct 2008 11:56:45 +0000 (13:56 +0200)]
Fix regression in libvlc_video_set_spu() and libvlc_audio_set_track().

13 years agoFix regression in libvlc_video_set_teletext().
Jean-Paul Saman [Mon, 29 Sep 2008 10:56:21 +0000 (12:56 +0200)]
Fix regression in libvlc_video_set_teletext().

13 years agoUse the integer value for teletext page in test.html.
Jean-Paul Saman [Mon, 29 Sep 2008 10:54:50 +0000 (12:54 +0200)]
Use the integer value for teletext page in test.html.

13 years agoFix bug in libvlc_video_set_teletext()
Jean-Paul Saman [Sun, 28 Sep 2008 17:25:54 +0000 (19:25 +0200)]
Fix bug in libvlc_video_set_teletext()

13 years agoAdd subtitle and teletext JS API to test.html
Jean-Paul Saman [Sun, 28 Sep 2008 17:23:59 +0000 (19:23 +0200)]
Add subtitle and teletext JS API to test.html

13 years agomacosx: renamed getVoutView to voutView in order to make it conform to the cocoa...
Felix Paul Kühne [Fri, 3 Oct 2008 14:44:26 +0000 (16:44 +0200)]
macosx: renamed getVoutView to voutView in order to make it conform to the cocoa naming scheme

13 years agomacosx: ugly compilation fix as VLC_OBJECT_OPENGL was removed
Felix Paul Kühne [Fri, 3 Oct 2008 13:45:19 +0000 (15:45 +0200)]
macosx: ugly compilation fix as VLC_OBJECT_OPENGL was removed

Compatibility with the caca and x11 vouts needs to be checked

13 years agoCleanup PVR path parser
Rémi Denis-Courmont [Thu, 2 Oct 2008 16:26:27 +0000 (19:26 +0300)]
Cleanup PVR path parser

13 years agolibmpeg2: user_data has been available since 0.3.2
Derk-Jan Hartman [Thu, 2 Oct 2008 19:12:15 +0000 (21:12 +0200)]
libmpeg2: user_data has been available since 0.3.2

Since we require libmpeg > 0.3.2 there is no need for this check.

13 years agomacosx: allow to specify where you want the download to be save and how it should...
Derk-Jan Hartman [Thu, 2 Oct 2008 14:53:25 +0000 (16:53 +0200)]
macosx: allow to specify where you want the download to be save and how it should be called.

13 years agoupdate: don't free the temp pointer, but free the original instead.
Derk-Jan Hartman [Thu, 2 Oct 2008 14:41:22 +0000 (16:41 +0200)]
update: don't free the temp pointer, but free the original instead.

13 years agoupdate: rename the variables so that it matches their current purpose
Derk-Jan Hartman [Thu, 2 Oct 2008 14:38:39 +0000 (16:38 +0200)]
update: rename the variables so that it matches their current purpose

13 years agoupdate: allow update_Download to accept: directory, filename, NULL
Derk-Jan Hartman [Thu, 2 Oct 2008 14:32:14 +0000 (16:32 +0200)]
update: allow update_Download  to accept: directory, filename, NULL

directory: accepts any existing directory and will use the filename component of the update URL (old behaviour). This option no longer requires you to provide a string that ends with the pathsep.

filename: write directly to this filename. Existing files will be overwritten.

NULL: will write to filename component of the update URL. likely in the CWD.

13 years agofortunes: PWNtcha !!!
Derk-Jan Hartman [Thu, 2 Oct 2008 12:02:13 +0000 (14:02 +0200)]
fortunes: PWNtcha !!!

13 years agoWin32 Vout: after the previous fix of Win32 Vout, the fullscreen mode wasn't kept...
Jean-Baptiste Kempf [Thu, 2 Oct 2008 06:29:09 +0000 (23:29 -0700)]
Win32 Vout: after the previous fix of Win32 Vout, the fullscreen mode wasn't kept for the next item. This fixes that.

13 years agoFixed a stupid typo in swscale copy conditions.
Laurent Aimar [Wed, 1 Oct 2008 20:45:45 +0000 (22:45 +0200)]
Fixed a stupid typo in swscale copy conditions.

It closes at least #2119 (on any vertical scaled only subtitle).

13 years agoFixed annoying lates frame when slowing speed.
Laurent Aimar [Tue, 30 Sep 2008 21:49:46 +0000 (23:49 +0200)]
Fixed annoying lates frame when slowing speed.

13 years agoNo functionnal changes (clean up)
Laurent Aimar [Tue, 30 Sep 2008 21:30:00 +0000 (23:30 +0200)]
No functionnal changes (clean up)

13 years agoFix for p_input being now hidden.
Christophe Mutricy [Wed, 1 Oct 2008 20:40:30 +0000 (21:40 +0100)]
Fix for p_input being now hidden.

13 years agoDon' reinvete the wheel just for fun.
Rémi Duraffort [Wed, 1 Oct 2008 20:38:05 +0000 (22:38 +0200)]
Don' reinvete the wheel just for fun.

13 years agoCleaning and fix potential memleaks.
Rémi Duraffort [Wed, 1 Oct 2008 20:17:56 +0000 (22:17 +0200)]
Cleaning and fix potential memleaks.

13 years agoRemove xurl_(free|malloc)
Rémi Duraffort [Wed, 1 Oct 2008 20:05:36 +0000 (22:05 +0200)]
Remove xurl_(free|malloc)

13 years agosecond parameter of streallocat must be const.
Rémi Duraffort [Wed, 1 Oct 2008 19:56:52 +0000 (21:56 +0200)]
second parameter of streallocat must be const.

13 years agoxlist: last can't be NULL here (invalidate CID 50)
Rémi Duraffort [Wed, 1 Oct 2008 19:52:42 +0000 (21:52 +0200)]
xlist: last can't be NULL here (invalidate CID 50)

13 years agoFix potential memleaks (CID 222 and 221)
Rémi Duraffort [Wed, 1 Oct 2008 19:43:48 +0000 (21:43 +0200)]
Fix potential memleaks (CID 222 and 221)

13 years agoFix memleak (CID 225)
Rémi Duraffort [Wed, 1 Oct 2008 19:34:17 +0000 (21:34 +0200)]
Fix memleak (CID 225)

13 years agoFix memleak (CID 209)
Rémi Duraffort [Wed, 1 Oct 2008 19:20:11 +0000 (21:20 +0200)]
Fix memleak (CID 209)

13 years agoFix memleaks (CID 211)
Rémi Duraffort [Wed, 1 Oct 2008 19:17:48 +0000 (21:17 +0200)]
Fix memleaks (CID 211)

13 years agoFix memleak (CID 212)
Rémi Duraffort [Wed, 1 Oct 2008 19:13:54 +0000 (21:13 +0200)]
Fix memleak (CID 212)

13 years agoFix memleak (CID 213)
Rémi Duraffort [Wed, 1 Oct 2008 19:11:57 +0000 (21:11 +0200)]
Fix memleak (CID 213)

13 years agoUse asprintf instead of malloc/sprintf.
Rémi Duraffort [Wed, 1 Oct 2008 18:58:34 +0000 (20:58 +0200)]
Use asprintf instead of malloc/sprintf.

13 years agoHotkeys: remove unuseful test on p_playlist: If p_playlist is NULL here, you are...
Jean-Baptiste Kempf [Wed, 1 Oct 2008 18:51:33 +0000 (11:51 -0700)]
Hotkeys: remove unuseful test on p_playlist: If p_playlist is NULL here, you are dead just before.

Can pl_Hold return NULL ?

13 years agoMacro protection.
Rémi Duraffort [Wed, 1 Oct 2008 18:50:04 +0000 (20:50 +0200)]
Macro protection.

13 years agoBlend: Remove unuseful variable. CID 241
Jean-Baptiste Kempf [Wed, 1 Oct 2008 18:49:03 +0000 (11:49 -0700)]
Blend: Remove unuseful variable. CID 241

13 years agoAssert p_block.
Jean-Baptiste Kempf [Wed, 1 Oct 2008 18:47:04 +0000 (11:47 -0700)]
Assert p_block.

13 years agoRemove useless test.
Jean-Baptiste Kempf [Wed, 1 Oct 2008 18:45:58 +0000 (11:45 -0700)]
Remove useless test.

p_sys cannot be null here.

13 years agoRemove dummy vlc_thread_ready
Rémi Denis-Courmont [Wed, 1 Oct 2008 18:35:32 +0000 (21:35 +0300)]
Remove dummy vlc_thread_ready

13 years agoRemove duplication and do the NULL text before dereferencing (CID 232)
Rémi Duraffort [Wed, 1 Oct 2008 18:34:56 +0000 (20:34 +0200)]
Remove duplication and do the NULL text before dereferencing (CID 232)

13 years agoInit the variable (CID 239)
Rémi Duraffort [Wed, 1 Oct 2008 18:27:36 +0000 (20:27 +0200)]
Init the variable (CID 239)

13 years agoInitialise variable before using it (CID 238)
Rémi Duraffort [Wed, 1 Oct 2008 18:18:26 +0000 (20:18 +0200)]
Initialise variable before using it (CID 238)

13 years agoFix uninitialized variables (CID 242)
Jean-Baptiste Kempf [Wed, 1 Oct 2008 18:29:57 +0000 (11:29 -0700)]
Fix uninitialized variables (CID 242)

13 years agoFix "use after a free" (to be honnest that's more a segfault here) (CID 243)
Rémi Duraffort [Wed, 1 Oct 2008 18:11:56 +0000 (20:11 +0200)]
Fix "use after a free" (to be honnest that's more a segfault here) (CID 243)

13 years agoFix "Use after free" (CID 248)
Rémi Duraffort [Wed, 1 Oct 2008 18:01:12 +0000 (20:01 +0200)]
Fix "Use after free" (CID 248)

13 years agoProtect against bad use after a vlc_dictionary_clear.
Rémi Duraffort [Sun, 28 Sep 2008 13:56:21 +0000 (15:56 +0200)]
Protect against bad use after a vlc_dictionary_clear.

13 years agoWinCE: missing threading functions
Geoffroy Couprie [Wed, 1 Oct 2008 13:28:04 +0000 (15:28 +0200)]
WinCE: missing threading functions

13 years agoRemove useless test. At that point, p_sys is not NULL
Jean-Baptiste Kempf [Wed, 1 Oct 2008 08:13:25 +0000 (01:13 -0700)]
Remove useless test. At that point, p_sys is not NULL

13 years agoWin32 Vout: set fullscreen back before quitting Vout.
Jean-Baptiste Kempf [Wed, 1 Oct 2008 08:01:38 +0000 (01:01 -0700)]
Win32 Vout: set fullscreen back before quitting Vout.

This fix the big bug of disappearing of the interface in embedded mode.
(cherry picked from commit 29e96eaed0b0d38b5d812b6717f1429739ee8c3b)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoWin32 Vout: try to correctly set fullscreen mode under winCE and win32.
Jean-Baptiste Kempf [Wed, 1 Oct 2008 03:57:28 +0000 (20:57 -0700)]
Win32 Vout: try to correctly set fullscreen mode under winCE and win32.

13 years agoQt4: correctly show the stats.
Jean-Baptiste Kempf [Wed, 1 Oct 2008 03:31:15 +0000 (20:31 -0700)]
Qt4: correctly show the stats.
(cherry picked from commit 95c173411393f6cae467ab6c4f0e708c443bf5a5)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoQt4: Deactivate FPS showing, since it doesn't work.
Jean-Baptiste Kempf [Tue, 23 Sep 2008 23:03:56 +0000 (16:03 -0700)]
Qt4: Deactivate FPS showing, since it doesn't work.
(cherry picked from commit cecdd2aa20dc1429741ecef1afe7adc3d1300090)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoTypo.
Jean-Baptiste Kempf [Wed, 1 Oct 2008 03:16:16 +0000 (20:16 -0700)]
Typo.

13 years agoQt4: Playlist fixes.
Jean-Baptiste Kempf [Mon, 29 Sep 2008 18:33:57 +0000 (11:33 -0700)]
Qt4: Playlist fixes.
(cherry picked from commit 6b67205f13b3f8ce5a3c860b63a95f3bccf8d934)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoCompilation fix for win32.
Jean-Baptiste Kempf [Wed, 1 Oct 2008 01:13:09 +0000 (18:13 -0700)]
Compilation fix for win32.

13 years agoFortunes update
Pavlov Konstantin [Tue, 30 Sep 2008 21:05:48 +0000 (01:05 +0400)]
Fortunes update

13 years agoFixed too restrictive assert in decoder.
Laurent Aimar [Tue, 30 Sep 2008 20:57:21 +0000 (22:57 +0200)]
Fixed too restrictive assert in decoder.

13 years agoFixed a lot of potential segfaults on invalid vobsub index.
Laurent Aimar [Tue, 30 Sep 2008 20:21:24 +0000 (22:21 +0200)]
Fixed a lot of potential segfaults on invalid vobsub index.

13 years agoLet decoder handle the audio/spu delay.
Laurent Aimar [Mon, 29 Sep 2008 22:23:02 +0000 (00:23 +0200)]
Let decoder handle the audio/spu delay.

It is more reactive and let decoder do proper late/early checks.

13 years agoAdded aout pause support.
Laurent Aimar [Mon, 29 Sep 2008 21:44:46 +0000 (23:44 +0200)]
Added aout pause support.

This does not work well. It seems that a high level of audio is buffered
inside aout after the input fifo (mixer or output one).

13 years agoMoved a few vout tests+statistics to decoder.
Laurent Aimar [Mon, 29 Sep 2008 20:57:14 +0000 (22:57 +0200)]
Moved a few vout tests+statistics to decoder.

It allows removing partially a ugly input dependency in vout as well as
finer control at decoder side.

13 years agoMoved a few aout tests+statistics to decoder.
Laurent Aimar [Mon, 29 Sep 2008 20:29:16 +0000 (22:29 +0200)]
Moved a few aout tests+statistics to decoder.

It allows removing an ugly input dependency in aout as well as finer control
at decoder side.

13 years agoUse audio desync as initial audio-delay value.
Laurent Aimar [Mon, 29 Sep 2008 18:52:32 +0000 (20:52 +0200)]
Use audio desync as initial audio-delay value.

13 years agoAdded dump alias module to dummy decoder.
Laurent Aimar [Sun, 28 Sep 2008 14:57:04 +0000 (16:57 +0200)]
Added dump alias module to dummy decoder.

It allows replacing --codec dummy --dummy-save-es by --codec dump.

13 years agoProtect a bit against invalid pcr.
Laurent Aimar [Sun, 28 Sep 2008 14:24:23 +0000 (16:24 +0200)]
Protect a bit against invalid pcr.

13 years agoProtect against broken subpicture size.
Laurent Aimar [Sun, 28 Sep 2008 13:49:25 +0000 (15:49 +0200)]
Protect against broken subpicture size.

13 years agoFixed potential race condition on vout release in decoder.
Laurent Aimar [Sun, 28 Sep 2008 13:39:07 +0000 (15:39 +0200)]
Fixed potential race condition on vout release in decoder.

13 years agoFixed sout #display.
Laurent Aimar [Sun, 28 Sep 2008 13:36:29 +0000 (15:36 +0200)]
Fixed sout #display.

13 years agoDe-inline playlist_Signal
Rémi Denis-Courmont [Tue, 30 Sep 2008 20:05:08 +0000 (23:05 +0300)]
De-inline playlist_Signal

13 years agoDo not stat directories on Windows
Rémi Denis-Courmont [Tue, 30 Sep 2008 20:08:34 +0000 (23:08 +0300)]
Do not stat directories on Windows

For lack of a better solution, I assume that Windows has a finite
paths length limit to prevent infinite recursion. Otherwise we need
dirfd() and unique inodes.

13 years agomacosx: Add a link to the playlistitem menu to retrieve Cover Art.
Derk-Jan Hartman [Tue, 30 Sep 2008 19:36:01 +0000 (21:36 +0200)]
macosx: Add a link to the playlistitem menu to retrieve Cover Art.

Forward port: [1a5a6b89692f2e6761b6ecd9ae9ee6e50b6e4138]

13 years agomacosx: Remove spurious call.
Derk-Jan Hartman [Tue, 30 Sep 2008 17:17:00 +0000 (19:17 +0200)]
macosx: Remove spurious call.
(cherry picked from commit b0438df5b9a5a7976be069ec173bb2077f97fd58)

13 years agomacosx: Initially expand the primary Playlist node.
Derk-Jan Hartman [Tue, 30 Sep 2008 17:11:34 +0000 (19:11 +0200)]
macosx: Initially expand the primary Playlist node.
(cherry picked from commit 31a711e42ea80553aca57626903cdd822c8c1bea)

13 years agoFix linking
Rémi Denis-Courmont [Tue, 30 Sep 2008 15:42:54 +0000 (18:42 +0300)]
Fix linking

13 years agoUnexport vlc_object_waitpipe
Rémi Denis-Courmont [Tue, 30 Sep 2008 15:40:56 +0000 (18:40 +0300)]
Unexport vlc_object_waitpipe

13 years agoCode factorization
Rémi Denis-Courmont [Tue, 30 Sep 2008 15:39:26 +0000 (18:39 +0300)]
Code factorization

13 years agoWork around dirfd compilation breakage
Rémi Denis-Courmont [Tue, 30 Sep 2008 15:33:32 +0000 (18:33 +0300)]
Work around dirfd compilation breakage

(Not that I expect this to work at run-time)

13 years agomacosx: move the embeddedvout controls slightly to the right
Derk-Jan Hartman [Tue, 30 Sep 2008 13:23:12 +0000 (15:23 +0200)]
macosx: move the embeddedvout controls slightly to the right

forwardport [9439810ba6758c6ea1d306186a1dcf6e03f219e6]

13 years agomacosx: when saving updates, only allow for a dir to be selected.
Derk-Jan Hartman [Tue, 30 Sep 2008 12:56:00 +0000 (14:56 +0200)]
macosx: when saving updates, only allow for a dir to be selected.

The core currently cannot handle a target name

13 years agomacosx: The vlc update API can only handle a destination directory.
Derk-Jan Hartman [Tue, 30 Sep 2008 12:44:34 +0000 (14:44 +0200)]
macosx: The vlc update API can only handle a destination directory.

We now account for this and use an "OpenPanel" instead of a "SavePanel".

13 years agoWinCE: more missing functions fixes
Geoffroy Couprie [Tue, 30 Sep 2008 11:28:03 +0000 (13:28 +0200)]
WinCE: more missing functions fixes

13 years agoMerge branch 'master' of git://git.videolan.org/vlc
Geoffroy Couprie [Tue, 30 Sep 2008 10:08:41 +0000 (12:08 +0200)]
Merge branch 'master' of git://git.videolan.org/vlc

13 years agoWinCE: fix missing functions
Geoffroy Couprie [Tue, 30 Sep 2008 10:05:21 +0000 (12:05 +0200)]
WinCE: fix missing functions

13 years agoFix CID 207. (Resource leak)
Antoine Cellerier [Tue, 30 Sep 2008 10:04:26 +0000 (12:04 +0200)]
Fix CID 207. (Resource leak)

13 years agoDisconnect before trying with authentication
Ilkka Ollakka [Mon, 29 Sep 2008 14:02:28 +0000 (17:02 +0300)]
Disconnect before trying with authentication

Disconnects http-connection before trying with authentication info.
This enables to use http-authentication sources without leaking fds

Kinda work-around

13 years agoFix make dist
Christophe Mutricy [Mon, 29 Sep 2008 19:40:28 +0000 (20:40 +0100)]
Fix make dist

13 years agoRemove IS_WINNT macro
Geoffroy Couprie [Mon, 29 Sep 2008 18:39:52 +0000 (20:39 +0200)]
Remove IS_WINNT macro

13 years agoWinCE: cleaning my header inclusion mess
Geoffroy Couprie [Mon, 29 Sep 2008 16:52:20 +0000 (18:52 +0200)]
WinCE: cleaning my header inclusion mess

13 years agoWinCE: check for winsock2.h instead of winsock.h
Geoffroy Couprie [Mon, 29 Sep 2008 16:50:45 +0000 (18:50 +0200)]
WinCE: check for winsock2.h instead of winsock.h

13 years agoFormat string fixes
Rémi Denis-Courmont [Sun, 28 Sep 2008 18:58:49 +0000 (21:58 +0300)]
Format string fixes

13 years agoRemove VLC_OBJECT_LIBVLC
Rémi Denis-Courmont [Sun, 28 Sep 2008 17:51:36 +0000 (20:51 +0300)]
Remove VLC_OBJECT_LIBVLC

13 years agoRemove p_root hacks
Rémi Denis-Courmont [Sun, 28 Sep 2008 17:47:23 +0000 (20:47 +0300)]
Remove p_root hacks