]>
git.sesse.net Git - vlc/log
Rémi Denis-Courmont [Tue, 20 May 2008 15:55:50 +0000 (18:55 +0300)]
Fix handle leak
Rémi Denis-Courmont [Tue, 20 May 2008 15:54:59 +0000 (18:54 +0300)]
Don't waste stat() right before opendir().
Rémi Denis-Courmont [Tue, 20 May 2008 15:52:22 +0000 (18:52 +0300)]
Don't test if a directory exists twice in a row
Better yet try to parse it directly...
Rémi Denis-Courmont [Tue, 20 May 2008 15:50:42 +0000 (18:50 +0300)]
No need to do stat() before opendir()!
Rémi Denis-Courmont [Tue, 20 May 2008 15:47:25 +0000 (18:47 +0300)]
Use fstat()!
Kaarlo Raiha [Tue, 20 May 2008 08:36:44 +0000 (11:36 +0300)]
Directsound 7.1 support and some debug messages...
...to help identify possible issues
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Squashed with VLC boolean updates.
Kaarlo Raiha [Tue, 25 Mar 2008 21:07:14 +0000 (23:07 +0200)]
Untested attempt to DirectAudio support for 7.1 system
(See also http://forum.videolan.org/viewtopic.php?f=7&t=42590).
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Squashed VLC_TRUE fix
Antoine Cellerier [Tue, 20 May 2008 14:10:47 +0000 (16:10 +0200)]
Fix decoding of teletext in ps files (the zvbi decoder expects the full PES packet, I haven't been able to test the telx.c decoder yet as I don't have any ps file with teletext subtitles available).
Rafaël Carré [Tue, 20 May 2008 13:15:40 +0000 (15:15 +0200)]
Fix the reference counting of pictures stored in the mosaic_bridge ring
Code cleanup without semantics changes
Resets the reference count when returning a previously allocated picture
Check error path
Rafaël Carré [Tue, 20 May 2008 13:06:24 +0000 (15:06 +0200)]
Check allocation and initialise memory
Rafaël Carré [Tue, 20 May 2008 13:05:40 +0000 (15:05 +0200)]
Fix memleak
Rafaël Carré [Tue, 20 May 2008 13:05:16 +0000 (15:05 +0200)]
Use reference counting for pictures
Rafaël Carré [Tue, 20 May 2008 11:48:10 +0000 (13:48 +0200)]
Fix memleak
Rafaël Carré [Tue, 20 May 2008 11:46:52 +0000 (13:46 +0200)]
Rafaël Carré [Tue, 20 May 2008 10:40:10 +0000 (12:40 +0200)]
Don't change pf_release() to a dummy function
In the meantime, another module (like the mosaic_bridge hack) could call it.
Instead, increase the reference count to be sure it won't be destroyed.
Jean-Baptiste Kempf [Mon, 19 May 2008 20:34:34 +0000 (13:34 -0700)]
Formatting cleaning
Jean-Baptiste Kempf [Mon, 19 May 2008 22:49:45 +0000 (15:49 -0700)]
Add options for preferences.
Jean-Baptiste Kempf [Mon, 19 May 2008 22:44:14 +0000 (15:44 -0700)]
DKS and Subviewer1 parsing support.
Some cleaning too.
Jean-Baptiste Kempf [Mon, 19 May 2008 15:09:20 +0000 (08:09 -0700)]
Multi-line support for JacoSub.
Antoine Cellerier [Tue, 20 May 2008 08:22:52 +0000 (10:22 +0200)]
Fix bash syntax in rrd doc.
Antoine Cellerier [Tue, 20 May 2008 08:05:33 +0000 (10:05 +0200)]
Video bitrate tolerance is advertised as kbits/sec in the help (not bits/sec).
Antoine Cellerier [Mon, 19 May 2008 07:52:43 +0000 (09:52 +0200)]
Cosmetics.
Rémi Denis-Courmont [Mon, 19 May 2008 18:11:45 +0000 (21:11 +0300)]
Remove incorrect if BUILD_VLC
Rémi Denis-Courmont [Mon, 19 May 2008 17:53:56 +0000 (20:53 +0300)]
Use TIMER_ABSTIME when it's available
Rémi Denis-Courmont [Mon, 19 May 2008 17:42:48 +0000 (20:42 +0300)]
mwait/mdate: remove cached_time - not thread-safe
Could go badly wrong on platforms without atomic 64-bits access
Rémi Denis-Courmont [Mon, 19 May 2008 17:35:41 +0000 (20:35 +0300)]
mprec: thread-safety
Rémi Denis-Courmont [Mon, 19 May 2008 15:23:56 +0000 (18:23 +0300)]
Remove useless volatile keyword
In this case, volatile was both incorrect (volatile does nothing about
thread synchronization) and not required (there is an explicit lock).
Rafaël Carré [Mon, 19 May 2008 11:40:56 +0000 (13:40 +0200)]
Destroy the playlist AFTER looking for a sout attached to it
Jean-Paul Saman [Sun, 18 May 2008 11:34:49 +0000 (13:34 +0200)]
Return VLC_ENOMEM when malloc fails.
Antoine Cellerier [Sun, 18 May 2008 22:08:59 +0000 (00:08 +0200)]
Fix blinking on redraw in ncurses interface... if anyone has an idea about why that call to clear() was needed ... (And remove a bunch of trailing spaces)
Rafaël Carré [Sun, 18 May 2008 19:54:58 +0000 (21:54 +0200)]
Fix glade search path - thanks to dionoea
Rafaël Carré [Sun, 18 May 2008 15:18:23 +0000 (17:18 +0200)]
Cmake : Fix test/ linking
Rafaël Carré [Sun, 18 May 2008 15:16:58 +0000 (17:16 +0200)]
Cmake: Fix modules/ building
Rafaël Carré [Sun, 18 May 2008 14:20:29 +0000 (16:20 +0200)]
cmake: fix src/ building
Rafaël Carré [Sun, 18 May 2008 13:24:52 +0000 (15:24 +0200)]
Add a comment about RIPEMD/160
Jean-Paul Saman [Sun, 18 May 2008 11:09:26 +0000 (13:09 +0200)]
Remove trailing whitespace, add checks for malloc return value.
Tanguy Krotoff [Fri, 30 May 2008 03:12:38 +0000 (03:12 +0000)]
libvlc: when calling libvlc_media_player_stop() check for playing or paused state before to send a stopped event
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
Rafaël Carré [Sat, 17 May 2008 23:39:28 +0000 (01:39 +0200)]
Update: supports file v4 signatures
Note: public key v3 signatures are not supported
Fix various bugs and potentials buffer overflows
Jean-Paul Saman [Sat, 17 May 2008 13:20:54 +0000 (15:20 +0200)]
Small cleanup
Jean-Paul Saman [Sat, 17 May 2008 12:48:08 +0000 (14:48 +0200)]
Use the same default values for i_frame_rate everywhere.
Jean-Paul Saman [Sat, 17 May 2008 09:34:59 +0000 (11:34 +0200)]
Remove "out of memory" message
Jean-Paul Saman [Sat, 17 May 2008 09:18:47 +0000 (11:18 +0200)]
Check malloc/recalloc return values.
Felix Paul Kühne [Sat, 17 May 2008 16:29:46 +0000 (18:29 +0200)]
Added the minimal-OSX class files and a couple of more related files to the project list for easier lookup
Rémi Denis-Courmont [Sat, 17 May 2008 16:25:19 +0000 (19:25 +0300)]
Remove the children leak detection which is not working anymore
If you have a better idea, you are welcome, but I am very doutful.
Rémi Denis-Courmont [Sat, 17 May 2008 16:22:54 +0000 (19:22 +0300)]
Also remove the link fromn dead objects toward their children
Previously, we only removed links from children to dead parents.
This patch is semantically the same as Funman's earlier
vlc_object_detach_unlocked() patch. It is merely faster and less clean.
Unfortunately, this means it is impossible to detect leaked children.
That being noted, leaving dead parents "semi-attached" in objects tree
is not thread-safe anyhow. Basically, we either automatically detach
objects (and miss leaks), or require children to be detached/destroyed
before their parent is destroyed (and get leaks detection, but more
coding pain).
Rémi Denis-Courmont [Sat, 17 May 2008 15:58:36 +0000 (18:58 +0300)]
vlc_object_get sucks, document it
Rémi Denis-Courmont [Sat, 17 May 2008 15:53:31 +0000 (18:53 +0300)]
Qt4: do not use vlc_object_get
Rémi Denis-Courmont [Sat, 17 May 2008 12:12:33 +0000 (15:12 +0300)]
Ignore X11 errors on Maemo
Rémi Denis-Courmont [Sat, 17 May 2008 12:07:46 +0000 (15:07 +0300)]
Enable the Nokia OSSO hacks on all X11 plugins
Pierre d'Herbemont [Fri, 16 May 2008 15:42:40 +0000 (17:42 +0200)]
transcode: Fix a typo about scale.
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
Pavlov Konstantin [Fri, 16 May 2008 22:56:00 +0000 (02:56 +0400)]
Contrib: fix libvorbis CVEs: 2008-1419, 2008-1420, 2008-1423.
Pavlov Konstantin [Fri, 16 May 2008 22:23:51 +0000 (02:23 +0400)]
Contrib: fix CVE-2008-2109 for libid3tag.
Rémi Denis-Courmont [Fri, 16 May 2008 16:13:37 +0000 (19:13 +0300)]
Simplification
Rémi Denis-Courmont [Fri, 16 May 2008 16:06:25 +0000 (19:06 +0300)]
Make vlc_object_detach a no-op if the object is not attached
Rémi Denis-Courmont [Fri, 16 May 2008 14:59:03 +0000 (17:59 +0300)]
Hide i_children and pp_children away
They can only be read safely under the Big Structure Lock in
src/misc/objects.c, so it makes no sense for them to be public.
By the way, making i_children volatile wouldn't magically solve
thread-safety issues. The only correct use of volatile is in dealing
with asynchronous changes _within_ the same thread, such as signal
handling.
P.S.: I wish modules were not objects, and I wonder why they are
(they don't don't use threads, nor plugins, nor variables)
Rémi Denis-Courmont [Fri, 16 May 2008 15:41:52 +0000 (18:41 +0300)]
ncurses: use vlc_list_children
Rémi Denis-Courmont [Fri, 16 May 2008 15:23:34 +0000 (18:23 +0300)]
Qt4: use vlc_list_children
Rémi Denis-Courmont [Fri, 16 May 2008 15:23:09 +0000 (18:23 +0300)]
vlc_list_children: list children _safely_
Rafaël Carré [Fri, 16 May 2008 13:16:25 +0000 (15:16 +0200)]
s,fake:,fake://,g
Rafaël Carré [Fri, 16 May 2008 12:15:03 +0000 (14:15 +0200)]
Revert "vlc_object_release: cleanup"
This reverts commit
c85f868153145c0bd146067dfb9ac2c405f65921 .
Rafaël Carré [Fri, 16 May 2008 12:14:59 +0000 (14:14 +0200)]
Revert "Detach the children at object destruction"
This reverts commit
e5b3d194ffa17dcbf57e69ebf83c3730e8938932 .
Rafaël Carré [Fri, 16 May 2008 12:03:48 +0000 (14:03 +0200)]
Detach the children at object destruction
Rafaël Carré [Fri, 16 May 2008 11:59:21 +0000 (13:59 +0200)]
vlc_object_release: cleanup
Rafaël Carré [Fri, 16 May 2008 11:30:48 +0000 (13:30 +0200)]
Gives the correct arguments to libvlc_new()
Rafaël Carré [Fri, 16 May 2008 11:08:51 +0000 (13:08 +0200)]
Initialise input memory
Rafaël Carré [Fri, 16 May 2008 11:01:09 +0000 (13:01 +0200)]
s/vlc-control/vlc/
Rafaël Carré [Fri, 16 May 2008 09:54:19 +0000 (11:54 +0200)]
s/libvlc/libvlccore/
Rafaël Carré [Fri, 16 May 2008 08:15:23 +0000 (10:15 +0200)]
Fix a very unlikely memleak
Jean-Baptiste Kempf [Fri, 16 May 2008 03:16:40 +0000 (05:16 +0200)]
Xml 2.6.32 patch modification.
Jean-Baptiste Kempf [Thu, 15 May 2008 22:10:06 +0000 (15:10 -0700)]
Cosmetic.
Jean-Baptiste Kempf [Thu, 15 May 2008 22:03:21 +0000 (15:03 -0700)]
Support for RealText Subtitles.
Pierre d'Herbemont [Thu, 15 May 2008 20:55:01 +0000 (22:55 +0200)]
Revert "vlc: Make sure we call libvlc_release() when we are requested to die."
This reverts commit
68bcb6a4322b55b70c231a597d7b45a5406fd7f8 .
As pointed by courmisch, this is crashy.
Conflicts:
src/vlc.c
Pierre d'Herbemont [Thu, 15 May 2008 20:19:43 +0000 (22:19 +0200)]
vlc: Code conventions.
Pierre d'Herbemont [Thu, 15 May 2008 20:13:41 +0000 (22:13 +0200)]
vlc: Make sure we call libvlc_release() when we are requested to die.
Note: I don't think we did yet match the old behaviour, if we hit ctrl-c while in libvlc_new(), vlc isn't killed properly.
Rémi Denis-Courmont [Thu, 15 May 2008 18:25:39 +0000 (21:25 +0300)]
Remove a bunch of unused deprecated APIs
Rémi Denis-Courmont [Thu, 15 May 2008 18:25:29 +0000 (21:25 +0300)]
Fix unit tests linking
Rémi Denis-Courmont [Thu, 15 May 2008 17:11:41 +0000 (20:11 +0300)]
vlc using libvlc
Rémi Denis-Courmont [Thu, 15 May 2008 17:50:40 +0000 (20:50 +0300)]
libvlc_run_interface: start and wait for an interface
Rémi Denis-Courmont [Thu, 15 May 2008 17:39:45 +0000 (20:39 +0300)]
Do not allow variable substitution in MRL path schemas
Rémi Denis-Courmont [Thu, 15 May 2008 17:19:14 +0000 (20:19 +0300)]
Use libvlc_InternalAddIntf instead of VLC_AddIntf
Rémi Denis-Courmont [Thu, 15 May 2008 16:58:57 +0000 (19:58 +0300)]
Don't bother with vlc_object_get() when you can keep pointers!
Rémi Denis-Courmont [Thu, 15 May 2008 16:40:44 +0000 (19:40 +0300)]
Rename the shared libraries
Rémi Denis-Courmont [Thu, 15 May 2008 16:28:38 +0000 (19:28 +0300)]
vlc-config: remove external mode. Use pkg-config.
Mirsal Ennaime [Wed, 14 May 2008 22:45:06 +0000 (00:45 +0200)]
upnp: fix a typo
Pierre d'Herbemont [Wed, 14 May 2008 21:50:13 +0000 (23:50 +0200)]
upnp: Fix a typo, as pointed by Gilles Sabourin.
Rafaël Carré [Wed, 14 May 2008 20:09:39 +0000 (22:09 +0200)]
Use vlc_object_release() to release the playlist
Signed-off-by: Pierre d'Herbemont <pdherbemont@videolan.org>
Rafaël Carré [Wed, 14 May 2008 19:49:15 +0000 (21:49 +0200)]
Revert "Remove playlist destructor"
This reverts commit
3d7eabaf80eb76dc2111f399aec6586d1b0094a8 .
Signed-off-by: Pierre d'Herbemont <pdherbemont@videolan.org>
Rémi Denis-Courmont [Wed, 14 May 2008 20:02:48 +0000 (23:02 +0300)]
We may still have children when destroyed...
...if the destructor destroys them properly.
Rafaël Carré [Wed, 14 May 2008 19:39:21 +0000 (21:39 +0200)]
Remove playlist destructor
We need to do stuff BEFORE the playlist is destroyed
Rémi Denis-Courmont [Wed, 14 May 2008 18:58:16 +0000 (21:58 +0300)]
Debug code to prevent FIND_PARENT from crashing.
This will postpone a due abort or turn a crash into an abort.
Objects must not have children when they are destroyed per the current
design, though this seems to be a questionable choice.
Rémi Denis-Courmont [Wed, 14 May 2008 18:22:36 +0000 (21:22 +0300)]
Hmm, there was a simpler solution
(Code re-use rules)
Rémi Denis-Courmont [Wed, 14 May 2008 18:17:24 +0000 (21:17 +0300)]
Inline DetachObject
Rémi Denis-Courmont [Wed, 14 May 2008 18:14:47 +0000 (21:14 +0300)]
Get rid of b_attached
Rémi Denis-Courmont [Wed, 14 May 2008 18:11:18 +0000 (21:11 +0300)]
Recurse through the object tree instead of using the objects table
Jean-Baptiste Kempf [Wed, 14 May 2008 17:48:50 +0000 (19:48 +0200)]
Theora Beta3 and patch the includes...
Rémi Denis-Courmont [Wed, 14 May 2008 17:15:31 +0000 (20:15 +0300)]
Detach dying objects atomically, so FIND_CHILDREN is safe
Rémi Denis-Courmont [Wed, 14 May 2008 17:04:16 +0000 (20:04 +0300)]
Remove useless constant
Rafaël Carré [Wed, 14 May 2008 14:51:26 +0000 (16:51 +0200)]
Fix memory leak in mosaic bridge
Rafaël Carré [Wed, 14 May 2008 13:21:15 +0000 (15:21 +0200)]
Revert [
42a0d047849f391a75432dfdf5d71523d6ec08c7 ]
The kept sout needs to be attached to the playlist, else we will
try to destroy vlm's souts before it's time to.
Jean-Baptiste Kempf [Wed, 14 May 2008 06:14:36 +0000 (23:14 -0700)]
Update libpng to 1.2.29. We shouldn't be affected by CVE-2008-1382