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

16 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>
16 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

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

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

16 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

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

16 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

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

16 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).

16 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

16 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

16 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

16 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

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

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

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

16 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

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

16 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

16 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

16 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_

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

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

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

16 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

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

16 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()

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

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

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

16 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

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

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

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

16 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

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

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

16 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

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

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

16 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

16 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

16 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

16 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!

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

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

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

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

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

16 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

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

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

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

16 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

16 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

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

16 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

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

16 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

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

16 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

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

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

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

16 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

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

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

16 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

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

16 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

16 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

16 years agoNo need for sed here
Rémi Denis-Courmont [Mon, 12 May 2008 17:21:05 +0000 (20:21 +0300)]
No need for sed here

16 years agoMake sure the window is set to a normal level before going to fullscreen.
Felix Paul Kühne [Mon, 12 May 2008 16:39:56 +0000 (18:39 +0200)]
Make sure the window is set to a normal level before going to fullscreen.

This fixes the 'the fspanel is missing if I have always-on-top selected' bug and should also fix #1227 for OS X.

This patch needs testing on a multiscreen setup before being backported.

16 years agoDon't print a message when an memory error occure and check some malloc return values.
Rémi Duraffort [Mon, 12 May 2008 16:36:15 +0000 (18:36 +0200)]
Don't print a message when an memory error occure and check some malloc return values.

16 years agoMirror goom on ganesh for the folks using curl
Felix Paul Kühne [Mon, 12 May 2008 16:32:30 +0000 (18:32 +0200)]
Mirror goom on ganesh for the folks using curl

No, you don't want to ask. You just want to use wget..

16 years agoUpdate the NEWS and the dialogs for the subtitles support.
Jean-Baptiste Kempf [Mon, 12 May 2008 15:03:20 +0000 (08:03 -0700)]
Update the NEWS and the dialogs for the subtitles support.

16 years agoCommit the good version of the file.
Jean-Baptiste Kempf [Mon, 12 May 2008 14:56:31 +0000 (07:56 -0700)]
Commit the good version of the file.
For the ones who wants to look at it, here is a complex script
http://unicorn.us.com/jacosub/demo.txt

16 years agoAsserts the return value of pf_audio_filter()
Rafaël Carré [Mon, 12 May 2008 14:46:49 +0000 (16:46 +0200)]
Asserts the return value of pf_audio_filter()

16 years agoplaylist startup sorting fix
Lukas Durfina [Mon, 12 May 2008 05:24:29 +0000 (07:24 +0200)]
playlist startup sorting fix

playlist startup sorting fix

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
16 years agoSupport for both types of MPSub
Jean-Baptiste Kempf [Mon, 12 May 2008 14:29:34 +0000 (07:29 -0700)]
Support for both types of MPSub
Basic parsing and support of JacoSub (the parsing doesn't work yet with multi-lines and the directives are ignored but the text works)

16 years agoAvoid a potential segfault as vlc_object_create can fail.
Rémi Duraffort [Mon, 12 May 2008 12:48:45 +0000 (14:48 +0200)]
Avoid a potential segfault as vlc_object_create can fail.

16 years agoShow utf-8 as utf-8, eg translations in playlistpanel.
Ilkka Ollakka [Mon, 12 May 2008 11:29:42 +0000 (14:29 +0300)]
Show utf-8 as utf-8, eg translations in playlistpanel.
also add _("ID") instead of empty label on first label (seems that it's id)

16 years agoJapanese l10n update by Tadashi Jokagi
Christophe Mutricy [Sun, 11 May 2008 21:27:09 +0000 (22:27 +0100)]
Japanese l10n update by Tadashi Jokagi

16 years agoThe TLS also needs to be cleaned up... should fix #1576
Rémi Denis-Courmont [Sat, 10 May 2008 20:22:13 +0000 (23:22 +0300)]
The TLS also needs to be cleaned up... should fix #1576

16 years agoSimplification
Rémi Denis-Courmont [Sat, 10 May 2008 19:58:31 +0000 (22:58 +0300)]
Simplification

16 years agoDon't assert that something that can fail won't fail...
Rémi Denis-Courmont [Sat, 10 May 2008 19:49:25 +0000 (22:49 +0300)]
Don't assert that something that can fail won't fail...

16 years agovlm: Fix a warning about a non initialized pointer use, and fix a potential free...
Pierre d'Herbemont [Sat, 10 May 2008 19:05:23 +0000 (21:05 +0200)]
vlm: Fix a warning about a non initialized pointer use, and fix a potential free() of a random pointer.

16 years agoFix compiler warnings.
Jean-Paul Saman [Sat, 10 May 2008 18:00:44 +0000 (20:00 +0200)]
Fix compiler warnings.

16 years agoDon't override original pointer when realloc fails.
Jean-Paul Saman [Sat, 10 May 2008 17:53:41 +0000 (19:53 +0200)]
Don't override original pointer when realloc fails.

16 years agoCheck malloc return value and cleanup if allocation failed.
Jean-Paul Saman [Sat, 10 May 2008 17:49:29 +0000 (19:49 +0200)]
Check malloc return value and cleanup if allocation failed.

16 years agoCheck malloc return value or risk overwritting not allocated memory.
Jean-Paul Saman [Sat, 10 May 2008 17:44:41 +0000 (19:44 +0200)]
Check malloc return value or risk overwritting not allocated memory.

16 years agolibvlc: add subtitle file (*.srt...) handling
Tanguy Krotoff [Wed, 7 May 2008 01:52:51 +0000 (03:52 +0200)]
libvlc: add subtitle file (*.srt...) handling

Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
16 years agoDon't look for plugins from CWD. Also don't leak in case of errors.
Rémi Denis-Courmont [Sat, 10 May 2008 17:46:11 +0000 (20:46 +0300)]
Don't look for plugins from CWD. Also don't leak in case of errors.

16 years agovlc: set the plugin-path explicitly
Rémi Denis-Courmont [Sat, 10 May 2008 17:45:29 +0000 (20:45 +0300)]
vlc: set the plugin-path explicitly

So we don't need the current working directory hack to run VLC from the
build tree. As an added bonus, we can now run VLC from its build tree
even if the current working directory is not $(top_builddir).

16 years agoAnother Makefile fix
Rémi Denis-Courmont [Sat, 10 May 2008 17:36:34 +0000 (20:36 +0300)]
Another Makefile fix

16 years agoFixed error handling in function
Miguel Angel Cabrera Moya [Thu, 8 May 2008 20:43:00 +0000 (22:43 +0200)]
Fixed error handling in function

Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>