vlc.git
11 years agoluarc: implement stats command.
Rémi Duraffort [Fri, 13 Nov 2009 12:56:04 +0000 (13:56 +0100)]
luarc: implement stats command.

11 years agoluarc: add frame by frame support.
Rémi Duraffort [Thu, 12 Nov 2009 17:58:58 +0000 (18:58 +0100)]
luarc: add frame by frame support.

11 years agolua_libs: add a function to trigger callbacks.
Rémi Duraffort [Thu, 12 Nov 2009 17:52:34 +0000 (18:52 +0100)]
lua_libs: add a function to trigger callbacks.

11 years agorc: simplify and make one test usefull.
Rémi Duraffort [Thu, 12 Nov 2009 15:08:46 +0000 (16:08 +0100)]
rc: simplify and make one test usefull.

11 years agocontrib: fix live555 on WinCE
Pierre Ynard [Fri, 13 Nov 2009 09:44:33 +0000 (10:44 +0100)]
contrib: fix live555 on WinCE

Remove patch merged upstream

11 years agocontrib: package-wince
Pierre Ynard [Fri, 13 Nov 2009 09:21:13 +0000 (10:21 +0100)]
contrib: package-wince

.PHONY doesn't seem too happy about that...

11 years agocontrib: fix win32 packaging
Pierre Ynard [Fri, 13 Nov 2009 07:50:26 +0000 (08:50 +0100)]
contrib: fix win32 packaging

Clean up hack and avoid failing if bin/ doesn't exist

11 years agoIgnored error when we cannot save our modified tuning space.
Laurent Aimar [Thu, 12 Nov 2009 19:20:37 +0000 (20:20 +0100)]
Ignored error when we cannot save our modified tuning space.

It seems to work just fine and fix an error in windows 7 (it was
refused unless VLC wass run with admin rights).

11 years agolua_intf: fix memleaks.
Rémi Duraffort [Thu, 12 Nov 2009 14:35:28 +0000 (15:35 +0100)]
lua_intf: fix memleaks.

11 years agolua_intf: fix memleak.
Rémi Duraffort [Thu, 12 Nov 2009 12:21:21 +0000 (13:21 +0100)]
lua_intf: fix memleak.

11 years agocontrib: define _WIN32_WCE on mingw32ce
Pierre Ynard [Thu, 12 Nov 2009 05:03:56 +0000 (06:03 +0100)]
contrib: define _WIN32_WCE on mingw32ce

Because you're supposed to

11 years agocontrib: something working for WinCE
Pierre Ynard [Thu, 12 Nov 2009 04:33:18 +0000 (05:33 +0100)]
contrib: something working for WinCE

That is adding errno and live555, and disabling what currently
doesn't build

11 years agocontrib: fix typo with files to clean
Pierre Ynard [Thu, 12 Nov 2009 02:18:58 +0000 (03:18 +0100)]
contrib: fix typo with files to clean

11 years agocontrib: add minimal errno.h target (for WinCE)
Pierre Ynard [Thu, 12 Nov 2009 02:05:56 +0000 (03:05 +0100)]
contrib: add minimal errno.h target (for WinCE)

WinCE lacks errno support and thus doesn't have an errno.h header.
Since it is used like everywhere, contribs and VLC, we add a .errno
target in the contribs, that fetches a minimal errno.h that allows
everything to compile smoothly.

This is how it was done before too.

11 years agoLua: don't lock playlist before playlist_Play
Jean-Philippe André [Wed, 11 Nov 2009 21:17:48 +0000 (22:17 +0100)]
Lua: don't lock playlist before playlist_Play

11 years agoLua: check variable type before adding a callback
Jean-Philippe André [Tue, 10 Nov 2009 17:19:01 +0000 (18:19 +0100)]
Lua: check variable type before adding a callback

11 years agoLua: new input and input_item facilities
Jean-Philippe André [Wed, 11 Nov 2009 20:37:26 +0000 (21:37 +0100)]
Lua: new input and input_item facilities

New function vlc.input.item(): returns a pointer to the current input_item

The object returned by vlc.input.item has the following members:
 - item:metas(): similar to vlc.input.metas
 - item:set_meta(name, value): change a meta. Eg: set_meta("artist", "ZZ")

11 years agoLua: fix typo in rc.lua
Jean-Philippe André [Wed, 11 Nov 2009 20:29:43 +0000 (21:29 +0100)]
Lua: fix typo in rc.lua

11 years agoLua: new function vlc.input.metas
Jean-Philippe André [Wed, 11 Nov 2009 19:27:14 +0000 (20:27 +0100)]
Lua: new function vlc.input.metas

Returns a table with (max.) 17 meta data about the current input

11 years agoLua: new function vlc.input.add_subtitle
Jean-Philippe André [Wed, 11 Nov 2009 18:57:13 +0000 (19:57 +0100)]
Lua: new function vlc.input.add_subtitle

Load a subtitles stream given its URI

11 years agoFix avformat mux Seek() : return sout_AccessOutSeek() result
Rafaël Carré [Wed, 11 Nov 2009 19:15:17 +0000 (20:15 +0100)]
Fix avformat mux Seek() : return sout_AccessOutSeek() result

>= 0 means success (could be the new offset)
-1 = error

11 years agoLua: release input thread
Jean-Philippe André [Wed, 11 Nov 2009 18:05:49 +0000 (19:05 +0100)]
Lua: release input thread

11 years agoUnintended change
Rémi Denis-Courmont [Wed, 11 Nov 2009 17:08:34 +0000 (19:08 +0200)]
Unintended change

11 years agoBump plugin ABI due to gettext/cache changes
Rémi Denis-Courmont [Wed, 11 Nov 2009 16:38:02 +0000 (18:38 +0200)]
Bump plugin ABI due to gettext/cache changes

11 years agoExport block_FifoPace
Nick Briggs [Tue, 10 Nov 2009 22:19:16 +0000 (14:19 -0800)]
Export block_FifoPace

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agoUse highres clock with TDT timebase
Marian Ďurkovič [Wed, 11 Nov 2009 11:08:58 +0000 (12:08 +0100)]
Use highres clock with TDT timebase

11 years agoogg: Fix tiny bugger overflow.
Rémi Duraffort [Wed, 11 Nov 2009 09:53:18 +0000 (10:53 +0100)]
ogg: Fix tiny bugger overflow.

11 years agolibxml: return NULL for pointers (not 0).
Rémi Duraffort [Tue, 10 Nov 2009 22:39:17 +0000 (23:39 +0100)]
libxml: return NULL for pointers (not 0).

11 years agocontrib: hack to disable codecs for ffmpeg on WinCE
Pierre Ynard [Wed, 11 Nov 2009 02:45:23 +0000 (03:45 +0100)]
contrib: hack to disable codecs for ffmpeg on WinCE

11 years agocontrib: live555 for WinCE
Pierre Ynard [Wed, 11 Nov 2009 02:10:02 +0000 (03:10 +0100)]
contrib: live555 for WinCE

11 years agoFix make dist after renaming file
Pierre Ynard [Wed, 11 Nov 2009 01:27:34 +0000 (02:27 +0100)]
Fix make dist after renaming file

11 years agoWinCE: fix live555 detection/linkage
Pierre Ynard [Tue, 10 Nov 2009 22:09:29 +0000 (23:09 +0100)]
WinCE: fix live555 detection/linkage

11 years agoFix compilation of set_text_domain() macro
Rémi Denis-Courmont [Tue, 10 Nov 2009 21:23:59 +0000 (23:23 +0200)]
Fix compilation of set_text_domain() macro

11 years agovideo_output: really fix use of uninitialized value.
Rémi Duraffort [Tue, 10 Nov 2009 20:58:47 +0000 (21:58 +0100)]
video_output: really fix use of uninitialized value.

11 years agoALSA: warn user on current alsa-lib versions if re-open fails
Rémi Denis-Courmont [Tue, 10 Nov 2009 20:45:56 +0000 (22:45 +0200)]
ALSA: warn user on current alsa-lib versions if re-open fails

This bug is fixed in alsa-lib git repository. Depending on the
underlying ALSA driver, re-opening the sound card might fail if VLC
forked and executed another process. This is especially bad with
xdg-screensaver, although this could affect other -earlier- usages
of fork+exec or posix_spawn.

11 years agoUnused variable
Rémi Denis-Courmont [Tue, 10 Nov 2009 20:19:09 +0000 (22:19 +0200)]
Unused variable

11 years agoSql: Include interface for prepared statements.
Srikanth Raju [Tue, 10 Nov 2009 12:26:00 +0000 (17:56 +0530)]
Sql: Include interface for prepared statements.

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years agoModified our vaapi wrapper in avcodec to be more generic.
Laurent Aimar [Tue, 10 Nov 2009 19:35:48 +0000 (20:35 +0100)]
Modified our vaapi wrapper in avcodec to be more generic.

11 years agoAlso probe file:// for bd.
Laurent Aimar [Mon, 9 Nov 2009 22:49:11 +0000 (23:49 +0100)]
Also probe file:// for bd.

11 years agoDo not allocate 0x0 region in ffmpeg subtitle decoder.
Laurent Aimar [Sun, 8 Nov 2009 18:44:19 +0000 (19:44 +0100)]
Do not allocate 0x0 region in ffmpeg subtitle decoder.

11 years agoRemove VLC_Error obsolete function.
Rémi Duraffort [Tue, 10 Nov 2009 15:42:52 +0000 (16:42 +0100)]
Remove VLC_Error obsolete function.

11 years agotaglib: simplify.
Rémi Duraffort [Tue, 10 Nov 2009 12:55:27 +0000 (13:55 +0100)]
taglib: simplify.

11 years agoOpenBSD also need VLC_HARD_MIN_SLEEP.
Rémi Duraffort [Tue, 10 Nov 2009 11:40:08 +0000 (12:40 +0100)]
OpenBSD also need VLC_HARD_MIN_SLEEP.

11 years agoInclude header only if needed
Pierre Ynard [Tue, 10 Nov 2009 07:35:24 +0000 (08:35 +0100)]
Include header only if needed

This fixes compilation on WinCE, where signal.h is missing

11 years agoRemove useless include
Pierre Ynard [Tue, 10 Nov 2009 06:21:32 +0000 (07:21 +0100)]
Remove useless include

11 years agoWinCE: guard against inclusion of missing header file
Pierre Ynard [Tue, 10 Nov 2009 05:58:37 +0000 (06:58 +0100)]
WinCE: guard against inclusion of missing header file

11 years agoQt4: fix build with Qt < 4.5
Jakob Leben [Mon, 9 Nov 2009 22:23:15 +0000 (23:23 +0100)]
Qt4: fix build with Qt < 4.5

11 years agoRemove language from plugin cache
Rémi Denis-Courmont [Mon, 9 Nov 2009 21:40:03 +0000 (23:40 +0200)]
Remove language from plugin cache

11 years agoNice solution to a nasty printf hack (sic)
Rémi Denis-Courmont [Mon, 9 Nov 2009 21:36:17 +0000 (23:36 +0200)]
Nice solution to a nasty printf hack (sic)

11 years agoUse gettext when printing help
Rémi Denis-Courmont [Mon, 9 Nov 2009 21:25:09 +0000 (23:25 +0200)]
Use gettext when printing help

11 years agoDon't run gettext while describing a plugin
Rémi Denis-Courmont [Mon, 9 Nov 2009 20:47:27 +0000 (22:47 +0200)]
Don't run gettext while describing a plugin

This will render the plugins cache locale-independent.

11 years agocontrib: update ffmpeg compilation for WinCE
Pierre Ynard [Mon, 9 Nov 2009 20:13:17 +0000 (21:13 +0100)]
contrib: update ffmpeg compilation for WinCE

Remove useless patch and update arch parameters

11 years agoQt4: replace Podcast add / remove buttons with plain icons
Jakob Leben [Mon, 9 Nov 2009 19:24:41 +0000 (20:24 +0100)]
Qt4: replace Podcast add / remove buttons with plain icons

11 years agoFix access_oss linking.
Rémi Duraffort [Mon, 9 Nov 2009 18:40:27 +0000 (19:40 +0100)]
Fix access_oss linking.

11 years agotaglib: factorize.
Rémi Duraffort [Mon, 9 Nov 2009 18:21:16 +0000 (19:21 +0100)]
taglib: factorize.

11 years agotaglib: write to some more files.
Rémi Duraffort [Mon, 2 Nov 2009 21:07:00 +0000 (22:07 +0100)]
taglib: write to some more files.

11 years agommstu: fix msg_* format.
Rémi Duraffort [Mon, 9 Nov 2009 11:14:59 +0000 (12:14 +0100)]
mmstu: fix msg_* format.

11 years agotaglib: improve the module to read metas from RIFF files.
Rémi Duraffort [Mon, 2 Nov 2009 15:34:02 +0000 (16:34 +0100)]
taglib: improve the module to read metas from RIFF files.

11 years agoavcodec: add missing variable.
Rémi Duraffort [Fri, 6 Nov 2009 12:44:38 +0000 (13:44 +0100)]
avcodec: add missing variable.

11 years agovideo_filter_scene: no need to mess up with pointers here.
Rémi Duraffort [Tue, 27 Oct 2009 15:29:24 +0000 (16:29 +0100)]
video_filter_scene: no need to mess up with pointers here.

11 years agodshow: use var_Get* when applicable.
Rémi Duraffort [Mon, 26 Oct 2009 12:24:46 +0000 (13:24 +0100)]
dshow: use var_Get* when applicable.

11 years agox264: add option to fiddle weighting for P-frames from x264_BUILD >= 79
Ilkka Ollakka [Mon, 9 Nov 2009 05:56:45 +0000 (07:56 +0200)]
x264: add option to fiddle weighting for P-frames from x264_BUILD >= 79

11 years agoFixed an uninitiliazed value regarding deinterlacing state.
Laurent Aimar [Sun, 8 Nov 2009 17:58:55 +0000 (18:58 +0100)]
Fixed an uninitiliazed value regarding deinterlacing state.

Thanks to ivoire for noticing it.

11 years agobands e.g. should have 10 values, not 9
Kaarlo Raiha [Sat, 7 Nov 2009 19:05:05 +0000 (21:05 +0200)]
bands e.g. should have 10 values, not 9

Signed-off-by: Ilkka Ollakka <ileoo@iki.fi>
11 years agoqt4 equalizer load core bands and preamp to extended panel
Kaarlo Raiha [Sat, 7 Nov 2009 19:02:11 +0000 (21:02 +0200)]
qt4 equalizer load core bands and preamp to extended panel

Signed-off-by: Ilkka Ollakka <ileoo@iki.fi>
11 years agocontrib: add --enable-pthreads/--enable-w32threads to ffmpeg
Ilkka Ollakka [Sun, 8 Nov 2009 13:37:16 +0000 (15:37 +0200)]
contrib: add --enable-pthreads/--enable-w32threads to ffmpeg

Should work in linux, no idea on win32 builds, so you're free to reverts
if it kills your kittens.

11 years agoavcodec: drop own threading code and just let ffmpeg handle it own threading
Ilkka Ollakka [Sun, 8 Nov 2009 13:34:35 +0000 (15:34 +0200)]
avcodec: drop own threading code and just let ffmpeg handle it own threading

This means that multithread encoding with avcodec now needs
--enable-pthreads/--enable-w32threads.

11 years agoLinux: use accept4 if available (glibc 2.10)
Rémi Denis-Courmont [Sun, 8 Nov 2009 11:02:43 +0000 (13:02 +0200)]
Linux: use accept4 if available (glibc 2.10)

11 years agoLinux: create sockets with close-on-exec flag in thread-safe manner
Rémi Denis-Courmont [Sun, 8 Nov 2009 10:38:41 +0000 (12:38 +0200)]
Linux: create sockets with close-on-exec flag in thread-safe manner

There is a window of opportunity to leak file descriptors between
their creation and the fcntl(FD_CLOEXEC) call. If another thread forks
during this window, the descriptors will not have a the close-on-exec
flag, and get leaked after exec(). This is a limitation of POSIX.

While we're using the Linux-specific SOCK_CLOEXEC, we might as well
use SOCK_NONBLOCK, and spare ourselves the three fcntl() calls.

11 years agoQt4: remove PlaylistEventManager
Jakob Leben [Sat, 7 Nov 2009 17:50:05 +0000 (18:50 +0100)]
Qt4: remove PlaylistEventManager

11 years agoQt4: let PLModel and PLSelector use MainInputManager instead of PlaylistEventManager
Jakob Leben [Sat, 7 Nov 2009 17:49:07 +0000 (18:49 +0100)]
Qt4: let PLModel and PLSelector use MainInputManager instead of PlaylistEventManager

11 years agoQt4: implement PlaylistEventManager functionality in MainInputManager
Jakob Leben [Sat, 7 Nov 2009 17:40:38 +0000 (18:40 +0100)]
Qt4: implement PlaylistEventManager functionality in MainInputManager

11 years agoLua RC interface: Fix info command
Jean-Philippe Andre [Sat, 7 Nov 2009 17:46:04 +0000 (18:46 +0100)]
Lua RC interface: Fix info command

s/input_info/input.info/

11 years agoQt4: remove incorrect use of EQ callbacks
Rémi Denis-Courmont [Sat, 7 Nov 2009 14:56:21 +0000 (16:56 +0200)]
Qt4: remove incorrect use of EQ callbacks

 * deleting non-existent callback is not allowed (-> abort),
 * adding a callback but not deleting it is a bad idea,
 * deleting a callback while setting the valeu can race against other
   interfaces.

11 years agoQt4: switch PLModel to use PlaylistEventManager
Jakob Leben [Sat, 7 Nov 2009 11:02:53 +0000 (12:02 +0100)]
Qt4: switch PLModel to use PlaylistEventManager

11 years agoQt4: missing cleanup and redundant include
Jakob Leben [Sat, 7 Nov 2009 10:16:15 +0000 (11:16 +0100)]
Qt4: missing cleanup and redundant include

11 years agoQt4: fix V4L1 device node specification
Rémi Denis-Courmont [Sat, 7 Nov 2009 09:54:53 +0000 (11:54 +0200)]
Qt4: fix V4L1 device node specification

--v4l-vdev is obsolete.

11 years agoQt4: more media browser (PL Selector) beautification
Jakob Leben [Sat, 7 Nov 2009 07:56:02 +0000 (08:56 +0100)]
Qt4: more media browser (PL Selector) beautification

11 years agopodcast: per item add/remove request
Jakob Leben [Sat, 7 Nov 2009 07:54:17 +0000 (08:54 +0100)]
podcast: per item add/remove request

11 years agoCleanup
Felix Paul Kühne [Fri, 6 Nov 2009 23:27:53 +0000 (00:27 +0100)]
Cleanup

11 years agomacos dirs: simplified, implemented completely and fixed warnings
Felix Paul Kühne [Fri, 6 Nov 2009 23:23:40 +0000 (00:23 +0100)]
macos dirs: simplified, implemented completely and fixed warnings

11 years agocontribs: new binary package for Darwin. In sync with current libraries.
Felix Paul Kühne [Fri, 6 Nov 2009 18:37:26 +0000 (19:37 +0100)]
contribs: new binary package for Darwin. In sync with current libraries.

Already available for all 3 platforms.

11 years agocontribs/ffmpeg: fixed typo spotted by funman
Felix Paul Kühne [Fri, 6 Nov 2009 17:36:27 +0000 (18:36 +0100)]
contribs/ffmpeg: fixed typo spotted by funman

11 years agocontribs: fixed linking 64bit libraries on 32bit Darwin installations
Felix Paul Kühne [Fri, 6 Nov 2009 17:21:06 +0000 (18:21 +0100)]
contribs: fixed linking 64bit libraries on 32bit Darwin installations

11 years agoOSX: use correctly git even when building out of srcdir
Rafaël Carré [Fri, 6 Nov 2009 17:32:16 +0000 (18:32 +0100)]
OSX: use correctly git even when building out of srcdir

Note : Info.plist.in doesn't seem to contain "REVISION" string
Is that git command now useless?

11 years agocontribs/ffmpeg: fixed compilation on PPC-based Macs, removed old patch
Felix Paul Kühne [Fri, 6 Nov 2009 17:14:37 +0000 (18:14 +0100)]
contribs/ffmpeg: fixed compilation on PPC-based Macs, removed old patch

11 years agocontribs/schroedinger: fixed source download as original server no longer provides...
Felix Paul Kühne [Fri, 6 Nov 2009 17:02:11 +0000 (18:02 +0100)]
contribs/schroedinger: fixed source download as original server no longer provides the package

11 years agopcre 7.6 isn't available anymore, use last version (8.00)
Rafaël Carré [Fri, 6 Nov 2009 16:50:34 +0000 (17:50 +0100)]
pcre 7.6 isn't available anymore, use last version (8.00)

11 years agoFix Sparkle rules:
Rafaël Carré [Fri, 6 Nov 2009 16:49:40 +0000 (17:49 +0100)]
Fix Sparkle rules:

1/ download
2/ unzip, move to .., touch .Sparkle

11 years agocontrib: remove mention of outdated patches
Rafaël Carré [Fri, 6 Nov 2009 16:04:59 +0000 (17:04 +0100)]
contrib: remove mention of outdated patches

11 years agocontribs/theora: fixed compilation on OS X and removed outdated patches
Felix Paul Kühne [Fri, 6 Nov 2009 16:00:33 +0000 (17:00 +0100)]
contribs/theora: fixed compilation on OS X and removed outdated patches

11 years agoRename audio filter2 capability back to audio filter
Rémi Denis-Courmont [Thu, 5 Nov 2009 21:40:23 +0000 (23:40 +0200)]
Rename audio filter2 capability back to audio filter

11 years agoNormvol: convert to audio filter2
Rémi Denis-Courmont [Thu, 5 Nov 2009 21:35:27 +0000 (23:35 +0200)]
Normvol: convert to audio filter2

11 years agoEqualizer: convert to audio filter2
Rémi Denis-Courmont [Thu, 5 Nov 2009 21:31:28 +0000 (23:31 +0200)]
Equalizer: convert to audio filter2

11 years agospatializer: convert to audio filter2
Rémi Denis-Courmont [Thu, 5 Nov 2009 21:23:17 +0000 (23:23 +0200)]
spatializer: convert to audio filter2

11 years agoqt4: change QIcon( QPixmap( x ) ) -> QIcon( x )
Ilkka Ollakka [Thu, 5 Nov 2009 19:40:44 +0000 (21:40 +0200)]
qt4: change QIcon( QPixmap( x ) ) -> QIcon( x )

Seemed to work just fine, and didn't find any reason to keep that form.

11 years agoDirect3D is a vout display now
Geoffroy Couprie [Wed, 4 Nov 2009 22:38:13 +0000 (23:38 +0100)]
Direct3D is a vout display now

11 years agoBuild fix
Rémi Denis-Courmont [Wed, 4 Nov 2009 20:37:49 +0000 (22:37 +0200)]
Build fix

11 years agoopen: O_CLOEXEC is ignored by older kernel, fix & simplify
Rémi Denis-Courmont [Wed, 4 Nov 2009 19:45:58 +0000 (21:45 +0200)]
open: O_CLOEXEC is ignored by older kernel, fix & simplify

11 years agoWinCE: strip plugin DLLs when creating package
Pierre Ynard [Wed, 4 Nov 2009 12:15:08 +0000 (13:15 +0100)]
WinCE: strip plugin DLLs when creating package

This is quite important on devices where storage space is limited...