vlc.git
12 years agoMore updates, partially Mac-specific
Felix Paul Kühne [Tue, 20 May 2008 20:37:32 +0000 (22:37 +0200)]
More updates, partially Mac-specific

12 years agoGnuTLS: proper location for ca-certificates
Rémi Denis-Courmont [Tue, 20 May 2008 20:19:35 +0000 (23:19 +0300)]
GnuTLS: proper location for ca-certificates

12 years agoGnuTLS: read key material from memory - fixes #1108
Rémi Denis-Courmont [Tue, 20 May 2008 20:18:02 +0000 (23:18 +0300)]
GnuTLS: read key material from memory - fixes #1108

12 years agoblock_File: test case
Rémi Denis-Courmont [Tue, 20 May 2008 19:26:45 +0000 (22:26 +0300)]
block_File: test case

12 years agoblock_File: loads a file into a block_t
Rémi Denis-Courmont [Tue, 20 May 2008 19:15:12 +0000 (22:15 +0300)]
block_File: loads a file into a block_t

12 years ago(Almost) pread() for Win32
Rémi Denis-Courmont [Tue, 20 May 2008 19:57:54 +0000 (22:57 +0300)]
(Almost) pread() for Win32

12 years agoCMake : don't try to link unused targets
Rafaël Carré [Tue, 20 May 2008 20:10:21 +0000 (22:10 +0200)]
CMake : don't try to link unused targets

12 years agoCmake : disable samples downloading & related tests
Rafaël Carré [Tue, 20 May 2008 20:09:25 +0000 (22:09 +0200)]
Cmake : disable samples downloading & related tests

12 years agoCmake : fix libvlc* versionning and naming
Rafaël Carré [Tue, 20 May 2008 19:57:59 +0000 (21:57 +0200)]
Cmake : fix libvlc* versionning and naming

12 years agoUpdates
Rémi Denis-Courmont [Tue, 20 May 2008 18:20:32 +0000 (21:20 +0300)]
Updates

12 years agoDon't use stat() before opendir()
Rémi Denis-Courmont [Tue, 20 May 2008 15:59:28 +0000 (18:59 +0300)]
Don't use stat() before opendir()

12 years agoFix handle leak
Rémi Denis-Courmont [Tue, 20 May 2008 15:55:50 +0000 (18:55 +0300)]
Fix handle leak

12 years agoDon't waste stat() right before opendir().
Rémi Denis-Courmont [Tue, 20 May 2008 15:54:59 +0000 (18:54 +0300)]
Don't waste stat() right before opendir().

12 years agoDon't test if a directory exists twice in a row
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...

12 years agoNo need to do stat() before opendir()!
Rémi Denis-Courmont [Tue, 20 May 2008 15:50:42 +0000 (18:50 +0300)]
No need to do stat() before opendir()!

12 years agoUse fstat()!
Rémi Denis-Courmont [Tue, 20 May 2008 15:47:25 +0000 (18:47 +0300)]
Use fstat()!

12 years agoDirectsound 7.1 support and some debug messages...
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.

12 years agoUntested attempt to DirectAudio support for 7.1 system
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

12 years agoFix decoding of teletext in ps files (the zvbi decoder expects the full PES packet...
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).

12 years agoFix the reference counting of pictures stored in the mosaic_bridge ring
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

12 years agoCheck allocation and initialise memory
Rafaël Carré [Tue, 20 May 2008 13:06:24 +0000 (15:06 +0200)]
Check allocation and initialise memory

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