vlc.git
13 years agoFix memleak (the memory allocated by var_Control(VLC_VAR_GETCHOICES) must be
Rémi Duraffort [Wed, 20 May 2009 08:32:22 +0000 (10:32 +0200)]
Fix memleak (the memory allocated by var_Control(VLC_VAR_GETCHOICES) must be
deallocated).

13 years agoFix previous commit.
Rémi Duraffort [Tue, 19 May 2009 22:04:30 +0000 (00:04 +0200)]
Fix previous commit.

13 years agovariables: fix a potential crash/double free.
Rémi Duraffort [Tue, 19 May 2009 21:33:00 +0000 (23:33 +0200)]
variables: fix a potential crash/double free.
Indeed, giving a NULL to var_Change(VLC_VAR_SETSTRING) will lead to a crash the
next time this variable is used.

13 years agov4l2: fix memleak.
Rémi Duraffort [Tue, 19 May 2009 21:27:07 +0000 (23:27 +0200)]
v4l2: fix memleak.

13 years agoQt: change slightly the colours of the sound slider.
Jean-Baptiste Kempf [Tue, 19 May 2009 18:24:44 +0000 (20:24 +0200)]
Qt: change slightly the colours of the sound slider.

13 years agoQt: lower a bit the default sound slider.
Jean-Baptiste Kempf [Tue, 19 May 2009 18:10:14 +0000 (20:10 +0200)]
Qt: lower a bit the default sound slider.

13 years agoFixed some dvd spu streams that have multiple palette/alpha per packet.
Laurent Aimar [Tue, 19 May 2009 16:47:52 +0000 (18:47 +0200)]
Fixed some dvd spu streams that have multiple palette/alpha per packet.

13 years agoFixed potential segfault with broken DVD SPU streams.
Laurent Aimar [Tue, 19 May 2009 16:47:20 +0000 (18:47 +0200)]
Fixed potential segfault with broken DVD SPU streams.

13 years agoCosmetics (spudec).
Laurent Aimar [Tue, 19 May 2009 16:47:00 +0000 (18:47 +0200)]
Cosmetics (spudec).

13 years agoAdd a bunch of FIXMEs
Rémi Denis-Courmont [Tue, 19 May 2009 17:58:47 +0000 (20:58 +0300)]
Add a bunch of FIXMEs

13 years agoSharpen: thread safety and don't retain useless value
Rémi Denis-Courmont [Tue, 19 May 2009 17:58:25 +0000 (20:58 +0300)]
Sharpen: thread safety and don't retain useless value

13 years agoRotate: thread-safety
Rémi Denis-Courmont [Tue, 19 May 2009 17:53:03 +0000 (20:53 +0300)]
Rotate: thread-safety

13 years agoRotate: no need to remember the angle
Rémi Denis-Courmont [Tue, 19 May 2009 17:47:38 +0000 (20:47 +0300)]
Rotate: no need to remember the angle

13 years agoMotion blur: callback thread safety
Rémi Denis-Courmont [Tue, 19 May 2009 17:40:11 +0000 (20:40 +0300)]
Motion blur: callback thread safety

13 years agoMarquee: thread-safety corner cases
Rémi Denis-Courmont [Tue, 19 May 2009 17:35:31 +0000 (20:35 +0300)]
Marquee: thread-safety corner cases

13 years agoLogo: thread safety fix
Rémi Denis-Courmont [Tue, 19 May 2009 17:29:10 +0000 (20:29 +0300)]
Logo: thread safety fix

There are still bugs. At least posx, posy, pos and b_need_update are not
protected properly, but I don't have time.

13 years agoLogo: expansion safety
Rémi Denis-Courmont [Tue, 19 May 2009 17:23:25 +0000 (20:23 +0300)]
Logo: expansion safety

13 years agoGradient: callback thread-safety
Rémi Denis-Courmont [Tue, 19 May 2009 17:21:04 +0000 (20:21 +0300)]
Gradient: callback thread-safety

13 years agoExtract: thread-safety
Rémi Denis-Courmont [Tue, 19 May 2009 17:17:15 +0000 (20:17 +0300)]
Extract: thread-safety

13 years agoErase: actual thread-safety
Rémi Denis-Courmont [Tue, 19 May 2009 17:10:44 +0000 (20:10 +0300)]
Erase: actual thread-safety

13 years agocrop: thread-safety for FilterCallback
Rémi Denis-Courmont [Tue, 19 May 2009 17:05:39 +0000 (20:05 +0300)]
crop: thread-safety for FilterCallback

13 years agoCrop: simplify
Rémi Denis-Courmont [Tue, 19 May 2009 17:05:24 +0000 (20:05 +0300)]
Crop: simplify

13 years agoBlue screen: thread-safety
Rémi Denis-Courmont [Tue, 19 May 2009 16:56:19 +0000 (19:56 +0300)]
Blue screen: thread-safety

13 years agoblue screen: __MIN and __MAX are not expansion-safe
Rémi Denis-Courmont [Tue, 19 May 2009 16:53:05 +0000 (19:53 +0300)]
blue screen: __MIN and __MAX are not expansion-safe

13 years agoAlpha mask: thread-safety
Rémi Denis-Courmont [Tue, 19 May 2009 16:49:37 +0000 (19:49 +0300)]
Alpha mask: thread-safety

A corner case occured if the mask were changed during initialization.

13 years agoAdjust: thread-safety
Rémi Denis-Courmont [Tue, 19 May 2009 16:47:23 +0000 (19:47 +0300)]
Adjust: thread-safety

13 years agox11: Show popup menu on click, not on release, as KDE and GNOME seem to do it.
Jean-Baptiste Kempf [Tue, 19 May 2009 16:54:07 +0000 (18:54 +0200)]
x11: Show popup menu on click, not on release, as KDE and GNOME seem to do it.

Close #2573

13 years agoTry to stay consistent.
Jean-Baptiste Kempf [Tue, 19 May 2009 16:36:58 +0000 (18:36 +0200)]
Try to stay consistent.

13 years agoUpdate NEWS for zip MRL.
Jean-Baptiste Kempf [Tue, 19 May 2009 16:36:42 +0000 (18:36 +0200)]
Update NEWS for zip MRL.

13 years agoZip: use !/ as separator instead of |
Jean-Philippe Andre [Tue, 19 May 2009 15:45:09 +0000 (23:45 +0800)]
Zip: use !/ as separator instead of |

As advised on the forum, !/ is the standard separator for JAR protocol.

13 years agoZip: fix handling of special characters (#2467)
Jean-Philippe Andre [Tue, 12 May 2009 17:56:17 +0000 (01:56 +0800)]
Zip: fix handling of special characters (#2467)

13 years agoMatch used SD alias rather than plugin name (fixes #2756)
Rémi Denis-Courmont [Tue, 19 May 2009 14:56:22 +0000 (17:56 +0300)]
Match used SD alias rather than plugin name (fixes #2756)

13 years agoRetain SD name for matching purpose
Rémi Denis-Courmont [Tue, 19 May 2009 14:55:47 +0000 (17:55 +0300)]
Retain SD name for matching purpose

13 years agoFix --qt-start-mninimized option
Jean-Baptiste Kempf [Sun, 17 May 2009 23:31:58 +0000 (01:31 +0200)]
Fix --qt-start-mninimized option

Report : http://forum.videolan.org/viewtopic.php?f=13&t=59425&p=198466#p198450

13 years agol10n: French update
Éric Lassauge [Sun, 17 May 2009 22:48:42 +0000 (23:48 +0100)]
l10n: French update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
13 years agol10n: Italian update
Vincenzo Reale [Sun, 17 May 2009 22:32:08 +0000 (23:32 +0100)]
l10n: Italian update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
13 years agol10n: Brazillian Portuguese update
Sidney Doria [Sun, 17 May 2009 22:24:32 +0000 (23:24 +0100)]
l10n: Brazillian Portuguese update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
13 years agol10n: Nepalese update
Animesh Swar [Sun, 17 May 2009 22:16:51 +0000 (23:16 +0100)]
l10n: Nepalese update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
13 years agoDon't distribute files generated by configure
Christophe Mutricy [Sat, 16 May 2009 18:11:05 +0000 (19:11 +0100)]
Don't distribute files generated by configure

13 years agoMove the Changelogs to maintainer-clean.
Christophe Mutricy [Sat, 16 May 2009 17:01:04 +0000 (18:01 +0100)]
Move the Changelogs to maintainer-clean.

As they need git to be generated, you don't want them to disappear when you do make distclean in sources extracted from the tarball

13 years agoUse the 2009 key
Christophe Mutricy [Sat, 9 May 2009 21:35:21 +0000 (22:35 +0100)]
Use the 2009 key

13 years agoEnsure that people don't compile Dirac on Windows and Gcc 3
Jean-Baptiste Kempf [Sun, 17 May 2009 22:31:50 +0000 (00:31 +0200)]
Ensure that people don't compile Dirac on Windows and Gcc 3

13 years agoQt: Remove Streaming and Convert/Save menus if compiled with --disable-sout
Jean-Baptiste Kempf [Sun, 17 May 2009 22:23:44 +0000 (00:23 +0200)]
Qt: Remove Streaming and Convert/Save menus if compiled with --disable-sout

Close #2754

13 years agoFix a bug when sorting the playlist:
Rémi Duraffort [Sun, 17 May 2009 20:18:08 +0000 (22:18 +0200)]
Fix a bug when sorting the playlist:

Actually sort is well done but when the user ask for the next/previous item in
the playlist, it will get the one without the sort and not the right
previous/next item.

This is caused by the fact that the table which describe previous/next isn't
rebuilded after a call to the sort function. This commit force the rebuild to
be done (b_reset_currently_playing = true)

13 years agoFix spatializer: wrong variables name.
Rémi Duraffort [Sun, 17 May 2009 19:58:28 +0000 (21:58 +0200)]
Fix spatializer: wrong variables name.

13 years agoFix memleaks: EnsureUTF8 return NULL if the string isn't valid,
Rémi Duraffort [Sun, 17 May 2009 12:27:35 +0000 (14:27 +0200)]
Fix memleaks: EnsureUTF8 return NULL if the string isn't valid,
so we must be able to free the memory in this case.

13 years agorawaud: default FOURCC with local rather than low endianess
Rémi Denis-Courmont [Sun, 17 May 2009 08:52:24 +0000 (11:52 +0300)]
rawaud: default FOURCC with local rather than low endianess

13 years agoAvoid ?: GCC-ism
Rémi Denis-Courmont [Sun, 17 May 2009 08:16:03 +0000 (11:16 +0300)]
Avoid ?: GCC-ism

13 years agoDMO: put more debug if DMO_DEBUG is set
Jean-Baptiste Kempf [Sun, 17 May 2009 01:17:27 +0000 (03:17 +0200)]
DMO: put more debug if DMO_DEBUG is set

This might help to trac the dmo race.

13 years agoQt: correctly split the MRL
Jean-Baptiste Kempf [Sun, 17 May 2009 01:13:08 +0000 (03:13 +0200)]
Qt: correctly split the MRL

Close #2682

13 years agoQt: fix missing 's' in function name
Jean-Baptiste Kempf [Sun, 17 May 2009 00:35:12 +0000 (02:35 +0200)]
Qt: fix missing 's' in function name

13 years agoCosmetics.
Jean-Baptiste Kempf [Sun, 17 May 2009 00:20:58 +0000 (02:20 +0200)]
Cosmetics.

13 years agoForgotten FileSeparator issue.
Jean-Baptiste Kempf [Sun, 17 May 2009 00:19:55 +0000 (02:19 +0200)]
Forgotten FileSeparator issue.

13 years agoQt: reindent after last commit.
Jean-Baptiste Kempf [Sun, 17 May 2009 00:10:17 +0000 (02:10 +0200)]
Qt: reindent after last commit.

13 years agoQt4: fix DIR_SEP on open.
Jean-Baptiste Kempf [Sun, 17 May 2009 00:06:49 +0000 (02:06 +0200)]
Qt4: fix DIR_SEP on open.

Should fix #2142

13 years agoWhen adding an URL, create the name without login and password.
Rémi Duraffort [Sat, 16 May 2009 21:37:10 +0000 (23:37 +0200)]
When adding an URL, create the name without login and password.
This fix partially #2142

13 years agoFix the type guess: this can be a protocol only if you xan find a :// in it.
Rémi Duraffort [Sat, 16 May 2009 21:15:12 +0000 (23:15 +0200)]
Fix the type guess: this can be a protocol only if you xan find a :// in it.
(and add ftp and smb to the list)

13 years agoFixed osd_* functions when the OSD was not loaded.
Laurent Aimar [Sat, 16 May 2009 21:22:01 +0000 (23:22 +0200)]
Fixed osd_* functions when the OSD was not loaded.

 It fixed a segfault when using hotkeys for the OSD.
 I am not sure it is perfectly fine, but var_AcquireMutex seems
to have been removed without a proper replacement.

13 years agoGtk_main: fix compilation.... Completly untested.
Jean-Baptiste Kempf [Sat, 16 May 2009 21:10:09 +0000 (23:10 +0200)]
Gtk_main: fix compilation.... Completly untested.

Should we keep this code?

13 years agopda: fix typo introduced by [ebd7cf22ae7d5b3a1bbf1cd8728926e78f831a9c]
Jean-Baptiste Kempf [Sat, 16 May 2009 20:32:29 +0000 (22:32 +0200)]
pda: fix typo introduced by [ebd7cf22ae7d5b3a1bbf1cd8728926e78f831a9c]

This should fix the compilation of pda interface.

13 years agopda: Fix warnings.
Jean-Baptiste Kempf [Sat, 16 May 2009 20:27:47 +0000 (22:27 +0200)]
pda: Fix warnings.

13 years agoPda: fix compile broken by [05492281]
Jean-Baptiste Kempf [Sat, 16 May 2009 20:26:40 +0000 (22:26 +0200)]
Pda: fix compile broken by [05492281]

13 years agoTypo
Rémi Denis-Courmont [Sat, 16 May 2009 16:10:08 +0000 (19:10 +0300)]
Typo

13 years agoQt4: non-sense way of getting current playlist item
Rémi Denis-Courmont [Sat, 16 May 2009 16:07:07 +0000 (19:07 +0300)]
Qt4: non-sense way of getting current playlist item

We want the current playing item, rather than the number of items to
choose from. Besides, item-current is _not_ a choice list anyway.

13 years agoAttach fetcher to playlist so it gets proper configuration
Rémi Denis-Courmont [Sat, 16 May 2009 16:06:46 +0000 (19:06 +0300)]
Attach fetcher to playlist so it gets proper configuration

13 years agofetcher is a VLC object
Rémi Denis-Courmont [Sat, 16 May 2009 11:58:33 +0000 (14:58 +0300)]
fetcher is a VLC object

13 years agoFixed DMO wrapper.
Laurent Aimar [Fri, 15 May 2009 23:02:06 +0000 (01:02 +0200)]
Fixed DMO wrapper.

 One input buffer can create multiples output ones and so need to be fetched
before provided a new input one.

13 years agoRespect album-art for CDDB request.
Laurent Aimar [Fri, 15 May 2009 21:52:25 +0000 (23:52 +0200)]
Respect album-art for CDDB request.

In this case the option is a bit mis-named but...

13 years agoCorrectly detect rewind (rtsp).
Laurent Aimar [Fri, 15 May 2009 21:46:05 +0000 (23:46 +0200)]
Correctly detect rewind (rtsp).

13 years agoDo not call EnsureUTF8 on NULL string (cdtext).
Laurent Aimar [Fri, 15 May 2009 21:20:15 +0000 (23:20 +0200)]
Do not call EnsureUTF8 on NULL string (cdtext).

13 years agoAdd wmal and WMAL fourCC
Jean-Baptiste Kempf [Fri, 15 May 2009 22:10:05 +0000 (00:10 +0200)]
Add wmal and WMAL fourCC

Spotted by mc2man, mc2man -- optonline | net
(cherry picked from commit e783877897dcafdcd833f81ba44015ccd0ac482f)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoQt: Be carefull with C++. Fix the issue with downloading album art fromthe net!
Jean-Baptiste Kempf [Fri, 15 May 2009 21:06:45 +0000 (23:06 +0200)]
Qt: Be carefull with C++. Fix the issue with downloading album art fromthe net!

13 years agoWinCE: Require a recent enough mingwce to fix *printf problems
Pierre Ynard [Fri, 15 May 2009 13:19:38 +0000 (15:19 +0200)]
WinCE: Require a recent enough mingwce to fix *printf problems

This just in: CeGCC has a MinGW with working replacement *printf
functions. Just like for mingw32, require (and allow building with) a
recent enough version of mingwce.

Since MinGW is patched by CeGCC, this check is not strictly sufficient;
but at least this allows to have working WinCE builds again.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoFix missing symbol in libxvmc_plugin.so
Nicolas Chauvet (kwizart) [Wed, 13 May 2009 13:26:32 +0000 (15:26 +0200)]
Fix missing symbol in libxvmc_plugin.so

the XvMC plugin use xcommon.c where some part use
HAVE_XINERAMA conditions.

Missing symbols are :
XineramaQueryScreens
XineramaQueryExtension
XineramaIsActive

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
13 years agoCompile fix: Include limits.h when using PATH_MAX
Jean-Paul Saman [Tue, 12 May 2009 11:22:11 +0000 (13:22 +0200)]
Compile fix: Include limits.h when using PATH_MAX

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
13 years agoQt: Default Output address to 0.0.0.0 in HTTP and MMS
Jean-Baptiste Kempf [Thu, 14 May 2009 21:03:24 +0000 (23:03 +0200)]
Qt: Default Output address to 0.0.0.0 in HTTP and MMS

13 years agoinput: Fix a memleak.
Rémi Duraffort [Thu, 14 May 2009 17:27:30 +0000 (19:27 +0200)]
input: Fix a memleak.

13 years agowince: replace _wrename by MoveFileW
Geoffroy Couprie [Wed, 13 May 2009 14:50:53 +0000 (16:50 +0200)]
wince: replace _wrename by MoveFileW
(cherry picked from commit 7ba508f8ef84047d1c1ed06ac0f3596e0ea1019d)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agowince: replace getpid by GetCurrentProcessId
Pierre Ynard [Sat, 9 May 2009 15:20:46 +0000 (17:20 +0200)]
wince: replace getpid by GetCurrentProcessId

Signed-off-by: Geoffroy Couprie <geo.couprie@gmail.com>
(cherry picked from commit d93246d2d334a21021ab004e99dff22d601fb8ab)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoMark loop, repeat, random as safe.
Jean-Baptiste Kempf [Thu, 14 May 2009 18:07:31 +0000 (20:07 +0200)]
Mark loop, repeat, random as safe.

13 years agomozilla: fix integer types
Jean-Paul Saman [Tue, 17 Mar 2009 13:28:12 +0000 (14:28 +0100)]
mozilla: fix integer types

(u)int16 -> (u)int16_t
(u)int32 -> (u)int32_t
(cherry picked from commit 53ec8a45e5945db7a452238447e83a8b630c8a79)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agommsh: cleanup
Jean-Paul Saman [Tue, 12 May 2009 15:02:38 +0000 (17:02 +0200)]
mmsh: cleanup
(cherry picked from commit 190ae57d8cd38b2ec1748f950865b94febdb01d0)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agommstu: fix memleak
Jean-Paul Saman [Tue, 12 May 2009 14:55:26 +0000 (16:55 +0200)]
mmstu: fix memleak
(cherry picked from commit ecfdb8c3ca6c1803cf055dcac440ec7ca1a8a9c3)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agommsh: fix potential memleak
Jean-Paul Saman [Tue, 12 May 2009 12:18:36 +0000 (14:18 +0200)]
mmsh: fix potential memleak
(cherry picked from commit 5cc974b1a4bb383006a380d4c9e0011e47cefde1)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agommstu: handle keepalive error case
Jean-Paul Saman [Tue, 12 May 2009 12:11:30 +0000 (14:11 +0200)]
mmstu: handle keepalive error case
(cherry picked from commit e692b86ada5f970fb37b1db137a9d68148dc6ec2)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoXCB/window: add XFree86 extended key symbols
Rémi Denis-Courmont [Thu, 14 May 2009 16:31:27 +0000 (19:31 +0300)]
XCB/window: add XFree86 extended key symbols

Well, only those that VLC knows anyway.

13 years agoXCB/window: implement --video-title, UTF-8 names
Rémi Denis-Courmont [Thu, 14 May 2009 15:46:08 +0000 (18:46 +0300)]
XCB/window: implement --video-title, UTF-8 names

13 years agoFixed the option "auto-preparse".
Laurent Aimar [Wed, 13 May 2009 21:41:54 +0000 (23:41 +0200)]
Fixed the option "auto-preparse".

 It is now respected. It is part of the privacy problem with
meta data/art.
 I think that
  --noauto-preparse --album-art 0
 will workaround the issue until a new option is added.

13 years agoOpenGL: fix missing GLX window decoration
Rémi Denis-Courmont [Wed, 13 May 2009 20:23:35 +0000 (23:23 +0300)]
OpenGL: fix missing GLX window decoration

13 years agoXCB/window: do not depend on xcb-aux for one trivial function call
Rémi Denis-Courmont [Wed, 13 May 2009 20:13:10 +0000 (23:13 +0300)]
XCB/window: do not depend on xcb-aux for one trivial function call

13 years agoFixed downmixing to mono (close #2728).
Laurent Aimar [Wed, 13 May 2009 19:59:13 +0000 (21:59 +0200)]
Fixed downmixing to mono (close #2728).

13 years agoDeprecate all broken vout_Control() abusers
Rémi Denis-Courmont [Wed, 13 May 2009 18:48:24 +0000 (21:48 +0300)]
Deprecate all broken vout_Control() abusers

13 years agouse VLC_DEPRECATED_API as needed
Rémi Denis-Courmont [Wed, 13 May 2009 18:48:07 +0000 (21:48 +0300)]
use VLC_DEPRECATED_API as needed

13 years agolibvlc: add support for setting/getting the video scale
Rémi Denis-Courmont [Wed, 13 May 2009 18:43:25 +0000 (21:43 +0300)]
libvlc: add support for setting/getting the video scale

13 years agoUse input_GetVout() instead of vlc_object_find()
Rémi Denis-Courmont [Wed, 13 May 2009 18:38:56 +0000 (21:38 +0300)]
Use input_GetVout() instead of vlc_object_find()

13 years agortsp: fix RTP-Info header syntax
Pierre Ynard [Wed, 13 May 2009 16:26:01 +0000 (18:26 +0200)]
rtsp: fix RTP-Info header syntax

As per RFC2326, the correct syntax includes a "url=" that is missing
here. Tested (and bug found) with a Real Player client.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoXCB/window: fix always on top
Rémi Denis-Courmont [Wed, 13 May 2009 17:16:38 +0000 (20:16 +0300)]
XCB/window: fix always on top

13 years agolibvlc_media_player_retain: missing lock
Rémi Denis-Courmont [Wed, 13 May 2009 15:51:01 +0000 (18:51 +0300)]
libvlc_media_player_retain: missing lock

13 years agoSyntax error
Rémi Denis-Courmont [Tue, 12 May 2009 16:12:44 +0000 (19:12 +0300)]
Syntax error

13 years agoFix *ASCII* translation of VLC media player in languages I know
Rémi Denis-Courmont [Tue, 12 May 2009 15:44:48 +0000 (18:44 +0300)]
Fix *ASCII* translation of VLC media player in languages I know

This bug affects many other localizations that I cannot fix myself.