vlc.git
8 years ago1st preview release for VLC 1.0.0 1.0.0-pre1
Christophe Mutricy [Thu, 19 Mar 2009 02:01:24 +0000 (02:01 +0000)]
1st preview release for VLC 1.0.0

8 years agoMerge the l10n from 0.9-bugfix
Christophe Mutricy [Thu, 19 Mar 2009 01:38:39 +0000 (01:38 +0000)]
Merge the l10n from 0.9-bugfix

Nominated for the price of the ugliest commitdiff

8 years agoUpdate the pot file for vlc 1.0.0
Christophe Mutricy [Thu, 19 Mar 2009 01:38:14 +0000 (01:38 +0000)]
Update the pot file for vlc 1.0.0

8 years agoRemove deleted files from POTFILES.in
Christophe Mutricy [Wed, 18 Mar 2009 23:10:23 +0000 (23:10 +0000)]
Remove deleted files from POTFILES.in

8 years agoSimplify libvlc_media_player_is_playing(). Should really be inline.
JP Dinger [Tue, 17 Mar 2009 13:11:58 +0000 (14:11 +0100)]
Simplify libvlc_media_player_is_playing(). Should really be inline.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
8 years agoFix compilation of caca vout.
Rémi Duraffort [Tue, 17 Mar 2009 21:43:10 +0000 (22:43 +0100)]
Fix compilation of caca vout.

8 years agotelepathy: get back the previous behavior.
Rémi Duraffort [Tue, 17 Mar 2009 21:33:08 +0000 (22:33 +0100)]
telepathy: get back the previous behavior.

8 years agoNo need to add a '\n' with msg_*
Rémi Duraffort [Tue, 17 Mar 2009 21:06:45 +0000 (22:06 +0100)]
No need to add a '\n' with msg_*

8 years agovout_ggi: fix return value.
Rémi Duraffort [Tue, 17 Mar 2009 20:57:29 +0000 (21:57 +0100)]
vout_ggi: fix return value.

8 years agovout_fb: fix a potential memleak and some cleanings.
Rémi Duraffort [Tue, 17 Mar 2009 20:52:40 +0000 (21:52 +0100)]
vout_fb: fix a potential memleak and some cleanings.

8 years agodirectfb: fix potential memleak.
Rémi Duraffort [Tue, 17 Mar 2009 20:40:23 +0000 (21:40 +0100)]
directfb: fix potential memleak.

8 years agofix a segfault when launching a video inside a tty.
Rémi Duraffort [Tue, 17 Mar 2009 20:34:17 +0000 (21:34 +0100)]
fix a segfault when launching a video inside a tty.

8 years agovout_caca: fix potential memleak.
Rémi Duraffort [Tue, 17 Mar 2009 20:21:12 +0000 (21:21 +0100)]
vout_caca: fix potential memleak.

8 years agovout_aa: fix pontential memleak and cosmetics.
Rémi Duraffort [Tue, 17 Mar 2009 20:12:16 +0000 (21:12 +0100)]
vout_aa: fix pontential memleak and cosmetics.

8 years agosdl: simplifications.
Rémi Duraffort [Tue, 17 Mar 2009 20:06:57 +0000 (21:06 +0100)]
sdl: simplifications.

8 years agoParse *only* NAL SEI for Closed Caption.
Laurent Aimar [Mon, 16 Mar 2009 22:53:57 +0000 (23:53 +0100)]
Parse *only* NAL SEI for Closed Caption.

8 years agoTry to use video-filter instead of vout-filter for deinterlacing.
Laurent Aimar [Mon, 16 Mar 2009 22:38:00 +0000 (23:38 +0100)]
Try to use video-filter instead of vout-filter for deinterlacing.

It only works for blend and X mode but there are probably the most used.
When blend/X are enabled/disabled:
 - It avoids recreating the vout.
 - It avoids deinterlacing the (soft) subtitles.
The other modes are not possible without a lot of vout works, so it is
postponed for later.

As a side effect, the initial value of the menu now takes into account the
command line options.

Please, report any regression. This code is made complicated by the
vout filter/video filter2 switches&tricks.

8 years agoMake sure that var_Get on a string will return a non NULL value.
Laurent Aimar [Mon, 16 Mar 2009 20:09:44 +0000 (21:09 +0100)]
Make sure that var_Get on a string will return a non NULL value.

The current code assume it everywhere.

8 years agoImproved a bit deinterlace video filter2.
Laurent Aimar [Mon, 16 Mar 2009 19:44:38 +0000 (20:44 +0100)]
Improved a bit deinterlace video filter2.

It now supports I422 and discard mode.

8 years agoRemoved dead code (deinterlace).
Laurent Aimar [Sun, 15 Mar 2009 20:16:47 +0000 (21:16 +0100)]
Removed dead code (deinterlace).

8 years agoCosmetics (vout, deinterlace).
Laurent Aimar [Sat, 14 Mar 2009 20:35:36 +0000 (21:35 +0100)]
Cosmetics (vout, deinterlace).

8 years agoRemove intf_thread_t.change_lock
Rémi Denis-Courmont [Tue, 17 Mar 2009 18:59:49 +0000 (20:59 +0200)]
Remove intf_thread_t.change_lock

8 years agoCMML: privatize callback lock
Rémi Denis-Courmont [Tue, 17 Mar 2009 18:56:46 +0000 (20:56 +0200)]
CMML: privatize callback lock

8 years agoWinCE: remove dummy locking
Rémi Denis-Courmont [Tue, 17 Mar 2009 18:54:29 +0000 (20:54 +0200)]
WinCE: remove dummy locking

8 years agoQt4: remove dummy locking
Rémi Denis-Courmont [Tue, 17 Mar 2009 18:54:15 +0000 (20:54 +0200)]
Qt4: remove dummy locking

8 years agoPDA GTK: remove dummy locking
Rémi Denis-Courmont [Tue, 17 Mar 2009 18:54:01 +0000 (20:54 +0200)]
PDA GTK: remove dummy locking

8 years agoHildon UI: remove dummy lock acquisition
Rémi Denis-Courmont [Tue, 17 Mar 2009 18:53:22 +0000 (20:53 +0200)]
Hildon UI: remove dummy lock acquisition

8 years agoOSX interface: remove dummy lock acquisition
Rémi Denis-Courmont [Tue, 17 Mar 2009 18:52:16 +0000 (20:52 +0200)]
OSX interface: remove dummy lock acquisition

It is only used from a single thread

8 years agoshowintf: privatize the callback lock
Rémi Denis-Courmont [Tue, 17 Mar 2009 18:51:58 +0000 (20:51 +0200)]
showintf: privatize the callback lock

8 years agoGestures: privatize interface callback lock
Rémi Denis-Courmont [Tue, 17 Mar 2009 18:50:47 +0000 (20:50 +0200)]
Gestures: privatize interface callback lock

And hmm, this really should use a condition variable too.

8 years agoVCDX: privatize interface callback lock
Rémi Denis-Courmont [Tue, 17 Mar 2009 18:50:28 +0000 (20:50 +0200)]
VCDX: privatize interface callback lock

8 years agoUnload interface plugin in StopThread rather than destroy
Rémi Denis-Courmont [Tue, 17 Mar 2009 18:14:11 +0000 (20:14 +0200)]
Unload interface plugin in StopThread rather than destroy

That is the same problem as we already had with other object types.
The interface really needs to unload when its owner stops it, not when
the reference counter drops to zero. This fixes a reference dead loop
when an interface yields itself (such as Qt through the view menu) and
a crash if an interface releases itself last (unmapping the running
caller code).

8 years agoinput: fix stack overflow if user feeds an overly large MRL
Rémi Denis-Courmont [Tue, 17 Mar 2009 17:58:49 +0000 (19:58 +0200)]
input: fix stack overflow if user feeds an overly large MRL

8 years agoQt4: cleanup
Rémi Denis-Courmont [Tue, 17 Mar 2009 17:12:31 +0000 (19:12 +0200)]
Qt4: cleanup

8 years ago(prev|next)-(chapter|title) is a void variable. Fix aborts.
Rémi Denis-Courmont [Tue, 17 Mar 2009 16:10:29 +0000 (18:10 +0200)]
(prev|next)-(chapter|title) is a void variable. Fix aborts.

8 years agoat qt4 termination, ensure quit() function is executed in the right thread
Erwan Tulou [Sat, 14 Mar 2009 10:13:40 +0000 (11:13 +0100)]
at qt4 termination, ensure quit() function is executed in the right thread

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
8 years agoNEWS: document image -> scene (video-filter) transistion.
Jean-Paul Saman [Tue, 17 Mar 2009 15:17:44 +0000 (16:17 +0100)]
NEWS: document image -> scene (video-filter) transistion.

8 years agosafari: integer type cleanup
Jean-Paul Saman [Tue, 17 Mar 2009 14:51:21 +0000 (15:51 +0100)]
safari: integer type cleanup

8 years agosafari: fix crash on exit after going fullscreen in webbrowser plugin.
Jean-Paul Saman [Tue, 17 Mar 2009 09:49:10 +0000 (10:49 +0100)]
safari: fix crash on exit after going fullscreen in webbrowser plugin.

8 years agosafari: add license to file
Jean-Paul Saman [Tue, 17 Mar 2009 08:54:20 +0000 (09:54 +0100)]
safari: add license to file

8 years agomacosx: cleanup
Jean-Paul Saman [Tue, 10 Mar 2009 16:10:39 +0000 (17:10 +0100)]
macosx: cleanup

8 years agomacosx: remove unused variable.
Jean-Paul Saman [Tue, 10 Mar 2009 15:56:28 +0000 (16:56 +0100)]
macosx: remove unused variable.

8 years agomacosx: fix potential memleaks
Jean-Paul Saman [Tue, 10 Mar 2009 15:51:51 +0000 (16:51 +0100)]
macosx: fix potential memleaks

8 years agocheck against libvlc_state_t states
Jean-Paul Saman [Tue, 10 Mar 2009 15:01:17 +0000 (16:01 +0100)]
check against libvlc_state_t states

8 years agominimal_macosx: "drawable-agl" and "drawable-gl" split
Jean-Paul Saman [Thu, 5 Mar 2009 10:37:50 +0000 (11:37 +0100)]
minimal_macosx: "drawable-agl" and "drawable-gl" split

8 years agomacosx: vout drawable rework.
Jean-Paul Saman [Mon, 2 Mar 2009 20:32:13 +0000 (21:32 +0100)]
macosx: vout drawable rework.

The macosx drawable variable that used to hold the drawable window reference is splitted up in two variables "drawable-agl" (used by macosx safari/mozilla plugin) and "drawable-gl" (used by macosx interface).

8 years agovougl.m: cosmetics
Jean-Paul Saman [Mon, 2 Mar 2009 14:08:45 +0000 (15:08 +0100)]
vougl.m: cosmetics

8 years agosync activex test page with mozilla test page
Jean-Paul Saman [Tue, 17 Mar 2009 12:55:32 +0000 (13:55 +0100)]
sync activex test page with mozilla test page

8 years agolibvlc_media_player_is_playing(): no need to throw an exception in this case.
Jean-Paul Saman [Tue, 17 Mar 2009 12:50:27 +0000 (13:50 +0100)]
libvlc_media_player_is_playing(): no need to throw an exception in this case.

8 years agosmall cleanup in mozilla test page
Jean-Paul Saman [Tue, 17 Mar 2009 12:45:33 +0000 (13:45 +0100)]
small cleanup in mozilla test page

8 years agoRequire taglib 1.5.
Jean-Baptiste Kempf [Mon, 16 Mar 2009 23:23:21 +0000 (00:23 +0100)]
Require taglib 1.5.

8 years agoSkins: fix the popup-menu appearance on the video.
Jean-Baptiste Kempf [Mon, 16 Mar 2009 22:37:49 +0000 (23:37 +0100)]
Skins: fix the popup-menu appearance on the video.

Patch by Erwan10, <brezhoneg1@yahoo.fr>, simplified by /me

8 years agoQt: fix a crash when you don't want to have the recent items. And don't even show...
Jean-Baptiste Kempf [Mon, 16 Mar 2009 22:32:20 +0000 (23:32 +0100)]
Qt: fix a crash when you don't want to have the recent items. And don't even show the menu.

8 years agoskins2 vout manager
Erwan Tulou [Sat, 14 Mar 2009 23:10:49 +0000 (00:10 +0100)]
skins2 vout manager

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
8 years agoQt4: hold objet while the popup menu is active
Rémi Denis-Courmont [Mon, 16 Mar 2009 19:12:08 +0000 (21:12 +0200)]
Qt4: hold objet while the popup menu is active

8 years agoRemove a whole bunch of non-sensical vlc_object_hold()
Rémi Denis-Courmont [Mon, 16 Mar 2009 18:37:34 +0000 (20:37 +0200)]
Remove a whole bunch of non-sensical vlc_object_hold()

In one case (noted by Erwan Tulou), this also fixes a large leak.

There is _absolutely_ no point in holding an object and releasing it
immediately. Holding an object only makes sense if:
 - the object cannot vanish while calling vlc_object_hold(), and
 - either:
   - the object could have otherwise vanished before
     vlc_object_release(), or
   - there is no way to avoid the (otherwise not needed)
     vlc_object_hold() because it comes from another component.

Conversely, it makes no sense to hold an object, if:
 - it could vanish already while calling hold (race condition)
   -> this is *invalid* and might crash,
 - there is already a valid reference to the object throughout.

I don't know in which case that code was, but the popup menu definitely
does invalid object access in some cases. For instance:
 - start playing a single video,
 - seek to a few seconds before the end,
 - open the popup menu, go to video / deinterlace,
 - wait for the video to finish and the playlist to stop,
 - click on "X" from the deinterlace submenu.
Oops.

8 years agoUnused variable
Rémi Denis-Courmont [Mon, 16 Mar 2009 16:29:36 +0000 (18:29 +0200)]
Unused variable

8 years agoEnable tcp keep alive in http
Sébastien Escudier [Mon, 16 Mar 2009 13:33:50 +0000 (14:33 +0100)]
Enable tcp keep alive in http

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
8 years agox11: remove unused variables in Control.
Jean-Paul Saman [Mon, 16 Mar 2009 09:59:04 +0000 (10:59 +0100)]
x11: remove unused variables in Control.

8 years agomozilla: remove npunix_old.c and npwin_old.cpp
Jean-Paul Saman [Mon, 16 Mar 2009 09:55:42 +0000 (10:55 +0100)]
mozilla: remove npunix_old.c and npwin_old.cpp

8 years agomozilla: rewrite and license npunix.c/npwin.cpp under LGPLv2.1 (or later)
Jean-Paul Saman [Fri, 13 Mar 2009 15:13:04 +0000 (16:13 +0100)]
mozilla: rewrite and license npunix.c/npwin.cpp under LGPLv2.1 (or later)

8 years agomozilla: Resolve files with conflicting licensing terms
Jean-Paul Saman [Fri, 13 Mar 2009 11:47:52 +0000 (12:47 +0100)]
mozilla: Resolve files with conflicting licensing terms

Renamed:
 npunix.c to npunix_old.c
 npwin.cpp to npwin_old.cpp

Added new files from mozilla source code
 npunix.c
 npwin.cpp

8 years agomacosx: fix function prototype of manage_cleanup (argument for pthread_cleanup_push).
Jean-Paul Saman [Mon, 16 Mar 2009 11:05:47 +0000 (12:05 +0100)]
macosx: fix function prototype of manage_cleanup (argument for pthread_cleanup_push).

8 years agomacosx: playlistlock is held when playlistinfo panel is updated, so call PreparseEnqu...
Jean-Paul Saman [Mon, 16 Mar 2009 10:06:57 +0000 (11:06 +0100)]
macosx: playlistlock is held when playlistinfo panel is updated, so call PreparseEnqueue with pl_Locked.

updatePanelWithItem is called from modules/gui/macosx/intf.m line 1565 with playlist lock held.
If this solution is wrong then revert and fix properly.

8 years agomacosx: cleanup
Jean-Paul Saman [Tue, 10 Mar 2009 09:51:36 +0000 (10:51 +0100)]
macosx: cleanup

8 years agoremove dead links.
Rémi Duraffort [Mon, 16 Mar 2009 10:31:10 +0000 (11:31 +0100)]
remove dead links.

8 years agoupdate: fix objects leak.
Rémi Duraffort [Mon, 16 Mar 2009 09:52:54 +0000 (10:52 +0100)]
update: fix objects leak.

8 years agoqt4: cleaning the singletons implementation.
Rémi Duraffort [Sun, 15 Mar 2009 21:57:48 +0000 (22:57 +0100)]
qt4: cleaning the singletons implementation.

8 years agoActually, the patch corrects three problems (2 pertaining to qt4 as a
brezhoneg1 [Mon, 16 Mar 2009 00:15:37 +0000 (01:15 +0100)]
Actually, the patch corrects three problems (2 pertaining to qt4 as a
dialog provider for skins and 1 as the regular qt4). The problems for
skins are real (lead to crashes when using menus). The one for regular
qt4 was obviously a typo, but sometimes even removing a typo may have
side effects. If so, please find attached a patch that reverts this part
of the previous patch.

Erwan10

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
8 years agoQt: Provide a clean way to not transcode in Sout dialog.
Jean-Baptiste Kempf [Mon, 16 Mar 2009 00:10:55 +0000 (01:10 +0100)]
Qt: Provide a clean way to not transcode in Sout dialog.

8 years agoSkins2: less stupid match for opening the files.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 23:34:45 +0000 (00:34 +0100)]
Skins2: less stupid match for opening the files.

8 years agoqt4_playlist: less includes.
Rémi Duraffort [Sun, 15 Mar 2009 20:20:16 +0000 (21:20 +0100)]
qt4_playlist: less includes.

8 years agoqt4: remove totology.
Rémi Duraffort [Sun, 15 Mar 2009 20:03:25 +0000 (21:03 +0100)]
qt4: remove totology.

8 years agoFix popupSave/Stream deadlock
Fabio Ritrovato [Fri, 13 Mar 2009 22:13:46 +0000 (23:13 +0100)]
Fix popupSave/Stream deadlock

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
8 years agoqt4: fix memleak.
Rémi Duraffort [Sun, 15 Mar 2009 17:59:01 +0000 (18:59 +0100)]
qt4: fix memleak.

8 years agoqt4-correct several problems related to p_input (main input manager class)
Erwan Tulou [Fri, 13 Mar 2009 19:10:18 +0000 (20:10 +0100)]
qt4-correct several problems related to p_input (main input manager class)

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
8 years agoCosmetics
Rémi Denis-Courmont [Sun, 15 Mar 2009 18:58:22 +0000 (20:58 +0200)]
Cosmetics

8 years agoX11: make sure base window is really destroyed...
Erwan Tulou [Fri, 13 Mar 2009 19:43:54 +0000 (20:43 +0100)]
X11: make sure base window is really destroyed...

...before calling release function of the window provider
(only way to prevent possible BadWindow xlib error)

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
8 years agodvdnav: don't probe stdin (this just removes a silly error message)
Rémi Denis-Courmont [Sun, 15 Mar 2009 17:45:06 +0000 (19:45 +0200)]
dvdnav: don't probe stdin (this just removes a silly error message)

8 years agoQt: QString::number is more maintainable than QString("%1").arg syntax
Jean-Baptiste Kempf [Sun, 15 Mar 2009 17:20:30 +0000 (18:20 +0100)]
Qt: QString::number is more maintainable than QString("%1").arg syntax

8 years agoQt: correctly split options and escape ':' so if your dshow devices or your subtitle...
Jean-Baptiste Kempf [Sun, 15 Mar 2009 16:57:37 +0000 (17:57 +0100)]
Qt: correctly split options and escape ':' so if your dshow devices or your subtitle contains a " :" in the name, it is correctly opened.

8 years agostats leaks
Rémi Denis-Courmont [Sun, 15 Mar 2009 17:21:06 +0000 (19:21 +0200)]
stats leaks

8 years agoMemory leak
Rémi Denis-Courmont [Sun, 15 Mar 2009 17:13:23 +0000 (19:13 +0200)]
Memory leak

8 years agoAllow libxml 2.7. Leak memory.
Rémi Denis-Courmont [Sun, 15 Mar 2009 17:04:54 +0000 (19:04 +0200)]
Allow libxml 2.7. Leak memory.

8 years agoRequire libxml2 < 2.7
Rémi Denis-Courmont [Sun, 15 Mar 2009 16:06:37 +0000 (18:06 +0200)]
Require libxml2 < 2.7

Thread initialization has changed in 2.7, such that VLC and Qt4 cannot
both use libxml2. While this maximum version requirement is bound to
frustrate Linux/BSD users, we cannot fix this within VLC. Falling back
to xtag is not quite as bad as crashing.

8 years agoconfigure: use pkg-config for GNOME-XML
Rémi Denis-Courmont [Sun, 15 Mar 2009 16:01:41 +0000 (18:01 +0200)]
configure: use pkg-config for GNOME-XML

We need libxml version 2.5 for text reader.
pkg-config is present since version 2.3 at least (over 8 years ago).

8 years agoconfigure: trivial factorization
Rémi Denis-Courmont [Sun, 15 Mar 2009 16:01:19 +0000 (18:01 +0200)]
configure: trivial factorization

8 years agoQt: remove Preferences singleton. Simplify and Close #2552 and #2551
Jean-Baptiste Kempf [Sun, 15 Mar 2009 02:41:19 +0000 (03:41 +0100)]
Qt: remove Preferences singleton. Simplify and Close #2552 and #2551

8 years agoQt menu, "Open Location from Clipboard."
Jean-Baptiste Kempf [Sun, 15 Mar 2009 02:27:29 +0000 (03:27 +0100)]
Qt menu, "Open Location from Clipboard."

8 years agoQt: provide a way to dump from the convert dialog.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 02:07:14 +0000 (03:07 +0100)]
Qt: provide a way to dump from the convert dialog.

8 years agoQt: String change for 'Track Synchronization'
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:52:02 +0000 (02:52 +0100)]
Qt: String change for 'Track Synchronization'

8 years agoQt: move Sout Dialog out of singleton.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:47:21 +0000 (02:47 +0100)]
Qt: move Sout Dialog out of singleton.

8 years agoQt: Sout strings modification.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:38:03 +0000 (02:38 +0100)]
Qt: Sout strings modification.

8 years agoQt: various string fixes and consistencies in the ui
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:19:34 +0000 (02:19 +0100)]
Qt: various string fixes and consistencies in the ui

8 years agoQt: don't use "Open a Media"
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:12:51 +0000 (02:12 +0100)]
Qt: don't use "Open a Media"

8 years agoQt: split correctly the input options for Convertion and Sout Dialogs.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:03:10 +0000 (02:03 +0100)]
Qt: split correctly the input options for Convertion and Sout Dialogs.

8 years agoQt: includes barrier fix.
Jean-Baptiste Kempf [Sun, 15 Mar 2009 01:00:54 +0000 (02:00 +0100)]
Qt: includes barrier fix.

8 years agoQt: qt4.cpp cosmetics.
Jean-Baptiste Kempf [Sat, 14 Mar 2009 19:40:38 +0000 (20:40 +0100)]
Qt: qt4.cpp cosmetics.

8 years agoAdaptive PCM: set the output category (fixes assertion)
Rémi Denis-Courmont [Sat, 14 Mar 2009 20:29:17 +0000 (22:29 +0200)]
Adaptive PCM: set the output category (fixes assertion)

8 years agoImproved preroll in avcodec.
Laurent Aimar [Sat, 14 Mar 2009 19:43:15 +0000 (20:43 +0100)]
Improved preroll in avcodec.

Do not decode non reference pictures while prerolling.
It improves seek performance when decoding with ffmpeg.