]>
git.sesse.net Git - vlc/log
Jean-Baptiste Kempf [Fri, 23 May 2008 23:03:27 +0000 (16:03 -0700)]
Mingw64 defines _I64_MAX in limits.h
Christophe Mutricy [Sat, 31 May 2008 22:30:27 +0000 (23:30 +0100)]
Don't use deprecated and removed API in Mozilla plugin.
Christophe Mutricy [Sat, 31 May 2008 22:03:37 +0000 (23:03 +0100)]
Don't use vlc_int64_t. It no longer exist.
Pierre d'Herbemont [Sat, 31 May 2008 22:21:29 +0000 (00:21 +0200)]
Revert "Preparser: yield the playlist (NSDRCID 1)"
This reverts commit
f3b97438a7451c340b27446d687c6c5603a8323a .
It creates a circular reference holding. (playlist is the parent of the preparser and hold a reference to the preparser during all the preparser life's span).
Pierre d'Herbemont [Sat, 31 May 2008 22:19:11 +0000 (00:19 +0200)]
libvlccore: Don't do vout destruction before destroying playlist.
Pierre d'Herbemont [Sat, 31 May 2008 21:48:33 +0000 (23:48 +0200)]
minimal_macosx: Add miosx as shortcut too.
Pierre d'Herbemont [Sat, 31 May 2008 21:47:14 +0000 (23:47 +0200)]
minimal_macosx: Add a KillerThread, that will kill the App when the intf is killed.
Rémi Denis-Courmont [Sat, 31 May 2008 21:03:00 +0000 (00:03 +0300)]
Preparser: yield the playlist (NSDRCID 1)
(Not-So-Dumb-References-Checker IDentifier one)
Rémi Denis-Courmont [Sat, 31 May 2008 20:56:19 +0000 (23:56 +0300)]
The not-so-dumb references checker
I saw you, evil preparser thread...
Rémi Denis-Courmont [Sat, 31 May 2008 20:51:19 +0000 (23:51 +0300)]
Keep track of object held by threads
Rémi Denis-Courmont [Sat, 31 May 2008 20:33:04 +0000 (23:33 +0300)]
Remove unused static (oops)
Rémi Denis-Courmont [Sat, 31 May 2008 20:30:58 +0000 (23:30 +0300)]
vlc_current_object: remove, vlc_object_get does the same thing
Rémi Denis-Courmont [Sat, 31 May 2008 20:20:29 +0000 (23:20 +0300)]
Fix memory leak (legacy of CID 92)
Rémi Denis-Courmont [Sat, 31 May 2008 20:09:10 +0000 (23:09 +0300)]
Fix memory leak (CID 95)
Rémi Denis-Courmont [Sat, 31 May 2008 19:30:46 +0000 (22:30 +0300)]
Remove VLC_* dead APIs
Rémi Denis-Courmont [Sat, 31 May 2008 19:06:17 +0000 (22:06 +0300)]
Remove vlc_int64_t. Was not even correctly defined.
Rémi Denis-Courmont [Sat, 31 May 2008 18:49:14 +0000 (21:49 +0300)]
Do not include vlc/vlc.h from libvlccore header files
If something depended on this behaviour, it should really be fixed...
Rémi Denis-Courmont [Sat, 31 May 2008 18:49:57 +0000 (21:49 +0300)]
Plugins: include vlc_common.h directly instead of vlc/vlc.h
Rémi Denis-Courmont [Sat, 31 May 2008 18:56:22 +0000 (21:56 +0300)]
libvlc: use vlc_common.h (libvlccore) instead of vlc/vlc.h
Rémi Denis-Courmont [Sat, 31 May 2008 19:09:39 +0000 (22:09 +0300)]
Move LICENSE_MSG to the right section
Rémi Denis-Courmont [Sat, 31 May 2008 18:51:14 +0000 (21:51 +0300)]
vlc_common.h: protect against multiple inclusions
Rémi Denis-Courmont [Sat, 31 May 2008 18:44:57 +0000 (21:44 +0300)]
Do not use VLC_AddTarget internally
Rémi Denis-Courmont [Sat, 31 May 2008 18:36:40 +0000 (21:36 +0300)]
Move non-deprecated version functions out of the deprecated file
Rémi Denis-Courmont [Sat, 31 May 2008 18:28:51 +0000 (21:28 +0300)]
Separate libvlccore and libvlc headers
Now, we still need to remove the vlc/vlc.h hack.
Rémi Denis-Courmont [Sat, 31 May 2008 18:27:28 +0000 (21:27 +0300)]
Playlist stuff belong in vlc_playlist.h
Rémi Denis-Courmont [Sat, 31 May 2008 18:18:26 +0000 (21:18 +0300)]
kVLCDestructor: remove, does not exist
Rémi Denis-Courmont [Sat, 31 May 2008 17:12:55 +0000 (20:12 +0300)]
VideoLAN VLC media player 1.2.3a is too long for NSYS - fix #1490
Rémi Denis-Courmont [Sat, 31 May 2008 16:37:20 +0000 (19:37 +0300)]
Kill LibVLC children without the libvlc lock
Rémi Denis-Courmont [Sat, 31 May 2008 16:35:56 +0000 (19:35 +0300)]
vlc_list_children: fix memory leaks
Rémi Denis-Courmont [Sat, 31 May 2008 16:16:57 +0000 (19:16 +0300)]
Typo
Rémi Denis-Courmont [Sat, 31 May 2008 16:07:05 +0000 (19:07 +0300)]
signals: fix race condition with sigwait()
The signal thread may catch a signal before the interface thread is
initialized. We need to check signum before the first wait.
Rémi Denis-Courmont [Sat, 31 May 2008 15:55:03 +0000 (18:55 +0300)]
vlc_object_timedwait: same change as vlc_object_wait
Also fix a minor timing problem in the screensaver plugin.
Rémi Denis-Courmont [Sat, 31 May 2008 15:45:22 +0000 (18:45 +0300)]
inhibit: fix another instance of the killed-before-wait race
Rémi Denis-Courmont [Sat, 31 May 2008 15:40:15 +0000 (18:40 +0300)]
Have vlc_object_wait() to "return" void.
It was a misdesign to have it return b_die, due to the race condition
mentioned earlier.
Rémi Denis-Courmont [Sat, 31 May 2008 15:58:21 +0000 (18:58 +0300)]
signals: exit properly
Rémi Denis-Courmont [Sat, 31 May 2008 15:30:23 +0000 (18:30 +0300)]
Ignore vlc_object_wait return value
We need to check vlc_object_alive() anyway, due to the intrinsic race
condition whereby the thread is killed before it's got the chance to
lock its object and call vlc_object_wait().
Rémi Denis-Courmont [Sat, 31 May 2008 15:28:54 +0000 (18:28 +0300)]
Do not use b_die directly, and simplify
Rémi Denis-Courmont [Sat, 31 May 2008 15:26:07 +0000 (18:26 +0300)]
interaction: fix signal leak
There is no point in unlocking and locking again immediatly.
Not only will this typically fail to yield the CPU to another would-be
waiting thread, but vlc_object_wait() will unlock&lock anyway.
Rémi Denis-Courmont [Sat, 31 May 2008 15:23:25 +0000 (18:23 +0300)]
Remove unused variable
Rémi Denis-Courmont [Sat, 31 May 2008 15:38:59 +0000 (18:38 +0300)]
Fix make race condition
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).
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.
Antoine Cellerier [Sat, 31 May 2008 15:07:58 +0000 (17:07 +0200)]
Validate input chroma for grain filter (planar yuv).
Antoine Cellerier [Sat, 31 May 2008 15:04:01 +0000 (17:04 +0200)]
This can work on all the planar YUV formats.
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).
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.
Jean-Paul Saman [Sat, 31 May 2008 14:04:37 +0000 (16:04 +0200)]
Check malloc return value
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.
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.
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.
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.
Jean-Paul Saman [Sat, 31 May 2008 13:23:39 +0000 (15:23 +0200)]
Fix CID 107: dereference pointer before NULL check.
Jean-Paul Saman [Sat, 31 May 2008 12:43:14 +0000 (14:43 +0200)]
Fix CID: 101 resource leak in osdmenu parser.
Pierre d'Herbemont [Sat, 31 May 2008 12:07:51 +0000 (14:07 +0200)]
Typo.
Pierre d'Herbemont [Sat, 31 May 2008 12:04:33 +0000 (14:04 +0200)]
configure: Check for HAVE_BACKTRACE and HAVE_EXECINFO_H.
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.
Rémi Denis-Courmont [Sat, 31 May 2008 10:42:58 +0000 (13:42 +0300)]
Remove bogus old code in tree dump.
Rémi Denis-Courmont [Sat, 31 May 2008 10:38:12 +0000 (13:38 +0300)]
Warn about vlc_object_get
Rémi Denis-Courmont [Sat, 31 May 2008 10:29:30 +0000 (13:29 +0300)]
intf_Create: remove unused parameters
Rémi Denis-Courmont [Sat, 31 May 2008 10:25:56 +0000 (13:25 +0300)]
libvlc_InternalAddIntf: remove useless options
Rémi Denis-Courmont [Sat, 31 May 2008 10:23:24 +0000 (13:23 +0300)]
Do not use interface parameters
Rémi Denis-Courmont [Sat, 31 May 2008 10:14:18 +0000 (13:14 +0300)]
libvlc_InternalAddInft: Remove unused b_block parameter
Rémi Denis-Courmont [Sat, 31 May 2008 10:06:16 +0000 (13:06 +0300)]
Simplify
Rémi Denis-Courmont [Sat, 31 May 2008 10:02:29 +0000 (13:02 +0300)]
Fix typo
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>
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>
Rafaël Carré [Wed, 28 May 2008 20:45:54 +0000 (22:45 +0200)]
Pierre d'Herbemont [Fri, 30 May 2008 18:52:25 +0000 (20:52 +0200)]
macosx: Make sure the killer_thread ends.
Jean-Baptiste Kempf [Fri, 30 May 2008 19:10:01 +0000 (12:10 -0700)]
Quit correctly(?) from the interface/DP. Should fix #1598.
Jean-Baptiste Kempf [Fri, 30 May 2008 18:28:01 +0000 (11:28 -0700)]
Set style in mediacontrol_showtext()
Jean-Baptiste Kempf [Fri, 30 May 2008 18:21:46 +0000 (11:21 -0700)]
Fix a warning.
Felix Paul Kühne [Fri, 30 May 2008 17:53:52 +0000 (19:53 +0200)]
Fixed FFmpeg configure patching
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)
Rémi Denis-Courmont [Fri, 30 May 2008 16:07:06 +0000 (19:07 +0300)]
block_Realloc: shortcut the release case
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.
Pierre d'Herbemont [Fri, 30 May 2008 16:01:58 +0000 (18:01 +0200)]
macosx: Remove a trailing
in msg_Dbg.
Jean-Paul Saman [Fri, 30 May 2008 15:24:14 +0000 (17:24 +0200)]
Fix generation of libswscale.pc in ffmpeg.
Rémi Denis-Courmont [Fri, 30 May 2008 15:56:42 +0000 (18:56 +0300)]
Fix NULL pointer deferences (CID 120 & 121)
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().
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().
Felix Paul Kühne [Fri, 30 May 2008 15:29:45 +0000 (17:29 +0200)]
More *.m4's to ignore
Felix Paul Kühne [Fri, 30 May 2008 15:27:46 +0000 (17:27 +0200)]
Fix [
79b485f92c454b7444ff5a2f2fd6e649aa7b8270 ] properly. Thanks for finding the duplicate!
Rémi Denis-Courmont [Fri, 30 May 2008 15:17:40 +0000 (18:17 +0300)]
Print backtrace in vlc_pthread_fatal
Rémi Denis-Courmont [Fri, 30 May 2008 15:14:25 +0000 (18:14 +0300)]
Improve the still really dumb reference checker
Pierre d'Herbemont [Fri, 30 May 2008 15:00:29 +0000 (17:00 +0200)]
audio_output: Typo.
Pierre d'Herbemont [Fri, 30 May 2008 14:50:16 +0000 (16:50 +0200)]
macosx: Fix a typo.
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.
Rafaël Carré [Fri, 30 May 2008 14:52:41 +0000 (16:52 +0200)]
var_CreateGetString must return NULL in case of error
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.
Rafaël Carré [Fri, 30 May 2008 14:11:21 +0000 (16:11 +0200)]
Remove unused arguments - CID 5
Rafaël Carré [Fri, 30 May 2008 14:10:05 +0000 (16:10 +0200)]
Ignore libtool M4 macros
Rafaël Carré [Fri, 30 May 2008 14:08:20 +0000 (16:08 +0200)]
Simplify - CID 6
Rafaël Carré [Fri, 30 May 2008 13:54:37 +0000 (15:54 +0200)]
Check properly if vout is dying - CID 7
Rafaël Carré [Fri, 30 May 2008 13:44:13 +0000 (15:44 +0200)]
Remove dead code - CID 9
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)
Antoine Cellerier [Fri, 30 May 2008 13:07:25 +0000 (15:07 +0200)]
Fix off by 1 errors (CID 42 and 43).
Rafaël Carré [Fri, 30 May 2008 13:02:02 +0000 (15:02 +0200)]
Fix double free - CID 131
Antoine Cellerier [Fri, 30 May 2008 12:51:09 +0000 (14:51 +0200)]
Fix stupid logic (CID 13).
Pierre d'Herbemont [Fri, 30 May 2008 12:49:08 +0000 (14:49 +0200)]
git commit --amend src/misc/objects.c. Ahum.
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.