vlc.git
13 years agoFixed demux_vaControlHelper GET_TIME implementation.
Laurent Aimar [Fri, 22 May 2009 19:30:16 +0000 (21:30 +0200)]
Fixed demux_vaControlHelper GET_TIME implementation.

It should return the current time even when the size isn't known.

13 years agomacosx: added an entry to Video->Aspect-ratio to disable our AR-lock for one session.
Felix Paul Kühne [Fri, 22 May 2009 17:46:13 +0000 (19:46 +0200)]
macosx: added an entry to Video->Aspect-ratio to disable our AR-lock for one session.

Based upon an idea by Philipp Biermann.

An actual vlc-option for this will be created in the master branch.

Note that this feature does only affect VLCEmbeddedWindow - our plain vout window enforces the AR.

13 years agoForgotten dirac packetizer in LIST.
Jean-Baptiste Kempf [Thu, 21 May 2009 23:09:19 +0000 (01:09 +0200)]
Forgotten dirac packetizer in LIST.

13 years agoMissing initializer
Rémi Denis-Courmont [Thu, 21 May 2009 19:41:09 +0000 (22:41 +0300)]
Missing initializer

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoQt4: activate playlist item on right click (fix #2749)
Rémi Denis-Courmont [Thu, 21 May 2009 18:32:02 +0000 (21:32 +0300)]
Qt4: activate playlist item on right click (fix #2749)

Also, show the popup menu on press rather than release.

13 years agoXCB/window: really handle media keys
Rémi Denis-Courmont [Thu, 21 May 2009 15:27:30 +0000 (18:27 +0300)]
XCB/window: really handle media keys

13 years agomacosx: finally completed the progress-panel's implementation
Felix Paul Kühne [Thu, 21 May 2009 15:03:47 +0000 (17:03 +0200)]
macosx: finally completed the progress-panel's implementation

13 years agomacosx: fixed compilation warning
Felix Paul Kühne [Thu, 21 May 2009 15:02:53 +0000 (17:02 +0200)]
macosx: fixed compilation warning

13 years agoWinCE: add replacement getcwd() function
Pierre Ynard [Wed, 20 May 2009 22:11:37 +0000 (00:11 +0200)]
WinCE: add replacement getcwd() function

As WinCE doesn't support working directories, this function is
basically empty, and merely returns an error.

13 years agoqt4: update the MRL when the fps change (desktop).
Rémi Duraffort [Wed, 20 May 2009 22:04:39 +0000 (00:04 +0200)]
qt4: update the MRL when the fps change (desktop).
Should fix #2767.

13 years agoFix potential object leak.
Rémi Duraffort [Wed, 20 May 2009 19:02:08 +0000 (21:02 +0200)]
Fix potential object leak.

13 years agoRemove unwanted "\v".
Rémi Duraffort [Wed, 20 May 2009 17:07:27 +0000 (19:07 +0200)]
Remove unwanted "\v".

13 years agomacosx: fixed menubar appearance in fullscreen mode by partially reverting [46c93c9cc...
Felix Paul Kühne [Wed, 20 May 2009 16:22:39 +0000 (18:22 +0200)]
macosx: fixed menubar appearance in fullscreen mode by partially reverting [46c93c9cc984b99142b6e7321c8f5c4c8c4e65bb]

There is no 64bit-save aka non-Carbon replacement for this feature yet.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
13 years agoFree rtsp commands on close
Sébastien Escudier [Wed, 20 May 2009 07:32:57 +0000 (09:32 +0200)]
Free rtsp commands on close

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agomacosx: fixed the updateInfoPanel crash
Felix Paul Kühne [Wed, 20 May 2009 16:04:24 +0000 (18:04 +0200)]
macosx: fixed the updateInfoPanel crash

This also 'fixes' RTSP playback crashes (#2742)

13 years agoMozilla: remove logging support
Rémi Denis-Courmont [Wed, 20 May 2009 15:39:17 +0000 (18:39 +0300)]
Mozilla: remove logging support

You don't want random web pages listing, say, the content of your
hard drive (file/xspf-open://C:/ ?). For debugging purpose, the standard
error from Mozilla is probably better than Javascript anyway, not to
mention that the libvlc logging APi is really brain-damaged.

13 years agoFix a (really) small memleak (even if i_count is 0, some memory is allocated
Rémi Duraffort [Wed, 20 May 2009 11:00:52 +0000 (13:00 +0200)]
Fix a (really) small memleak (even if i_count is 0, some memory is allocated
for the strucure).

13 years agomacosx: fixed 'Codec details pane does not work correctly', closes #2630
Felix Paul Kühne [Wed, 20 May 2009 10:52:43 +0000 (12:52 +0200)]
macosx: fixed 'Codec details pane does not work correctly', closes #2630

13 years agoFix memleak (same problem with var_Change())
Rémi Duraffort [Wed, 20 May 2009 10:24:05 +0000 (12:24 +0200)]
Fix memleak (same problem with var_Change())

13 years agoFix potential object leak (test the conditions before doing anything).
Rémi Duraffort [Wed, 20 May 2009 09:15:43 +0000 (11:15 +0200)]
Fix potential object leak (test the conditions before doing anything).

13 years agoFix memleak (same problem with var_Change(VLC_VAR_FREELIST)).
Rémi Duraffort [Wed, 20 May 2009 09:03:10 +0000 (11:03 +0200)]
Fix memleak (same problem with var_Change(VLC_VAR_FREELIST)).

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>