]> git.sesse.net Git - vlc/log
vlc
16 years agoFix make race condition
Rémi Denis-Courmont [Sat, 31 May 2008 15:38:59 +0000 (18:38 +0300)]
Fix make race condition

16 years agoThis should work for all planar YUV formats (in fact it should work for
Antoine Cellerier [Sat, 31 May 2008 15:18:31 +0000 (17:18 +0200)]
This should work for all planar YUV formats (in fact it should work for
all formats where the pixel pitch is of 1 byte on every plane).

16 years agoValidate input chromas here too. Currently only planar yuv is supported
Antoine Cellerier [Sat, 31 May 2008 15:13:13 +0000 (17:13 +0200)]
Validate input chromas here too. Currently only planar yuv is supported
but packed should be easy to implement.

16 years agoValidate input chroma for grain filter (planar yuv).
Antoine Cellerier [Sat, 31 May 2008 15:07:58 +0000 (17:07 +0200)]
Validate input chroma for grain filter (planar yuv).

16 years agoThis can work on all the planar YUV formats.
Antoine Cellerier [Sat, 31 May 2008 15:04:01 +0000 (17:04 +0200)]
This can work on all the planar YUV formats.

16 years agoValidate input chroma in gradient filter (the current code only supports
Antoine Cellerier [Sat, 31 May 2008 15:00:26 +0000 (17:00 +0200)]
Validate input chroma in gradient filter (the current code only supports
planar YUV).

16 years agoFix CID 103: resource leak in EsOutAdd and check malloc return values.
Jean-Paul Saman [Sat, 31 May 2008 15:13:43 +0000 (17:13 +0200)]
Fix CID 103: resource leak in EsOutAdd and check malloc return values.

16 years agoCheck malloc return value
Jean-Paul Saman [Sat, 31 May 2008 14:04:37 +0000 (16:04 +0200)]
Check malloc return value

16 years agoWork around the fact that autosh..tools does only check for header presence, not...
Pierre d'Herbemont [Sat, 31 May 2008 13:42:08 +0000 (15:42 +0200)]
Work around the fact that autosh..tools does only check for header presence, not usability.

16 years agoRemoved check for p_sys->b_osd because it is not necessary.
Jean-Paul Saman [Sat, 31 May 2008 13:31:01 +0000 (15:31 +0200)]
Removed check for p_sys->b_osd because it is not necessary.

16 years agomozilla: Use --ignore-config, we don't want local VLC to interfer with the plugin...
Pierre d'Herbemont [Sat, 31 May 2008 13:27:53 +0000 (15:27 +0200)]
mozilla: Use --ignore-config, we don't want local VLC to interfer with the plugin. Also support exception.

16 years agovlckit: Make sure it compiles, by switching to autotools. This will allow the framewo...
Pierre d'Herbemont [Sat, 31 May 2008 13:26:53 +0000 (15:26 +0200)]
vlckit: Make sure it compiles, by switching to autotools. This will allow the framework to be a bit more stable, as autotools is still our main buildsystem, and modifications to it break cmake often.

16 years agoFix CID 107: dereference pointer before NULL check.
Jean-Paul Saman [Sat, 31 May 2008 13:23:39 +0000 (15:23 +0200)]
Fix CID 107: dereference pointer before NULL check.

16 years agoFix CID: 101 resource leak in osdmenu parser.
Jean-Paul Saman [Sat, 31 May 2008 12:43:14 +0000 (14:43 +0200)]
Fix CID: 101 resource leak in osdmenu parser.

16 years agoTypo.
Pierre d'Herbemont [Sat, 31 May 2008 12:07:51 +0000 (14:07 +0200)]
Typo.

16 years agoconfigure: Check for HAVE_BACKTRACE and HAVE_EXECINFO_H.
Pierre d'Herbemont [Sat, 31 May 2008 12:04:33 +0000 (14:04 +0200)]
configure: Check for HAVE_BACKTRACE and HAVE_EXECINFO_H.

16 years agomacosx: Sanitization. Suppress non-sense yield(->p_input) release(->p_input), invalid...
Pierre d'Herbemont [Sat, 31 May 2008 11:37:48 +0000 (13:37 +0200)]
macosx: Sanitization. Suppress non-sense yield(->p_input) release(->p_input), invalidate the manage thread, make sure we don't re-run a timer when the interface is dead. (Shoot 'em up!)

Remember, you can't assume that in your thread an object is alive if you don't delimit want-to-be safe place by a lock(p_obj)/unlock(p_obj).
Also, yield(p_playlist->p_input) is invalid if you don't lock the playlist before. The correct way here is to use vlc_object_find() as the locking policy of the playlist is not safe.

16 years agoRemove bogus old code in tree dump.
Rémi Denis-Courmont [Sat, 31 May 2008 10:42:58 +0000 (13:42 +0300)]
Remove bogus old code in tree dump.

16 years agoWarn about vlc_object_get
Rémi Denis-Courmont [Sat, 31 May 2008 10:38:12 +0000 (13:38 +0300)]
Warn about vlc_object_get

16 years agointf_Create: remove unused parameters
Rémi Denis-Courmont [Sat, 31 May 2008 10:29:30 +0000 (13:29 +0300)]
intf_Create: remove unused parameters

16 years agolibvlc_InternalAddIntf: remove useless options
Rémi Denis-Courmont [Sat, 31 May 2008 10:25:56 +0000 (13:25 +0300)]
libvlc_InternalAddIntf: remove useless options

16 years agoDo not use interface parameters
Rémi Denis-Courmont [Sat, 31 May 2008 10:23:24 +0000 (13:23 +0300)]
Do not use interface parameters

16 years agolibvlc_InternalAddInft: Remove unused b_block parameter
Rémi Denis-Courmont [Sat, 31 May 2008 10:14:18 +0000 (13:14 +0300)]
libvlc_InternalAddInft: Remove unused b_block parameter

16 years agoSimplify
Rémi Denis-Courmont [Sat, 31 May 2008 10:06:16 +0000 (13:06 +0300)]
Simplify

16 years agoFix typo
Rémi Denis-Courmont [Sat, 31 May 2008 10:02:29 +0000 (13:02 +0300)]
Fix typo

16 years agoExplicitly check for and link to libavutil
Alexis Ballier [Sat, 31 May 2008 09:17:56 +0000 (11:17 +0200)]
Explicitly check for and link to libavutil

av_free and friends are used in the ffmpeg plugin, and after r13528
ffmpeg's .pc files do not tell anymore to link needlessly to its
private library requirements.

Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
16 years agoInclude altivec.h before any other vlc header
Alexis Ballier [Sat, 31 May 2008 08:14:02 +0000 (10:14 +0200)]
Include altivec.h before any other vlc header

Including it after stdbool will cause compile failures as pointed by
Mike Frysinger in https://bugs.gentoo.org/show_bug.cgi?id=224289

Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
16 years agoOSX GUI was forgotten in [85f5092ee68d13fd4056848d5a2124e753fc69f5]
Rafaël Carré [Wed, 28 May 2008 20:45:54 +0000 (22:45 +0200)]
OSX GUI was forgotten in [85f5092ee68d13fd4056848d5a2124e753fc69f5]

16 years agomacosx: Make sure the killer_thread ends.
Pierre d'Herbemont [Fri, 30 May 2008 18:52:25 +0000 (20:52 +0200)]
macosx: Make sure the killer_thread ends.

16 years agoQuit correctly(?) from the interface/DP. Should fix #1598.
Jean-Baptiste Kempf [Fri, 30 May 2008 19:10:01 +0000 (12:10 -0700)]
Quit correctly(?) from the interface/DP. Should fix #1598.

16 years agoSet style in mediacontrol_showtext()
Jean-Baptiste Kempf [Fri, 30 May 2008 18:28:01 +0000 (11:28 -0700)]
Set style in mediacontrol_showtext()

16 years agoFix a warning.
Jean-Baptiste Kempf [Fri, 30 May 2008 18:21:46 +0000 (11:21 -0700)]
Fix a warning.

16 years agoFixed FFmpeg configure patching
Felix Paul Kühne [Fri, 30 May 2008 17:53:52 +0000 (19:53 +0200)]
Fixed FFmpeg configure patching

16 years agoWhen checking for filters overflow, actually handle the error (CID 48)
Rémi Denis-Courmont [Fri, 30 May 2008 16:25:22 +0000 (19:25 +0300)]
When checking for filters overflow, actually handle the error (CID 48)

16 years agoblock_Realloc: shortcut the release case
Rémi Denis-Courmont [Fri, 30 May 2008 16:07:06 +0000 (19:07 +0300)]
block_Realloc: shortcut the release case

16 years agolibvlccore: Also print a backtrace on Mac OS X.
Pierre d'Herbemont [Fri, 30 May 2008 16:03:10 +0000 (18:03 +0200)]
libvlccore: Also print a backtrace on Mac OS X.

Note: We may want to check that at configure time.

16 years agomacosx: Remove a trailing
Pierre d'Herbemont [Fri, 30 May 2008 16:01:58 +0000 (18:01 +0200)]
macosx: Remove a trailing
 in msg_Dbg.

16 years agoFix generation of libswscale.pc in ffmpeg.
Jean-Paul Saman [Fri, 30 May 2008 15:24:14 +0000 (17:24 +0200)]
Fix generation of libswscale.pc in ffmpeg.

16 years agoFix NULL pointer deferences (CID 120 & 121)
Rémi Denis-Courmont [Fri, 30 May 2008 15:56:42 +0000 (18:56 +0300)]
Fix NULL pointer deferences (CID 120 & 121)

16 years agolibvlc: Don't wait if p_libvlc is dying in libvlc_wait().
Pierre d'Herbemont [Fri, 30 May 2008 15:54:39 +0000 (17:54 +0200)]
libvlc: Don't wait if p_libvlc is dying in libvlc_wait().

16 years agoplaylist: Make sure fetcher and preparser won't miss a vlc_object_kill().
Pierre d'Herbemont [Fri, 30 May 2008 15:31:43 +0000 (17:31 +0200)]
playlist: Make sure fetcher and preparser won't miss a vlc_object_kill().

16 years agoMore *.m4's to ignore
Felix Paul Kühne [Fri, 30 May 2008 15:29:45 +0000 (17:29 +0200)]
More *.m4's to ignore

16 years agoFix [79b485f92c454b7444ff5a2f2fd6e649aa7b8270] properly. Thanks for finding the dupli...
Felix Paul Kühne [Fri, 30 May 2008 15:27:46 +0000 (17:27 +0200)]
Fix [79b485f92c454b7444ff5a2f2fd6e649aa7b8270] properly. Thanks for finding the duplicate!

16 years agoPrint backtrace in vlc_pthread_fatal
Rémi Denis-Courmont [Fri, 30 May 2008 15:17:40 +0000 (18:17 +0300)]
Print backtrace in vlc_pthread_fatal

16 years agoImprove the still really dumb reference checker
Rémi Denis-Courmont [Fri, 30 May 2008 15:14:25 +0000 (18:14 +0300)]
Improve the still really dumb reference checker

16 years agoaudio_output: Typo.
Pierre d'Herbemont [Fri, 30 May 2008 15:00:29 +0000 (17:00 +0200)]
audio_output: Typo.

16 years agomacosx: Fix a typo.
Pierre d'Herbemont [Fri, 30 May 2008 14:50:16 +0000 (16:50 +0200)]
macosx: Fix a typo.

16 years agomacosx: Cleanup in -applicationWillTerminate:, properly quit libvlc when Application...
Pierre d'Herbemont [Fri, 30 May 2008 13:48:54 +0000 (15:48 +0200)]
macosx: Cleanup in -applicationWillTerminate:, properly quit libvlc when Application is exited.

16 years agovar_CreateGetString must return NULL in case of error
Rafaël Carré [Fri, 30 May 2008 14:52:41 +0000 (16:52 +0200)]
var_CreateGetString must return NULL in case of error

16 years agoRevert "Simplify - CID 6"
Rémi Denis-Courmont [Fri, 30 May 2008 14:17:33 +0000 (17:17 +0300)]
Revert "Simplify - CID 6"

This reverts commit 9ca4d5423b158b41090e9c0a621b5916fc040133 which
introduces a segfault.

16 years agoRemove unused arguments - CID 5
Rafaël Carré [Fri, 30 May 2008 14:11:21 +0000 (16:11 +0200)]
Remove unused arguments - CID 5

16 years agoIgnore libtool M4 macros
Rafaël Carré [Fri, 30 May 2008 14:10:05 +0000 (16:10 +0200)]
Ignore libtool M4 macros

16 years agoSimplify - CID 6
Rafaël Carré [Fri, 30 May 2008 14:08:20 +0000 (16:08 +0200)]
Simplify - CID 6

16 years agoCheck properly if vout is dying - CID 7
Rafaël Carré [Fri, 30 May 2008 13:54:37 +0000 (15:54 +0200)]
Check properly if vout is dying - CID 7

16 years agoRemove dead code - CID 9
Rafaël Carré [Fri, 30 May 2008 13:44:13 +0000 (15:44 +0200)]
Remove dead code - CID 9

16 years agoRemove useless NULL check (p_sys->p_vout can never be NULL once the
Antoine Cellerier [Fri, 30 May 2008 13:23:22 +0000 (15:23 +0200)]
Remove useless NULL check (p_sys->p_vout can never be NULL once the
filter was opened). (CID 110)

16 years agoFix off by 1 errors (CID 42 and 43).
Antoine Cellerier [Fri, 30 May 2008 13:07:25 +0000 (15:07 +0200)]
Fix off by 1 errors (CID 42 and 43).

16 years agoFix double free - CID 131
Rafaël Carré [Fri, 30 May 2008 13:02:02 +0000 (15:02 +0200)]
Fix double free - CID 131

16 years agoFix stupid logic (CID 13).
Antoine Cellerier [Fri, 30 May 2008 12:51:09 +0000 (14:51 +0200)]
Fix stupid logic (CID 13).

16 years agogit commit --amend src/misc/objects.c. Ahum.
Pierre d'Herbemont [Fri, 30 May 2008 12:49:08 +0000 (14:49 +0200)]
git commit --amend src/misc/objects.c. Ahum.

16 years agoobjects: Don't lock parent in vlc_object_attach(). It creates quite hard to resolve...
Pierre d'Herbemont [Fri, 30 May 2008 12:46:13 +0000 (14:46 +0200)]
objects: Don't lock parent in vlc_object_attach(). It creates quite hard to resolve dead lock, and hopefully it is safe enough not to lock here. We only risk receiving kill event twice. But given current API it is ok.

16 years agoFix image handler leak. (CID 102)
Antoine Cellerier [Fri, 30 May 2008 12:42:26 +0000 (14:42 +0200)]
Fix image handler leak. (CID 102)

16 years agoobjects: Make sure that we don't loose a vlc_object_kill() when attaching to a dead...
Pierre d'Herbemont [Fri, 30 May 2008 12:18:02 +0000 (14:18 +0200)]
objects: Make sure that we don't loose a vlc_object_kill() when attaching to a dead or dying parent.

Note: We do need to lock the parent for that.

16 years agoSimplify: false positive CID 139
Rafaël Carré [Fri, 30 May 2008 12:08:19 +0000 (14:08 +0200)]
Simplify: false positive CID 139

16 years agoAdd support for applesmc motion sensors (macbooks) on linux. (Untested
Antoine Cellerier [Fri, 30 May 2008 11:25:40 +0000 (13:25 +0200)]
Add support for applesmc motion sensors (macbooks) on linux. (Untested
since the sensor doesn't want to work on my laptop)

16 years agoFix spelling.
Antoine Cellerier [Thu, 29 May 2008 07:10:21 +0000 (09:10 +0200)]
Fix spelling.

16 years agoFix double fclose()
Rafaël Carré [Fri, 30 May 2008 11:24:04 +0000 (13:24 +0200)]
Fix double fclose()

CID 140

16 years agoFix double (or up to 2^sizeof(int) times)
Rafaël Carré [Fri, 30 May 2008 11:12:02 +0000 (13:12 +0200)]
Fix double (or up to 2^sizeof(int) times)

Reported by Coverity scan : CID 142

16 years agoUpdate vlcwidget.py to match the new mediacontrol API
Olivier Aubert [Fri, 30 May 2008 10:52:51 +0000 (12:52 +0200)]
Update vlcwidget.py to match the new mediacontrol API

16 years agovlc_network.h: Define AI_NUMERICSERV if not defined.
Pierre d'Herbemont [Fri, 30 May 2008 06:55:01 +0000 (08:55 +0200)]
vlc_network.h: Define AI_NUMERICSERV if not defined.

16 years agoBetter patch to fix bug introduced by 0448c670c32d9f See: http://dinauz.org/~jpeg...
Jean-Philippe André [Thu, 29 May 2008 22:08:56 +0000 (00:08 +0200)]
Better patch to fix bug introduced by 0448c670c32d9f See: http://dinauz.org/~jpeg/VideoLAN/capture32.png (after left-click in the video output)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
16 years agosignals: Workaround the fact that sigwait() isn't a pthread cancellation point on...
Pierre d'Herbemont [Thu, 29 May 2008 21:47:17 +0000 (23:47 +0200)]
signals: Workaround the fact that sigwait() isn't a pthread cancellation point on Mac OS X.

16 years agostandard: Special case for AI_NUMERICSERV (if not defined).
Pierre d'Herbemont [Thu, 29 May 2008 21:32:11 +0000 (23:32 +0200)]
standard: Special case for AI_NUMERICSERV (if not defined).

16 years agoUse the signal interface and fix signal handling
Rémi Denis-Courmont [Thu, 29 May 2008 19:50:19 +0000 (22:50 +0300)]
Use the signal interface and fix signal handling

16 years agosignal handling interface
Rémi Denis-Courmont [Thu, 29 May 2008 19:26:36 +0000 (22:26 +0300)]
signal handling interface

16 years agolibvlc_run_interface -> libvlc_add_intf (non-blocking)
Rémi Denis-Courmont [Thu, 29 May 2008 19:49:31 +0000 (22:49 +0300)]
libvlc_run_interface -> libvlc_add_intf (non-blocking)

16 years agolibvlc_wait: wait until libvlc is killed by an interface
Rémi Denis-Courmont [Thu, 29 May 2008 19:48:52 +0000 (22:48 +0300)]
libvlc_wait: wait until libvlc is killed by an interface

16 years agoBlock all signals in VLC threads
Rémi Denis-Courmont [Thu, 29 May 2008 17:01:10 +0000 (20:01 +0300)]
Block all signals in VLC threads

16 years agoFix infinite loop
Rémi Denis-Courmont [Thu, 29 May 2008 19:08:42 +0000 (22:08 +0300)]
Fix infinite loop

16 years agoSpelling
Rémi Denis-Courmont [Thu, 29 May 2008 16:34:36 +0000 (19:34 +0300)]
Spelling

16 years agoCleanup handling of thread-less interfaces
Rémi Denis-Courmont [Thu, 29 May 2008 16:08:49 +0000 (19:08 +0300)]
Cleanup handling of thread-less interfaces

16 years agoSimplification
Rémi Denis-Courmont [Thu, 29 May 2008 15:53:06 +0000 (18:53 +0300)]
Simplification

16 years agoThis file is automatically generated nowadays
Rémi Denis-Courmont [Thu, 29 May 2008 15:10:11 +0000 (18:10 +0300)]
This file is automatically generated nowadays

16 years agoAnother workaround to not forbid development
Rafaël Carré [Thu, 29 May 2008 10:57:34 +0000 (12:57 +0200)]
Another workaround to not forbid development

I should do a real fix within a short time
Probably using vlc_gc_* for picture_t

16 years agoNew vu meter visualization.
Adrien Maglo [Tue, 27 May 2008 20:52:54 +0000 (22:52 +0200)]
New vu meter visualization.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
16 years agoThe totally dumb reference checker
Rémi Denis-Courmont [Wed, 28 May 2008 19:32:25 +0000 (22:32 +0300)]
The totally dumb reference checker

16 years agovlc_threadobj(): returns the object nesting the current thread
Rémi Denis-Courmont [Wed, 28 May 2008 18:52:17 +0000 (21:52 +0300)]
vlc_threadobj(): returns the object nesting the current thread

Also fix the threads entry point prototype on Windows.

16 years agoMake sure INT64_C is defined correctly, and that we don't conflict with config.h.
Pierre d'Herbemont [Wed, 28 May 2008 18:25:41 +0000 (20:25 +0200)]
Make sure INT64_C is defined correctly, and that we don't conflict with config.h.

16 years agoRevert "Revert "live555: Don't put any INT64_C related hack here. We need to fix...
Pierre d'Herbemont [Wed, 28 May 2008 18:22:25 +0000 (20:22 +0200)]
Revert "Revert "live555: Don't put any INT64_C related hack here. We need to fix that properly.""

This reverts commit b8d7dae428bc149d70633f044d335be611187609.

There was a reason for the removal of this hack. I introduced that hack while trying to fix that precise compile error, and decided that this fix was hiding a bigger problem. Would be nice to summon before reverting, that could prevent such mistake.

16 years agointf_Destroy(): use vlc_object_release() and a destructor instead
Rémi Denis-Courmont [Wed, 28 May 2008 17:56:15 +0000 (20:56 +0300)]
intf_Destroy(): use vlc_object_release() and a destructor instead

While reading this, you will find a bunch of:
  while (find (VLC_OBJECT_INTERFACE))
     release; release;

These are of course plain BUGS (which are neither introduced nor fixed
by this commit). Imagine, for instance, what happens if two threads run
the code above at the same time... they end up releasing the interface
once too many.

16 years agovlc_object_get() sucks badly enough, no need to add more bugs
Rémi Denis-Courmont [Wed, 28 May 2008 17:34:26 +0000 (20:34 +0300)]
vlc_object_get() sucks badly enough, no need to add more bugs

16 years agoFix unlikely lock leak
Rémi Denis-Courmont [Wed, 28 May 2008 17:31:50 +0000 (20:31 +0300)]
Fix unlikely lock leak

16 years agoUse a doubly-linked list for objects instead of a flat table
Rémi Denis-Courmont [Wed, 28 May 2008 17:22:34 +0000 (20:22 +0300)]
Use a doubly-linked list for objects instead of a flat table

Speeds up object creation and deletion, slows down vlc_object_get (which
you should not use anyway, remember), makes no difference for the rest

16 years agovlc_internals: use VLC_OBJECT, kill a bunch of warnings
Rémi Denis-Courmont [Wed, 28 May 2008 17:21:27 +0000 (20:21 +0300)]
vlc_internals: use VLC_OBJECT, kill a bunch of warnings

16 years agoFix a warning
Rémi Denis-Courmont [Wed, 28 May 2008 16:51:44 +0000 (19:51 +0300)]
Fix a warning

16 years agoFix Winsock
Rémi Denis-Courmont [Wed, 28 May 2008 16:43:14 +0000 (19:43 +0300)]
Fix Winsock

16 years agoWindows does not have AI_NUMERICSERV for some reasons
Rémi Denis-Courmont [Wed, 28 May 2008 16:41:04 +0000 (19:41 +0300)]
Windows does not have AI_NUMERICSERV for some reasons

16 years agoDo not serialize DNS queries on Win32, that's slooow!
Rémi Denis-Courmont [Wed, 28 May 2008 16:17:10 +0000 (19:17 +0300)]
Do not serialize DNS queries on Win32, that's slooow!

16 years agoFix gai_strerror replacement
Rémi Denis-Courmont [Wed, 28 May 2008 16:15:41 +0000 (19:15 +0300)]
Fix gai_strerror replacement

16 years agoFix [95e3bb2eaf22929dac3e2c37a26a23e9a0619333]
Rafaël Carré [Wed, 28 May 2008 16:21:48 +0000 (18:21 +0200)]
Fix [95e3bb2eaf22929dac3e2c37a26a23e9a0619333]