vlc.git
12 years agoFix memleak
Rafaël Carré [Tue, 20 May 2008 13:05:40 +0000 (15:05 +0200)]
Fix memleak

12 years agoUse reference counting for pictures
Rafaël Carré [Tue, 20 May 2008 13:05:16 +0000 (15:05 +0200)]
Use reference counting for pictures

12 years agoFix memleak
Rafaël Carré [Tue, 20 May 2008 11:48:10 +0000 (13:48 +0200)]
Fix memleak

12 years agoRemove not used allocation added in [bc650c59ca6d2edbf555dc0cec11091f274b42f5]
Rafaël Carré [Tue, 20 May 2008 11:46:52 +0000 (13:46 +0200)]
Remove not used allocation added in [bc650c59ca6d2edbf555dc0cec11091f274b42f5]

12 years agoDon't change pf_release() to a dummy function
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.

12 years agoFormatting cleaning
Jean-Baptiste Kempf [Mon, 19 May 2008 20:34:34 +0000 (13:34 -0700)]
Formatting cleaning

12 years agoAdd options for preferences.
Jean-Baptiste Kempf [Mon, 19 May 2008 22:49:45 +0000 (15:49 -0700)]
Add options for preferences.

12 years agoDKS and Subviewer1 parsing support.
Jean-Baptiste Kempf [Mon, 19 May 2008 22:44:14 +0000 (15:44 -0700)]
DKS and Subviewer1 parsing support.
Some cleaning too.

12 years agoMulti-line support for JacoSub.
Jean-Baptiste Kempf [Mon, 19 May 2008 15:09:20 +0000 (08:09 -0700)]
Multi-line support for JacoSub.

12 years agoFix bash syntax in rrd doc.
Antoine Cellerier [Tue, 20 May 2008 08:22:52 +0000 (10:22 +0200)]
Fix bash syntax in rrd doc.

12 years agoVideo bitrate tolerance is advertised as kbits/sec in the help (not bits/sec).
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).

12 years agoCosmetics.
Antoine Cellerier [Mon, 19 May 2008 07:52:43 +0000 (09:52 +0200)]
Cosmetics.

12 years agoRemove incorrect if BUILD_VLC
Rémi Denis-Courmont [Mon, 19 May 2008 18:11:45 +0000 (21:11 +0300)]
Remove incorrect if BUILD_VLC

12 years agoUse TIMER_ABSTIME when it's available
Rémi Denis-Courmont [Mon, 19 May 2008 17:53:56 +0000 (20:53 +0300)]
Use TIMER_ABSTIME when it's available

12 years agomwait/mdate: remove cached_time - not thread-safe
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

12 years agomprec: thread-safety
Rémi Denis-Courmont [Mon, 19 May 2008 17:35:41 +0000 (20:35 +0300)]
mprec: thread-safety

12 years agoRemove useless volatile keyword
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).

12 years agoDestroy the playlist AFTER looking for a sout attached to it
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

12 years agoReturn VLC_ENOMEM when malloc fails.
Jean-Paul Saman [Sun, 18 May 2008 11:34:49 +0000 (13:34 +0200)]
Return VLC_ENOMEM when malloc fails.

12 years agoFix blinking on redraw in ncurses interface... if anyone has an idea about why that...
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)

12 years agoFix glade search path - thanks to dionoea
Rafaël Carré [Sun, 18 May 2008 19:54:58 +0000 (21:54 +0200)]
Fix glade search path - thanks to dionoea

12 years agoCmake : Fix test/ linking
Rafaël Carré [Sun, 18 May 2008 15:18:23 +0000 (17:18 +0200)]
Cmake : Fix test/ linking

12 years agoCmake: Fix modules/ building
Rafaël Carré [Sun, 18 May 2008 15:16:58 +0000 (17:16 +0200)]
Cmake: Fix modules/ building

12 years agocmake: fix src/ building
Rafaël Carré [Sun, 18 May 2008 14:20:29 +0000 (16:20 +0200)]
cmake: fix src/ building

12 years agoAdd a comment about RIPEMD/160
Rafaël Carré [Sun, 18 May 2008 13:24:52 +0000 (15:24 +0200)]
Add a comment about RIPEMD/160

12 years agoRemove trailing whitespace, add checks for malloc return value.
Jean-Paul Saman [Sun, 18 May 2008 11:09:26 +0000 (13:09 +0200)]
Remove trailing whitespace, add checks for malloc return value.

12 years agolibvlc: when calling libvlc_media_player_stop() check for playing or paused state...
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>
12 years agoUpdate: supports file v4 signatures
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

12 years agoSmall cleanup
Jean-Paul Saman [Sat, 17 May 2008 13:20:54 +0000 (15:20 +0200)]
Small cleanup

12 years agoUse the same default values for i_frame_rate everywhere.
Jean-Paul Saman [Sat, 17 May 2008 12:48:08 +0000 (14:48 +0200)]
Use the same default values for i_frame_rate everywhere.

12 years agoRemove "out of memory" message
Jean-Paul Saman [Sat, 17 May 2008 09:34:59 +0000 (11:34 +0200)]
Remove "out of memory" message

12 years agoCheck malloc/recalloc return values.
Jean-Paul Saman [Sat, 17 May 2008 09:18:47 +0000 (11:18 +0200)]
Check malloc/recalloc return values.

12 years agoAdded the minimal-OSX class files and a couple of more related files to the project...
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

12 years agoRemove the children leak detection which is not working anymore
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.

12 years agoAlso remove the link fromn dead objects toward their children
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).

12 years agovlc_object_get sucks, document it
Rémi Denis-Courmont [Sat, 17 May 2008 15:58:36 +0000 (18:58 +0300)]
vlc_object_get sucks, document it

12 years agoQt4: do not use vlc_object_get
Rémi Denis-Courmont [Sat, 17 May 2008 15:53:31 +0000 (18:53 +0300)]
Qt4: do not use vlc_object_get

12 years agoIgnore X11 errors on Maemo
Rémi Denis-Courmont [Sat, 17 May 2008 12:12:33 +0000 (15:12 +0300)]
Ignore X11 errors on Maemo

12 years agoEnable the Nokia OSSO hacks on all X11 plugins
Rémi Denis-Courmont [Sat, 17 May 2008 12:07:46 +0000 (15:07 +0300)]
Enable the Nokia OSSO hacks on all X11 plugins

12 years agotranscode: Fix a typo about scale.
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>
12 years agoContrib: fix libvorbis CVEs: 2008-1419, 2008-1420, 2008-1423.
Pavlov Konstantin [Fri, 16 May 2008 22:56:00 +0000 (02:56 +0400)]
Contrib: fix libvorbis CVEs: 2008-1419, 2008-1420, 2008-1423.

12 years agoContrib: fix CVE-2008-2109 for libid3tag.
Pavlov Konstantin [Fri, 16 May 2008 22:23:51 +0000 (02:23 +0400)]
Contrib: fix CVE-2008-2109 for libid3tag.

12 years agoSimplification
Rémi Denis-Courmont [Fri, 16 May 2008 16:13:37 +0000 (19:13 +0300)]
Simplification

12 years agoMake vlc_object_detach a no-op if the object is not attached
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

12 years agoHide i_children and pp_children away
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)

12 years agoncurses: use vlc_list_children
Rémi Denis-Courmont [Fri, 16 May 2008 15:41:52 +0000 (18:41 +0300)]
ncurses: use vlc_list_children

12 years agoQt4: use vlc_list_children
Rémi Denis-Courmont [Fri, 16 May 2008 15:23:34 +0000 (18:23 +0300)]
Qt4: use vlc_list_children

12 years agovlc_list_children: list children _safely_
Rémi Denis-Courmont [Fri, 16 May 2008 15:23:09 +0000 (18:23 +0300)]
vlc_list_children: list children _safely_

12 years agos,fake:,fake://,g
Rafaël Carré [Fri, 16 May 2008 13:16:25 +0000 (15:16 +0200)]
s,fake:,fake://,g

12 years agoRevert "vlc_object_release: cleanup"
Rafaël Carré [Fri, 16 May 2008 12:15:03 +0000 (14:15 +0200)]
Revert "vlc_object_release: cleanup"

This reverts commit c85f868153145c0bd146067dfb9ac2c405f65921.

12 years agoRevert "Detach the children at object destruction"
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.

12 years agoDetach the children at object destruction
Rafaël Carré [Fri, 16 May 2008 12:03:48 +0000 (14:03 +0200)]
Detach the children at object destruction

12 years agovlc_object_release: cleanup
Rafaël Carré [Fri, 16 May 2008 11:59:21 +0000 (13:59 +0200)]
vlc_object_release: cleanup

12 years agoGives the correct arguments to libvlc_new()
Rafaël Carré [Fri, 16 May 2008 11:30:48 +0000 (13:30 +0200)]
Gives the correct arguments to libvlc_new()

12 years agoInitialise input memory
Rafaël Carré [Fri, 16 May 2008 11:08:51 +0000 (13:08 +0200)]
Initialise input memory

12 years agos/vlc-control/vlc/
Rafaël Carré [Fri, 16 May 2008 11:01:09 +0000 (13:01 +0200)]
s/vlc-control/vlc/

12 years agos/libvlc/libvlccore/
Rafaël Carré [Fri, 16 May 2008 09:54:19 +0000 (11:54 +0200)]
s/libvlc/libvlccore/

12 years agoFix a very unlikely memleak
Rafaël Carré [Fri, 16 May 2008 08:15:23 +0000 (10:15 +0200)]
Fix a very unlikely memleak

12 years agoXml 2.6.32 patch modification.
Jean-Baptiste Kempf [Fri, 16 May 2008 03:16:40 +0000 (05:16 +0200)]
Xml 2.6.32 patch modification.

12 years agoCosmetic.
Jean-Baptiste Kempf [Thu, 15 May 2008 22:10:06 +0000 (15:10 -0700)]
Cosmetic.

12 years agoSupport for RealText Subtitles.
Jean-Baptiste Kempf [Thu, 15 May 2008 22:03:21 +0000 (15:03 -0700)]
Support for RealText Subtitles.

12 years agoRevert "vlc: Make sure we call libvlc_release() when we are requested to die."
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

12 years agovlc: Code conventions.
Pierre d'Herbemont [Thu, 15 May 2008 20:19:43 +0000 (22:19 +0200)]
vlc: Code conventions.

12 years agovlc: Make sure we call libvlc_release() when we are requested to die.
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.

12 years agoRemove a bunch of unused deprecated APIs
Rémi Denis-Courmont [Thu, 15 May 2008 18:25:39 +0000 (21:25 +0300)]
Remove a bunch of unused deprecated APIs

12 years agoFix unit tests linking
Rémi Denis-Courmont [Thu, 15 May 2008 18:25:29 +0000 (21:25 +0300)]
Fix unit tests linking

12 years agovlc using libvlc
Rémi Denis-Courmont [Thu, 15 May 2008 17:11:41 +0000 (20:11 +0300)]
vlc using libvlc

12 years agolibvlc_run_interface: start and wait for an interface
Rémi Denis-Courmont [Thu, 15 May 2008 17:50:40 +0000 (20:50 +0300)]
libvlc_run_interface: start and wait for an interface

12 years agoDo not allow variable substitution in MRL path schemas
Rémi Denis-Courmont [Thu, 15 May 2008 17:39:45 +0000 (20:39 +0300)]
Do not allow variable substitution in MRL path schemas

12 years agoUse libvlc_InternalAddIntf instead of VLC_AddIntf
Rémi Denis-Courmont [Thu, 15 May 2008 17:19:14 +0000 (20:19 +0300)]
Use libvlc_InternalAddIntf instead of VLC_AddIntf

12 years agoDon't bother with vlc_object_get() when you can keep pointers!
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!

12 years agoRename the shared libraries
Rémi Denis-Courmont [Thu, 15 May 2008 16:40:44 +0000 (19:40 +0300)]
Rename the shared libraries

12 years agovlc-config: remove external mode. Use pkg-config.
Rémi Denis-Courmont [Thu, 15 May 2008 16:28:38 +0000 (19:28 +0300)]
vlc-config: remove external mode. Use pkg-config.

12 years agoupnp: fix a typo
Mirsal Ennaime [Wed, 14 May 2008 22:45:06 +0000 (00:45 +0200)]
upnp: fix a typo

12 years agoupnp: Fix a typo, as pointed by Gilles Sabourin.
Pierre d'Herbemont [Wed, 14 May 2008 21:50:13 +0000 (23:50 +0200)]
upnp: Fix a typo, as pointed by Gilles Sabourin.

12 years agoUse vlc_object_release() to release the playlist
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>
12 years agoRevert "Remove playlist destructor"
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>
12 years agoWe may still have children when destroyed...
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.

12 years agoRemove playlist destructor
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

12 years agoDebug code to prevent FIND_PARENT from crashing.
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.

12 years agoHmm, there was a simpler solution
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)

12 years agoInline DetachObject
Rémi Denis-Courmont [Wed, 14 May 2008 18:17:24 +0000 (21:17 +0300)]
Inline DetachObject

12 years agoGet rid of b_attached
Rémi Denis-Courmont [Wed, 14 May 2008 18:14:47 +0000 (21:14 +0300)]
Get rid of b_attached

12 years agoRecurse through the object tree instead of using the objects table
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

12 years agoTheora Beta3 and patch the includes...
Jean-Baptiste Kempf [Wed, 14 May 2008 17:48:50 +0000 (19:48 +0200)]
Theora Beta3 and patch the includes...

12 years agoDetach dying objects atomically, so FIND_CHILDREN is safe
Rémi Denis-Courmont [Wed, 14 May 2008 17:15:31 +0000 (20:15 +0300)]
Detach dying objects atomically, so FIND_CHILDREN is safe

12 years agoRemove useless constant
Rémi Denis-Courmont [Wed, 14 May 2008 17:04:16 +0000 (20:04 +0300)]
Remove useless constant

12 years agoFix memory leak in mosaic bridge
Rafaël Carré [Wed, 14 May 2008 14:51:26 +0000 (16:51 +0200)]
Fix memory leak in mosaic bridge

12 years agoRevert [42a0d047849f391a75432dfdf5d71523d6ec08c7]
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.

12 years agoUpdate libpng to 1.2.29. We shouldn't be affected by CVE-2008-1382
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

12 years agoWe no longer block l10n
Christophe Mutricy [Tue, 13 May 2008 21:31:19 +0000 (22:31 +0100)]
We no longer block l10n

12 years agoPut psb in NEWS, interface and options.
Jean-Baptiste Kempf [Tue, 13 May 2008 19:48:01 +0000 (12:48 -0700)]
Put psb in NEWS, interface and options.

12 years agoSupport for multiple lines in PJS subs.
Jean-Baptiste Kempf [Tue, 13 May 2008 19:45:12 +0000 (12:45 -0700)]
Support for multiple lines in PJS subs.

12 years agoSupport for parsing PowerDivx (.psb) subtitles
Jean-Baptiste Kempf [Tue, 13 May 2008 19:42:51 +0000 (12:42 -0700)]
Support for parsing PowerDivx (.psb) subtitles

12 years agoFix changelog generation
Christophe Mutricy [Tue, 13 May 2008 18:56:33 +0000 (19:56 +0100)]
Fix changelog generation

12 years agoRemove unused variable
Rafaël Carré [Tue, 13 May 2008 10:16:46 +0000 (12:16 +0200)]
Remove unused variable

12 years agoFix cyclic dependancy between input and "sout stream" description
Rafaël Carré [Tue, 13 May 2008 10:15:42 +0000 (12:15 +0200)]
Fix cyclic dependancy between input and "sout stream" description

12 years agoCosmetic, malloc checks and options completion.
Jean-Baptiste Kempf [Tue, 13 May 2008 06:10:21 +0000 (23:10 -0700)]
Cosmetic, malloc checks and options completion.

12 years agoDBus : missing return argument for AddTrack
Rafaël Carré [Tue, 13 May 2008 06:02:44 +0000 (08:02 +0200)]
DBus : missing return argument for AddTrack

12 years agoTry to split the mind boggingly big vlm.c
Rémi Denis-Courmont [Mon, 12 May 2008 19:53:21 +0000 (22:53 +0300)]
Try to split the mind boggingly big vlm.c