vlc.git
11 years agoPreparser: detach thread and race to idle
Rémi Denis-Courmont [Sun, 2 Aug 2009 06:49:35 +0000 (09:49 +0300)]
Preparser: detach thread and race to idle

11 years agofetcher: detach thread and race to idle
Rémi Denis-Courmont [Sun, 2 Aug 2009 06:43:27 +0000 (09:43 +0300)]
fetcher: detach thread and race to idle

11 years agovlc_detach: releases a thread handle asynchronously
Rémi Denis-Courmont [Sat, 1 Aug 2009 20:59:41 +0000 (23:59 +0300)]
vlc_detach: releases a thread handle asynchronously

Note that this can only be used safely in the core. In a plug-in, it
would introduce a race whereby dlclose() unmaps the code segment that
a detached thread is running (this was discussed over a year ago).
For that, we'd need something a bit more involved along the lines of
Win32's FreeLibraryAndExitThread().

11 years agoWin32: make vlc_thread_t a plain HANDLE (no heap alloc)
Rémi Denis-Courmont [Sat, 1 Aug 2009 20:58:39 +0000 (23:58 +0300)]
Win32: make vlc_thread_t a plain HANDLE (no heap alloc)

11 years agoWin32: unimplement thread result
Rémi Denis-Courmont [Sat, 1 Aug 2009 20:52:24 +0000 (23:52 +0300)]
Win32: unimplement thread result

This is never used currently. Removing it simplifies the next commits.

11 years agoWin32: no need to put thread function into vlc_thread_t
Rémi Denis-Courmont [Sat, 1 Aug 2009 20:44:36 +0000 (23:44 +0300)]
Win32: no need to put thread function into vlc_thread_t

11 years agomacosx: disable unloading
Felix Paul Kühne [Sat, 1 Aug 2009 23:41:38 +0000 (01:41 +0200)]
macosx: disable unloading

11 years agomacosx: prepare the switch from dyld to 'Dynamic Loader Compatibility Functions'...
Felix Paul Kühne [Sat, 1 Aug 2009 23:41:00 +0000 (01:41 +0200)]
macosx: prepare the switch from dyld to 'Dynamic Loader Compatibility Functions' as partially intended by [7147338b7439f7f4a5d6d9c86e8d5d7a8501be4d]

Using Apple's legacy object file image functions around NSModule is strongly discouraged and won't work in the future at all.

11 years agoRevert "modules: added a hack to work-around the buggy 64bit runtime on OS X Leopard"
Rémi Denis-Courmont [Sat, 1 Aug 2009 20:05:10 +0000 (23:05 +0300)]
Revert "modules: added a hack to work-around the buggy 64bit runtime on OS X Leopard"

This reverts commit 75b34a6ca8ca8301420bb5b38571702df90eed6a.

11 years agomodules: added a hack to work-around the buggy 64bit runtime on OS X Leopard
Felix Paul Kühne [Sat, 1 Aug 2009 19:51:55 +0000 (21:51 +0200)]
modules: added a hack to work-around the buggy 64bit runtime on OS X Leopard

11 years agoXCB screen: timer thread safety
Rémi Denis-Courmont [Sat, 1 Aug 2009 18:35:54 +0000 (21:35 +0300)]
XCB screen: timer thread safety

11 years agoTest cases for timers
Rémi Denis-Courmont [Sat, 1 Aug 2009 16:55:40 +0000 (19:55 +0300)]
Test cases for timers

11 years agoDummy: remove dummy (indeed) access, convert demux to access_demux
Rémi Denis-Courmont [Sat, 1 Aug 2009 14:05:53 +0000 (17:05 +0300)]
Dummy: remove dummy (indeed) access, convert demux to access_demux

11 years agoDummy demux: simplify
Rémi Denis-Courmont [Sat, 1 Aug 2009 14:02:27 +0000 (17:02 +0300)]
Dummy demux: simplify

11 years agoDummy: handle sub-second pauses
Rémi Denis-Courmont [Sat, 1 Aug 2009 13:39:28 +0000 (16:39 +0300)]
Dummy: handle sub-second pauses

11 years agoQt4 playlist: keep item order when moving
Jakob Leben [Thu, 30 Jul 2009 23:28:13 +0000 (01:28 +0200)]
Qt4 playlist: keep item order when moving

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agoRevert "QT4: set sorting-connections by hand"
Rémi Denis-Courmont [Sat, 1 Aug 2009 12:46:51 +0000 (15:46 +0300)]
Revert "QT4: set sorting-connections by hand"

This reverts commit 3266085e187fc97cf3e037e6f9ea9dabefa2c4bc.
It triggers a crash whenever sorting manually.

11 years agocontribs: enforce compilation settings for x264 and lua, too
Felix Paul Kühne [Sat, 1 Aug 2009 12:46:23 +0000 (14:46 +0200)]
contribs: enforce compilation settings for x264 and lua, too

11 years agocontribs: make sure libgsm geet's compiled with the setup we chose on OS X
Felix Paul Kühne [Sat, 1 Aug 2009 12:02:06 +0000 (14:02 +0200)]
contribs: make sure libgsm geet's compiled with the setup we chose on OS X

11 years agoRemoved prefetch whole file advise in the file access.
Laurent Aimar [Sat, 1 Aug 2009 11:52:06 +0000 (13:52 +0200)]
Removed prefetch whole file advise in the file access.

On all my linux PC (debian sid and lenny) it has really bad side effects,
mostly when seeking and at startup up (slow or even blocking), and makes
sshfs unusable.

11 years agoSplit back window module providers by type.
Laurent Aimar [Sat, 1 Aug 2009 11:44:47 +0000 (13:44 +0200)]
Split back window module providers by type.

11 years agofreetype: initialise fontresult to FcResultMatch
Ilkka Ollakka [Sat, 1 Aug 2009 10:04:19 +0000 (13:04 +0300)]
freetype: initialise fontresult to FcResultMatch

fontconfig doesn't really seem to set that result variable correctly
in allmost all cases, only few codepaths that it's setted to NoMatch,
but it doesn't get setted on valid paths or configerrors or any of
thosecases. Thanks to Laurent Aimar for this one.

11 years agoMoved out video statistics to its own file and use a dedicated lock.
Laurent Aimar [Fri, 31 Jul 2009 22:32:54 +0000 (00:32 +0200)]
Moved out video statistics to its own file and use a dedicated lock.

11 years agoMoved out snapshot code to a standalone file.
Laurent Aimar [Fri, 31 Jul 2009 22:06:41 +0000 (00:06 +0200)]
Moved out snapshot code to a standalone file.

11 years agoUpdated xcb vout module to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:59:47 +0000 (21:59 +0200)]
Updated xcb vout module to the new API.

11 years agoUpdated omapfb vout module to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:58:57 +0000 (21:58 +0200)]
Updated omapfb vout module to the new API.

11 years agoUpdated msw vout modules to the new window API.
Laurent Aimar [Fri, 31 Jul 2009 19:58:08 +0000 (21:58 +0200)]
Updated msw vout modules to the new window API.

11 years agoUpdated xlib vout module to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:35:00 +0000 (21:35 +0200)]
Updated xlib vout module to the new API.

11 years agoUpdated drawable vout_window provider to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:26:00 +0000 (21:26 +0200)]
Updated drawable vout_window provider to the new API.

11 years agoUpdated maemo vout_window provider to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:24:33 +0000 (21:24 +0200)]
Updated maemo vout_window provider to the new API.

11 years agoUpdated skins2 vout_window provider to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:23:12 +0000 (21:23 +0200)]
Updated skins2 vout_window provider to the new API.

11 years agoUpdated qt4 vout_window provider to the new API.
Laurent Aimar [Fri, 31 Jul 2009 19:16:32 +0000 (21:16 +0200)]
Updated qt4 vout_window provider to the new API.

11 years agoModified vout_window_t to be completly independant of vout.
Laurent Aimar [Fri, 31 Jul 2009 19:15:33 +0000 (21:15 +0200)]
Modified vout_window_t to be completly independant of vout.

11 years agoTag some more options as safe
Anthony Loiseau [Mon, 11 May 2009 08:38:02 +0000 (10:38 +0200)]
Tag some more options as safe

Add:
- http-user-agent
- ps-trust-timestamps
- vout-event
And some rtsp options (username, passwd)

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agoUpdate thanks
Rémi Denis-Courmont [Sat, 1 Aug 2009 08:42:00 +0000 (11:42 +0300)]
Update thanks

11 years agoBump libvlccore version to compensate 1.0-bugfix age increase
Rémi Denis-Courmont [Sat, 1 Aug 2009 08:39:15 +0000 (11:39 +0300)]
Bump libvlccore version to compensate 1.0-bugfix age increase

I don't know if this is really useful. On Linux it is not really useful
given the libtool versioning algorithm (VER:REV:AGE -> VER-AGE:AGE:REV)
ensures different sonames in any case.

11 years agoRevert "Increased version-info after modification in 1.0 branch."
Rémi Denis-Courmont [Sat, 1 Aug 2009 08:37:31 +0000 (11:37 +0300)]
Revert "Increased version-info after modification in 1.0 branch."

This reverts commit 17eb17c58c0f0a86c3e6d74a8c87067e2e049520.

11 years agoAdding mirror video filter
Branko Kokanovic [Sat, 18 Jul 2009 08:18:15 +0000 (10:18 +0200)]
Adding mirror video filter

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agofactor the ogg paging code
ogg.k.ogg.k [Thu, 30 Jul 2009 10:12:22 +0000 (11:12 +0100)]
factor the ogg paging code

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years agomacosx: implemented 'play-and-exit' (closes #2237)
Felix Paul Kühne [Fri, 31 Jul 2009 13:43:54 +0000 (15:43 +0200)]
macosx: implemented 'play-and-exit' (closes #2237)

Should be backported.

11 years agomacosx: implemented the input-slave option for file inputs
Felix Paul Kühne [Fri, 31 Jul 2009 13:09:53 +0000 (15:09 +0200)]
macosx: implemented the input-slave option for file inputs

11 years agopython-ctypes: implement iterator protocol for Log
Olivier Aubert [Fri, 31 Jul 2009 16:01:41 +0000 (18:01 +0200)]
python-ctypes: implement iterator protocol for Log

11 years agopython-ctypes: improve documentation generation
Olivier Aubert [Fri, 31 Jul 2009 15:58:36 +0000 (17:58 +0200)]
python-ctypes: improve documentation generation

11 years agoSimplify the other part, too.
JP Dinger [Tue, 28 Jul 2009 14:04:47 +0000 (16:04 +0200)]
Simplify the other part, too.

11 years agoFactorise list.sh a bit: rewrite some multiple commands as one where easy.
JP Dinger [Mon, 27 Jul 2009 13:54:53 +0000 (15:54 +0200)]
Factorise list.sh a bit: rewrite some multiple commands as one where easy.

11 years agoDrop a const on a static array and misc cleanup.
JP Dinger [Fri, 31 Jul 2009 16:26:16 +0000 (18:26 +0200)]
Drop a const on a static array and misc cleanup.

11 years agopython-ctypes: fix docstrings
Olivier Aubert [Fri, 31 Jul 2009 15:29:26 +0000 (17:29 +0200)]
python-ctypes: fix docstrings

11 years agopython-ctypes: fix doxygen to epydoc comment conversion
Olivier Aubert [Fri, 31 Jul 2009 15:22:16 +0000 (17:22 +0200)]
python-ctypes: fix doxygen to epydoc comment conversion

11 years agoFix comments/variable names in includes
Olivier Aubert [Fri, 31 Jul 2009 15:21:14 +0000 (17:21 +0200)]
Fix comments/variable names in includes

11 years agopython-ctypes: update README
Olivier Aubert [Fri, 31 Jul 2009 15:11:38 +0000 (17:11 +0200)]
python-ctypes: update README

11 years agopython-ctypes: offer shortcuts for MediaList and MediaListPlayer creation
Olivier Aubert [Fri, 31 Jul 2009 15:06:25 +0000 (17:06 +0200)]
python-ctypes: offer shortcuts for MediaList and MediaListPlayer creation

11 years agopython-ctypes: fix spacing in docstring comments
Olivier Aubert [Fri, 31 Jul 2009 14:59:18 +0000 (16:59 +0200)]
python-ctypes: fix spacing in docstring comments

11 years agopython-ctypes: allow to specify class docstrings in override.py
Olivier Aubert [Fri, 31 Jul 2009 14:39:32 +0000 (16:39 +0200)]
python-ctypes: allow to specify class docstrings in override.py

11 years agopython-ctypes: do not redefine overridden methods
Olivier Aubert [Fri, 31 Jul 2009 14:22:25 +0000 (16:22 +0200)]
python-ctypes: do not redefine overridden methods

11 years agopyton-ctypes: reset comment when parsing includes
Olivier Aubert [Fri, 31 Jul 2009 12:57:59 +0000 (14:57 +0200)]
pyton-ctypes: reset comment when parsing includes

11 years agopython-ctypes: generate list methods when possible
Olivier Aubert [Fri, 31 Jul 2009 12:55:55 +0000 (14:55 +0200)]
python-ctypes: generate list methods when possible

11 years agopython-ctypes: convert NULL return values to None
Olivier Aubert [Fri, 31 Jul 2009 12:40:58 +0000 (14:40 +0200)]
python-ctypes: convert NULL return values to None

11 years agopython-ctypes: generate classes for enum typedefs
Olivier Aubert [Fri, 31 Jul 2009 12:15:43 +0000 (14:15 +0200)]
python-ctypes: generate classes for enum typedefs

11 years agovariables:
Rémi Duraffort [Fri, 31 Jul 2009 11:47:19 +0000 (13:47 +0200)]
variables:
 * print a warning when var_DelCallback can't find the callback because the
   data doesn't match
 * these warning are only for debug builds.

11 years agovariables:
Rémi Duraffort [Fri, 31 Jul 2009 11:17:45 +0000 (13:17 +0200)]
variables:
 * print an error message when the variable creation failed because of a name
   clash (two variables with the same name but different types)
 * print a warning when calling var_Get on a void variable
 * fix one comment as the list is NOT sorted (and that too expensif to do).

11 years agoQT4: set sorting-connections by hand
Ilkka Ollakka [Fri, 31 Jul 2009 10:36:58 +0000 (13:36 +0300)]
QT4: set sorting-connections by hand

Thisway playlist don't run sort when created (in case of you start vlc,
and don't set playlist visible then adding stuff. When you open playlist
it would sort the stuff).

Also remove showing sort-indicator incorrectly on start (don't show
it at all before user clicks to sort).

11 years agoncurses: check playlist_CurrentPlayingItem() return value
Rafaël Carré [Fri, 31 Jul 2009 09:57:27 +0000 (11:57 +0200)]
ncurses: check playlist_CurrentPlayingItem() return value

11 years agodvb: scanning ain't only -T, change dialog
Ilkka Ollakka [Fri, 31 Jul 2009 09:52:21 +0000 (12:52 +0300)]
dvb: scanning ain't only -T, change dialog

11 years agopodcast: implement image support (it might be a good idea to be able to set the
Rémi Duraffort [Fri, 31 Jul 2009 09:28:03 +0000 (11:28 +0200)]
podcast: implement image support (it might be a good idea to be able to set the
art url only for the input parent as that's always the same image for all
inputs).

11 years agofetcher: fix a typo (thanks to fenrir).
Rémi Duraffort [Fri, 31 Jul 2009 09:10:41 +0000 (11:10 +0200)]
fetcher: fix a typo (thanks to fenrir).

11 years agomacosx: some more Sparkle demos
Felix Paul Kühne [Fri, 31 Jul 2009 09:06:25 +0000 (11:06 +0200)]
macosx: some more Sparkle demos

11 years agomacosx: modernise framework compilation flags
Felix Paul Kühne [Fri, 31 Jul 2009 08:57:48 +0000 (10:57 +0200)]
macosx: modernise framework compilation flags

11 years agoclean up
Felix Paul Kühne [Thu, 30 Jul 2009 18:46:31 +0000 (20:46 +0200)]
clean up

11 years agolibvlc: Remove unimplemented media_list_view functions declaration.
Pierre d'Herbemont [Fri, 31 Jul 2009 08:41:27 +0000 (01:41 -0700)]
libvlc: Remove unimplemented media_list_view functions declaration.

And add two lines that attempt to explain a bit more what is this class about.

Pointed by Olivier Aubert.

11 years agoraop: Implement password authentication
Michael Hanselmann [Wed, 29 Jul 2009 20:47:20 +0000 (22:47 +0200)]
raop: Implement password authentication

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Signed-off-by: JP Dinger <jpd@videolan.org>
11 years agoraop: Implement options for password
Michael Hanselmann [Thu, 30 Jul 2009 21:30:38 +0000 (23:30 +0200)]
raop: Implement options for password

The password can either be directly passed as an option, or it can
be stored in a file whose path is then passed as an option.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Signed-off-by: JP Dinger <jpd@videolan.org>
11 years agopodcast: remove the sys struct because we don't really need it.
Rémi Duraffort [Fri, 31 Jul 2009 07:49:33 +0000 (09:49 +0200)]
podcast: remove the sys struct because we don't really need it.

11 years agopodcast: fix object leak (and memleak) in case of error.
Rémi Duraffort [Fri, 31 Jul 2009 07:37:34 +0000 (09:37 +0200)]
podcast: fix object leak (and memleak) in case of error.

11 years agopodcast: no need to strdup the string here.
Rémi Duraffort [Fri, 31 Jul 2009 06:30:41 +0000 (08:30 +0200)]
podcast: no need to strdup the string here.

11 years agopodcast: fix typo and remove unused p_sys member.
Rémi Duraffort [Fri, 31 Jul 2009 06:22:34 +0000 (08:22 +0200)]
podcast: fix typo and remove unused p_sys member.

11 years agothreads: remove unused fields in headers
Pierre Ynard [Thu, 30 Jul 2009 20:21:12 +0000 (22:21 +0200)]
threads: remove unused fields in headers

They are an overlook from the removal of the thread serialization

11 years agoIncreased version-info after modification in 1.0 branch.
Laurent Aimar [Thu, 30 Jul 2009 19:31:16 +0000 (21:31 +0200)]
Increased version-info after modification in 1.0 branch.

11 years agopodcast: set the duration of an input item when available.
Rémi Duraffort [Thu, 30 Jul 2009 17:10:17 +0000 (19:10 +0200)]
podcast: set the duration of an input item when available.

11 years agopodcast: no need to strdup (as we free the original value afterward).
Rémi Duraffort [Thu, 30 Jul 2009 16:35:28 +0000 (18:35 +0200)]
podcast: no need to strdup (as we free the original value afterward).

11 years agopodcast: factorize.
Rémi Duraffort [Thu, 30 Jul 2009 16:01:17 +0000 (18:01 +0200)]
podcast: factorize.

11 years agoFix podcast configuration.
Rémi Duraffort [Thu, 30 Jul 2009 15:15:38 +0000 (17:15 +0200)]
Fix podcast configuration.

11 years agoUpdate LIST.
Rémi Duraffort [Thu, 30 Jul 2009 14:27:56 +0000 (16:27 +0200)]
Update LIST.

11 years agoUse var_ToggleBool.
Rémi Duraffort [Thu, 30 Jul 2009 14:10:34 +0000 (16:10 +0200)]
Use var_ToggleBool.

11 years agomacosx: forward-port recent preferences and media keys enhancements
Felix Paul Kühne [Thu, 30 Jul 2009 15:09:56 +0000 (17:09 +0200)]
macosx: forward-port recent preferences and media keys enhancements

This includes [eb241138f52e7fbf1e83b07791bad007e2c2f3c6], [fb5108db888105b7fd07f89aaee5eb979ec8be15], [b8d90e93024e3e3f816f6a37d4c8933cdbbc8592], [acb8baa1e5e0d490353d92bbc1cf5902a3bdd792]. Regrettably, these weren't cherry-pickable.

11 years agoRestored Leopard compatibility lost in previous commits
Felix Paul Kühne [Thu, 30 Jul 2009 14:51:45 +0000 (16:51 +0200)]
Restored Leopard compatibility lost in previous commits

11 years agofontconfig: fix memleak (typo).
Rémi Duraffort [Thu, 30 Jul 2009 12:45:25 +0000 (14:45 +0200)]
fontconfig: fix memleak (typo).

11 years agoadd video streams' BOS packets first
ogg.k.ogg.k [Wed, 29 Jul 2009 22:09:11 +0000 (23:09 +0100)]
add video streams' BOS packets first

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agofontconfig: factorize and fix memleaks.
Rémi Duraffort [Thu, 30 Jul 2009 12:33:40 +0000 (14:33 +0200)]
fontconfig: factorize and fix memleaks.

11 years agovariables: var_IncInteger and var_DecInteger are now atomic.
Rémi Duraffort [Thu, 30 Jul 2009 06:58:20 +0000 (08:58 +0200)]
variables: var_IncInteger and var_DecInteger are now atomic.

11 years agodemux: use calloc when applicable.
Rémi Duraffort [Wed, 29 Jul 2009 11:52:35 +0000 (13:52 +0200)]
demux: use calloc when applicable.

11 years agoplaylist_demux: remove unneeded peek.
Rémi Duraffort [Wed, 29 Jul 2009 11:43:24 +0000 (13:43 +0200)]
playlist_demux: remove unneeded peek.

11 years agofreetype: initialise variable and check fontmatch pointer
Ilkka Ollakka [Thu, 30 Jul 2009 11:32:48 +0000 (14:32 +0300)]
freetype: initialise variable and check fontmatch pointer

11 years agox264: when partitions=all, just set partitions~0
Ilkka Ollakka [Thu, 30 Jul 2009 11:00:47 +0000 (14:00 +0300)]
x264: when partitions=all, just set partitions~0

11 years agodvb-c: somewhat working channel-scanning in linux
Ilkka Ollakka [Thu, 30 Jul 2009 10:56:45 +0000 (13:56 +0300)]
dvb-c: somewhat working channel-scanning in linux

it checks table of frequencies that usually contains channels. Thou
dvb-c users need to check if modulation and symbol-rate are correct for
them (atleast for me modulation auto didn't work).

example commandline that worked for me:
vlc dvb:// --dvb-srate=6875000 --dvb-modulation 128

11 years agodvb-c: check symbol-rate limits from frontend
Ilkka Ollakka [Thu, 30 Jul 2009 10:55:18 +0000 (13:55 +0300)]
dvb-c: check symbol-rate limits from frontend

default symbol-rate is suited to dvb-s and is over limits for dvb-c, so
check given symbol-rate and default to somewhat common value if so.

11 years agoWin32: wait for timer callbacks to complete when destroying timer
Pierre Ynard [Thu, 30 Jul 2009 09:16:15 +0000 (11:16 +0200)]
Win32: wait for timer callbacks to complete when destroying timer

Or else a timer callback might still be running when the caller frees
its resources, which is bad

11 years agopython-ctypes: one more TODO item
Olivier Aubert [Thu, 30 Jul 2009 09:03:35 +0000 (11:03 +0200)]
python-ctypes: one more TODO item

11 years agoFix comments in include files
Olivier Aubert [Tue, 28 Jul 2009 23:08:34 +0000 (01:08 +0200)]
Fix comments in include files

11 years agoNew python bindings, using ctypes, automatically generated from include files.
Olivier Aubert [Thu, 30 Jul 2009 08:39:56 +0000 (10:39 +0200)]
New python bindings, using ctypes, automatically generated from include files.

11 years agopython: remove deprecated methods
Olivier Aubert [Tue, 28 Jul 2009 22:13:35 +0000 (00:13 +0200)]
python: remove deprecated methods