]> git.sesse.net Git - vlc/log
vlc
14 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

14 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)

14 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

14 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

14 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.

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

14 years agoE-AC3 patch update
Jean-Baptiste Kempf [Fri, 7 Aug 2009 08:59:32 +0000 (10:59 +0200)]
E-AC3 patch update

14 years agoRevert "Remove useless assignation"
Laurent Aimar [Thu, 6 Aug 2009 22:28:04 +0000 (00:28 +0200)]
Revert "Remove useless assignation"

This reverts commit 338355426e19d4cb0d92a632a44726c7f249fdcd.
It segfaults as p_next is now uninitialized.

==25869== Conditional jump or move depends on uninitialised value(s)
==25869==    at 0x5078332: GetNextItem (tree.c:441)
==25869==    by 0x5078D7A: playlist_GetNextLeaf (tree.c:362)
==25869==    by 0x5071CFE: ResetCurrentlyPlaying (thread.c:197)
==25869==    by 0x5072952: Thread (thread.c:596)
==25869==    by 0x577AFC6: start_thread (in /lib/libpthread-2.7.so)
==25869==    by 0x5EE65AC: clone (in /lib/libc-2.7.so)

14 years agoFixed a segfault in module_Load in case of error.
Laurent Aimar [Thu, 6 Aug 2009 22:26:53 +0000 (00:26 +0200)]
Fixed a segfault in module_Load in case of error.

14 years agolibass: rename types to match upstream
Grigori Goronzy [Thu, 6 Aug 2009 21:53:38 +0000 (23:53 +0200)]
libass: rename types to match upstream

Rename types and add compatibility macro for old libass versions.

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
14 years agoRemove useless assignation
Rémi Denis-Courmont [Thu, 6 Aug 2009 20:04:47 +0000 (23:04 +0300)]
Remove useless assignation

14 years agofreetype: add error-output
Ilkka Ollakka [Thu, 6 Aug 2009 19:06:29 +0000 (22:06 +0300)]
freetype: add error-output

14 years agofreetype: force updating fontcache on loading of module
Ilkka Ollakka [Thu, 6 Aug 2009 18:58:11 +0000 (21:58 +0300)]
freetype: force updating fontcache on loading of module

Remove external thread for fontdbbuiler, and do it on load. First run is
slower on windows, so show dialog about it to user. Following runs
should be much faster (atleast according to my own tests).

So on optimal case user sees that font-dialog only once when initial
cache is created.

One idea was to load freetype-module on start of vlc, so it would create
that cache on start of vlc instead of start of video (when showing
title), and could be changed to show something like 'VLC is starting
first time, please wait a while...' or so.

Feel free to revert/change/complain about this if it doesn't work for
you.

14 years agovlc-wrapper needs -lsocket on Solaris (fixes: #3035)
Rémi Denis-Courmont [Thu, 6 Aug 2009 18:06:04 +0000 (21:06 +0300)]
vlc-wrapper needs -lsocket on Solaris (fixes: #3035)

14 years agoRemove broken lrint hack (fix: #3030)
Rémi Denis-Courmont [Thu, 6 Aug 2009 17:52:52 +0000 (20:52 +0300)]
Remove broken lrint hack (fix: #3030)

14 years agoWork around missing POSIX.2008 dirfd() on Solaris (fixes: #3029)
Rémi Denis-Courmont [Thu, 6 Aug 2009 17:39:37 +0000 (20:39 +0300)]
Work around missing POSIX.2008 dirfd() on Solaris (fixes: #3029)

14 years agoFix config parameter descriptive comment (fixes: #3032)
Rémi Denis-Courmont [Thu, 6 Aug 2009 17:31:14 +0000 (20:31 +0300)]
Fix config parameter descriptive comment (fixes: #3032)

14 years agoDo not undef _FILE_OFFSET_BITS (fixes: #3031)
Rémi Denis-Courmont [Thu, 6 Aug 2009 17:02:30 +0000 (20:02 +0300)]
Do not undef _FILE_OFFSET_BITS (fixes: #3031)

This partially reverts f1175e715bfd288cdd17bf34ee3ee4f4b137432b.

14 years agoCheck for fstatfs (fixes: #3028)
Rémi Denis-Courmont [Thu, 6 Aug 2009 16:54:45 +0000 (19:54 +0300)]
Check for fstatfs (fixes: #3028)

14 years agoWork around missing PF_LOCAL (fixes: #3027)
Rémi Denis-Courmont [Thu, 6 Aug 2009 16:41:24 +0000 (19:41 +0300)]
Work around missing PF_LOCAL (fixes: #3027)

14 years agoCosmetic: socket(AF_ -> socket(PF_
Rémi Denis-Courmont [Thu, 6 Aug 2009 16:40:35 +0000 (19:40 +0300)]
Cosmetic: socket(AF_ -> socket(PF_

14 years agoSpecify the install path for plugins
Rémi Denis-Courmont [Thu, 6 Aug 2009 15:31:19 +0000 (18:31 +0300)]
Specify the install path for plugins

This is just pedantic. Nobody links against plugins anyway.

14 years agoUpdate libass repo location
Jean-Baptiste Kempf [Thu, 6 Aug 2009 14:22:48 +0000 (16:22 +0200)]
Update libass repo location

14 years agoKeep access_gnomevfs as the plugin name
Jean-Baptiste Kempf [Thu, 6 Aug 2009 06:41:25 +0000 (08:41 +0200)]
Keep access_gnomevfs as the plugin name

14 years agoSimplify Jack and DCA detection
Jean-Baptiste Kempf [Wed, 5 Aug 2009 22:08:08 +0000 (00:08 +0200)]
Simplify Jack and DCA detection

14 years agoSimplify portaudio and libxml2 detection
Jean-Baptiste Kempf [Wed, 5 Aug 2009 21:54:01 +0000 (23:54 +0200)]
Simplify portaudio and libxml2 detection

14 years agoConfigure: update macro to deal with the case where you want --enable-foo, but the...
Jean-Baptiste Kempf [Wed, 5 Aug 2009 20:22:39 +0000 (22:22 +0200)]
Configure: update macro to deal with the case where you want --enable-foo, but the module name is not foo.

So, add a new argument that can be empty
This happens for --enable-dv (access_dv) --enable-shout (stream_output_shout)

14 years agoSimplify dc1394 and dv detection.
Jean-Baptiste Kempf [Wed, 5 Aug 2009 19:28:49 +0000 (21:28 +0200)]
Simplify dc1394 and dv detection.

Be careful, while dv was updated to the new APIs, dc1394 wasn't

14 years agoFixed the YUV fallbacks for I440.
Laurent Aimar [Wed, 5 Aug 2009 20:41:31 +0000 (22:41 +0200)]
Fixed the YUV fallbacks for I440.

14 years agoEnabled SDL in "vout display" wrapper.
Laurent Aimar [Wed, 5 Aug 2009 18:57:11 +0000 (20:57 +0200)]
Enabled SDL in "vout display" wrapper.

14 years agoConverted vout sdl to "vout display" API.
Laurent Aimar [Wed, 5 Aug 2009 18:56:23 +0000 (20:56 +0200)]
Converted vout sdl to "vout display" API.

14 years agoAdded YUV fourcc helpers mainly for vout.
Laurent Aimar [Wed, 5 Aug 2009 18:17:16 +0000 (20:17 +0200)]
Added YUV fourcc helpers mainly for vout.

14 years agoFix configure for win32
Jean-Baptiste Kempf [Wed, 5 Aug 2009 18:59:57 +0000 (20:59 +0200)]
Fix configure for win32

14 years agoSimplify HAL, mtp, notify, gnomeVFS, libmpeg2, projectm and bonjour
Jean-Baptiste Kempf [Wed, 5 Aug 2009 17:22:12 +0000 (19:22 +0200)]
Simplify HAL, mtp, notify, gnomeVFS, libmpeg2, projectm and bonjour

14 years agoAVcodec version needed for 1.1 is 51.48.0 so far.
Jean-Baptiste Kempf [Wed, 5 Aug 2009 16:46:03 +0000 (18:46 +0200)]
AVcodec version needed for 1.1 is 51.48.0 so far.

14 years agoSimplify shout, libproxy detection
Jean-Baptiste Kempf [Wed, 5 Aug 2009 15:15:45 +0000 (17:15 +0200)]
Simplify shout, libproxy detection

14 years agoSimplify ogg, and flac detection
Jean-Baptiste Kempf [Wed, 5 Aug 2009 16:09:22 +0000 (18:09 +0200)]
Simplify ogg, and flac detection

14 years agoSimplify vorbis detection and activate encoder except when tremor is requested
Jean-Baptiste Kempf [Wed, 5 Aug 2009 16:01:36 +0000 (18:01 +0200)]
Simplify vorbis detection and activate encoder except when tremor is requested

14 years agoSimplify Pulseaudio detection
Jean-Baptiste Kempf [Wed, 5 Aug 2009 15:52:56 +0000 (17:52 +0200)]
Simplify Pulseaudio detection

14 years agoDelete CSRI module. Unmaintained and libass is better.
Jean-Baptiste Kempf [Wed, 5 Aug 2009 15:50:27 +0000 (17:50 +0200)]
Delete CSRI module. Unmaintained and libass is better.

14 years agoSimplify SVG, tiger and fluidsynth detection
Jean-Baptiste Kempf [Wed, 5 Aug 2009 15:42:28 +0000 (17:42 +0200)]
Simplify SVG, tiger and fluidsynth detection

14 years agoConfigure, create a m4cro for checking dependencies in pkg_config
Jean-Baptiste Kempf [Wed, 5 Aug 2009 14:56:34 +0000 (16:56 +0200)]
Configure, create a m4cro for checking dependencies in pkg_config

--enable-foo will search for the foo.pc and die if not provided
--disable-foo will not search anything related to foo
'' will search for foo.pc and give a message if foo.pc is not provided.

14 years agomacosx: allow 'wm' and 'rmvb' as file extensions and update the xcode project format
Felix Paul Kühne [Tue, 4 Aug 2009 21:16:33 +0000 (23:16 +0200)]
macosx: allow 'wm' and 'rmvb' as file extensions and update the xcode project format

14 years agoEnabled caca in "vout display" wrapper.
Laurent Aimar [Mon, 3 Aug 2009 18:53:21 +0000 (20:53 +0200)]
Enabled caca in "vout display" wrapper.

14 years agoConverted vout caca to "vout display" API.
Laurent Aimar [Mon, 3 Aug 2009 18:52:37 +0000 (20:52 +0200)]
Converted vout caca to "vout display" API.

14 years agoEnabled aa in "vout display" wrapper.
Laurent Aimar [Mon, 3 Aug 2009 18:28:44 +0000 (20:28 +0200)]
Enabled aa in "vout display" wrapper.

14 years agoConverted vout aa to "vout display" API.
Laurent Aimar [Mon, 3 Aug 2009 18:27:56 +0000 (20:27 +0200)]
Converted vout aa to "vout display" API.

14 years agoAdded a temporary "vout display" wrapper.
Laurent Aimar [Mon, 3 Aug 2009 17:57:44 +0000 (19:57 +0200)]
Added a temporary "vout display" wrapper.

14 years agoIntroduce "vout display" module API to replaced "vout" one.
Laurent Aimar [Mon, 3 Aug 2009 17:52:34 +0000 (19:52 +0200)]
Introduce "vout display" module API to replaced "vout" one.

14 years agoRC: add frame-by-frame function
Andy Chenee [Fri, 31 Jul 2009 00:38:15 +0000 (08:38 +0800)]
RC: add frame-by-frame function

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
14 years agoHTTPd: do not reveal the username through as the realm (fixes: #2993)
Rémi Denis-Courmont [Tue, 4 Aug 2009 18:05:32 +0000 (21:05 +0300)]
HTTPd: do not reveal the username through as the realm (fixes: #2993)

14 years agoQt4: determine saved playlist format from selected filter...
Rémi Denis-Courmont [Tue, 4 Aug 2009 17:25:49 +0000 (20:25 +0300)]
Qt4: determine saved playlist format from selected filter...

...rather than extension (if any). Fixes: #3016.
Also make the code a bit more generic.

14 years agoRewrite quartztext to use CoreText API instead of ATSUI. ATSUI only works in 32bit...
Bernie Purcell [Sun, 28 Jun 2009 07:48:50 +0000 (17:48 +1000)]
Rewrite quartztext to use CoreText API instead of ATSUI. ATSUI only works in 32bit applications, but CoreText requires Mac OS X 10.5 or later. This change makes this module unusable on older versions of Mac OS X.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
14 years agoRevert "fix make check for commit-id 681ac9f14efd4a8611e7868004f59d5bf4f84d71"
Rémi Denis-Courmont [Tue, 4 Aug 2009 16:38:58 +0000 (19:38 +0300)]
Revert "fix make check for commit-id 681ac9f14efd4a8611e7868004f59d5bf4f84d71"

This reverts commit 224e96f2aef487ad50bb0930b5e80c743d4f09e5.

14 years agoRevert "Alphabetical order"
Rémi Denis-Courmont [Tue, 4 Aug 2009 16:38:20 +0000 (19:38 +0300)]
Revert "Alphabetical order"

This reverts commit d090550772ca52f1273e2d011a78e422c8ce0d97.

14 years agoRevert "Fix make check."
Rémi Denis-Courmont [Tue, 4 Aug 2009 16:37:38 +0000 (19:37 +0300)]
Revert "Fix make check."

This reverts commit 7b4a81eb107131d521ba45c7653c205c3da5baf0.

14 years agoRevert "Sort the symbol list"
Rémi Denis-Courmont [Tue, 4 Aug 2009 16:37:25 +0000 (19:37 +0300)]
Revert "Sort the symbol list"

This reverts commit aeb379ed6492e78614779cc1d62d65287fb4012d.

14 years agoRevert "Fix make check."
Rémi Denis-Courmont [Tue, 4 Aug 2009 16:37:14 +0000 (19:37 +0300)]
Revert "Fix make check."

This reverts commit 98691bc7280d936f094037841b68939e1bc1548d.

14 years agortsp-caching is in live555 plugin
Rémi Denis-Courmont [Tue, 4 Aug 2009 16:36:40 +0000 (19:36 +0300)]
rtsp-caching is in live555 plugin

14 years agoFix unsorted check_symbols
Rémi Denis-Courmont [Tue, 4 Aug 2009 16:36:22 +0000 (19:36 +0300)]
Fix unsorted check_symbols

14 years agomacosx: minor ui changes
Felix Paul Kühne [Tue, 4 Aug 2009 16:38:24 +0000 (18:38 +0200)]
macosx: minor ui changes

14 years agoHave (and document) libvlc_media_get_duration return ms
Olivier Aubert [Tue, 4 Aug 2009 14:53:42 +0000 (16:53 +0200)]
Have (and document) libvlc_media_get_duration return ms

in order to be consistent with other libvlc methods (libvlc_media_player_get_length, get_time, ...)

14 years agopython-ctypes: in app mode, quit on end-of-stream
Olivier Aubert [Tue, 4 Aug 2009 14:48:30 +0000 (16:48 +0200)]
python-ctypes: in app mode, quit on end-of-stream

14 years agopython-ctypes: raise a LibVLCException in case of error
Olivier Aubert [Tue, 4 Aug 2009 14:38:52 +0000 (16:38 +0200)]
python-ctypes: raise a LibVLCException in case of error

14 years agofreetype: check xml-pointer before deleting it
Ilkka Ollakka [Tue, 4 Aug 2009 10:29:07 +0000 (13:29 +0300)]
freetype: check xml-pointer before deleting it

14 years agopython-ctypes: fix trailing whitespace
Olivier Aubert [Tue, 4 Aug 2009 09:37:47 +0000 (11:37 +0200)]
python-ctypes: fix trailing whitespace

14 years agopython-ctypes: extend interactive command set
Olivier Aubert [Tue, 4 Aug 2009 09:19:28 +0000 (11:19 +0200)]
python-ctypes: extend interactive command set

14 years agopython-ctypes: improve win32 support
Olivier Aubert [Tue, 4 Aug 2009 08:54:45 +0000 (10:54 +0200)]
python-ctypes: improve win32 support

14 years agopython-ctypes: make the executable version more interactive
Olivier Aubert [Mon, 3 Aug 2009 20:18:45 +0000 (22:18 +0200)]
python-ctypes: make the executable version more interactive

14 years agolibvlc: clean up libvlc_Stopped and vlc_to_libvlc_state usage.
Jean-Paul Saman [Fri, 24 Jul 2009 14:35:21 +0000 (16:35 +0200)]
libvlc: clean up libvlc_Stopped and vlc_to_libvlc_state usage.

14 years agolibasf: remove stray '\'
Jean-Paul Saman [Fri, 10 Jul 2009 09:33:46 +0000 (11:33 +0200)]
libasf: remove stray '\'
(cherry picked from commit 35baa96f7b3493737c1575c2dbffc7946a9c04df)

Signed-off-by: Jean-Paul Saman <jean-paul.saman@m2x.nl>
14 years agoFreetype: more debug for Fc Building, aimed at Win32
Jean-Baptiste Kempf [Mon, 3 Aug 2009 21:28:44 +0000 (23:28 +0200)]
Freetype: more debug for Fc Building, aimed at Win32

14 years agofreetype: don't load/unload xml-module on every RenderHtml call
Ilkka Ollakka [Mon, 3 Aug 2009 21:23:45 +0000 (00:23 +0300)]
freetype: don't load/unload xml-module on every RenderHtml call

14 years agofreetype: use selected fontfamily to render also subtitles
Ilkka Ollakka [Mon, 3 Aug 2009 20:36:08 +0000 (23:36 +0300)]
freetype: use selected fontfamily to render also subtitles

14 years agoncurses: lock playlist in open box
Rafaël Carré [Mon, 3 Aug 2009 19:59:25 +0000 (21:59 +0200)]
ncurses: lock playlist in open box

14 years agoQt4: save only the family of the font
Jean-Baptiste Kempf [Mon, 3 Aug 2009 19:45:36 +0000 (21:45 +0200)]
Qt4: save only the family of the font

14 years agoQt: Font setting, restore the value from vlcrc.
Jean-Baptiste Kempf [Mon, 3 Aug 2009 19:35:01 +0000 (21:35 +0200)]
Qt: Font setting, restore the value from vlcrc.

14 years agoQt: font selector, align on the right.
Jean-Baptiste Kempf [Mon, 3 Aug 2009 19:14:59 +0000 (21:14 +0200)]
Qt: font selector, align on the right.

14 years agoQt: Use a QFontComboBox instead of a QFontDialog.
Jean-Baptiste Kempf [Mon, 3 Aug 2009 19:07:43 +0000 (21:07 +0200)]
Qt: Use a QFontComboBox instead of a QFontDialog.

14 years agoFix free() warning
Rémi Denis-Courmont [Mon, 3 Aug 2009 17:13:36 +0000 (20:13 +0300)]
Fix free() warning

14 years agovlc_timer_gettime: fix corner-case dead lock
Rémi Denis-Courmont [Mon, 3 Aug 2009 16:35:37 +0000 (19:35 +0300)]
vlc_timer_gettime: fix corner-case dead lock

If vlc_cancel() while the timer thread is between mwait() and
vlc_mutex_lock(), a dead lock would occur at vlc_join(). We need to
release the timer lock first.

14 years agoFix forward compatibility with glibc > 2
Rémi Denis-Courmont [Mon, 3 Aug 2009 16:09:44 +0000 (19:09 +0300)]
Fix forward compatibility with glibc > 2

14 years agoForce normal rather than default mutexes in release mode
Rémi Denis-Courmont [Mon, 3 Aug 2009 16:08:49 +0000 (19:08 +0300)]
Force normal rather than default mutexes in release mode

14 years agoFix make check.
Rémi Duraffort [Mon, 3 Aug 2009 16:11:22 +0000 (18:11 +0200)]
Fix make check.

14 years agopython-ctypes: give running example
Olivier Aubert [Mon, 3 Aug 2009 15:18:53 +0000 (17:18 +0200)]
python-ctypes: give running example

Invoking
python vlc.py filename.avi
will play the given movie.

14 years agopython-ctypes: fix enum names conversion
Olivier Aubert [Mon, 3 Aug 2009 15:15:15 +0000 (17:15 +0200)]
python-ctypes: fix enum names conversion

14 years agopython-ctypes: implement support for callbacks
Olivier Aubert [Mon, 3 Aug 2009 15:07:06 +0000 (17:07 +0200)]
python-ctypes: implement support for callbacks

14 years agopython-ctypes: fix enum names conversion
Olivier Aubert [Mon, 3 Aug 2009 15:00:57 +0000 (17:00 +0200)]
python-ctypes: fix enum names conversion

14 years agopython-ctypes: parse enum definition from libvlc_events.h.
Olivier Aubert [Mon, 3 Aug 2009 14:32:43 +0000 (16:32 +0200)]
python-ctypes: parse enum definition from libvlc_events.h.

It would be nice if its syntax was the same as all other enums...

14 years agosys/mount.h requires sys/param.h on OpenBSD
Rémi Denis-Courmont [Mon, 3 Aug 2009 15:09:32 +0000 (18:09 +0300)]
sys/mount.h requires sys/param.h on OpenBSD

Pointed-out-by: Taylor Venable
14 years agovariables: use a more restrictive assert as all variable belong to a class.
Rémi Duraffort [Sun, 2 Aug 2009 20:14:55 +0000 (22:14 +0200)]
variables: use a more restrictive assert as all variable belong to a class.
(and also remove an unneeded include).

14 years agoadd add_font define to plugin defines, and change freetype to use it
Ilkka Ollakka [Mon, 3 Aug 2009 08:33:48 +0000 (11:33 +0300)]
add add_font define to plugin defines, and change freetype to use it

14 years agoQT4: enable fontdialog for choosing freetype-font family
Ilkka Ollakka [Mon, 3 Aug 2009 07:53:20 +0000 (10:53 +0300)]
QT4: enable fontdialog for choosing freetype-font family

At the moment it doesn't handle those size/bold/* stuff, only takes font
from it. But IMO still better than old file-choosing way.

14 years agoQT4: remove Ensurevisible from scrollTo
Ilkka Ollakka [Mon, 3 Aug 2009 07:34:20 +0000 (10:34 +0300)]
QT4: remove Ensurevisible from scrollTo

Parameter is default, so no need to tell it here.

14 years agoQT4: set rowUniformHeights to true on playlistview
Ilkka Ollakka [Mon, 3 Aug 2009 07:33:18 +0000 (10:33 +0300)]
QT4: set rowUniformHeights to true on playlistview

according to doc, thisway view should be able to do some optimisation
over itself, and I didn't figure out anycase that rows wouldn't be same
height on playlist.

14 years agoRemove BSDism
Rémi Denis-Courmont [Sun, 2 Aug 2009 19:40:37 +0000 (22:40 +0300)]
Remove BSDism

14 years agoAVI: abort if user gave up while rebuilding the index (refs: #2872)
Rémi Denis-Courmont [Sun, 2 Aug 2009 17:12:28 +0000 (20:12 +0300)]
AVI: abort if user gave up while rebuilding the index (refs: #2872)

Previously, the core would fallback to other demux plugins which was
inefficient and error-prone.

14 years agomodule_need: give up if pf_activate returns VLC_ETIMEOUT (fixes: #2872)
Rémi Denis-Courmont [Sun, 2 Aug 2009 17:10:09 +0000 (20:10 +0300)]
module_need: give up if pf_activate returns VLC_ETIMEOUT (fixes: #2872)

A plugin can use this if it matched but detected a non-recoverable error
while inside the open callback. Help yourself if you want a "better"
error code.

14 years agoDo not exit with VLC error codes
Rémi Denis-Courmont [Sun, 2 Aug 2009 16:54:19 +0000 (19:54 +0300)]
Do not exit with VLC error codes

exit() cannot return negative numbers (the high-order bits are ignored).
And anyway, that's not a meanigful place for VLC error codes. It is also
questionable whether we should exit() from LibVLC anyway...

14 years agoReplace VLC_ETHREAD with VLCENOMEM.
Rémi Denis-Courmont [Sun, 2 Aug 2009 16:51:59 +0000 (19:51 +0300)]
Replace VLC_ETHREAD with VLCENOMEM.

This is consistent with existing practice inside and outside of VLC.
We really don't need a separate error code for that.