]> git.sesse.net Git - vlc/log
vlc
14 years agortmp_amf_flv: Try and refactor a bit by reducing overly long
JP Dinger [Sun, 15 Nov 2009 22:18:01 +0000 (23:18 +0100)]
rtmp_amf_flv: Try and refactor a bit by reducing overly long
indexed accesses and packing up repetetive free() calls. Also
some cosmetics. Should not add functional changes but should make
it a bit more readable.

14 years agoUgly hack to prevent qt4-x11 from using alpha channel
Rémi Denis-Courmont [Sun, 15 Nov 2009 15:03:17 +0000 (17:03 +0200)]
Ugly hack to prevent qt4-x11 from using alpha channel

This breaks our current Xlib XVideo and plain X11 outputs.
Qt4 would create an ARGB window for our embedded video. Then, the
Xlib plugins would raise BadMatch errors and VLC aborts. Starting
cairo-dock is an easy way to trigger this problem.
(With XCB plugins, we fail safe to OpenGL/GLX instead of crashing.)

We should instead handle ARGB visuals properly. But that would involve
more efforts, and would only enable plain X11, not XVideo anyway.

This should work around LP#416294.

This is ugly and not thread-safe. If you have a better idea, go ahead.
(cherry picked from commit c0ec5be56e71c273eef4faea8d927eeb3cbc7ec5)

14 years agoXCB-X11: use RGBA so we warranty the alpha channel is 0xff
Rémi Denis-Courmont [Sun, 15 Nov 2009 19:39:47 +0000 (21:39 +0200)]
XCB-X11: use RGBA so we warranty the alpha channel is 0xff

N.B.: it seems swscale does not follow the RGB masks properly;
red and blue are swapped.

14 years agoXCB-X11: handle 32-bits visuals (ARGB)
Rémi Denis-Courmont [Sun, 15 Nov 2009 18:03:44 +0000 (20:03 +0200)]
XCB-X11: handle 32-bits visuals (ARGB)

14 years agoXCB: always match the embedding window color depth
Rémi Denis-Courmont [Sun, 15 Nov 2009 18:00:15 +0000 (20:00 +0200)]
XCB: always match the embedding window color depth

This simplifies XCB-X11 a little bit, and speeds up failure cases of
XCB-XV. More importantly, it will enable ARGB rendering for XCB-X11.

14 years agoAdded an input from memory access.
Laurent Aimar [Sun, 15 Nov 2009 17:03:40 +0000 (18:03 +0100)]
Added an input from memory access.

It allows to inject one ES (raw or compressed) into VLC from a libvlc user.
If multiples ES are needed, it is sufficient to use slave inputs.

14 years agoXCB-XV: get visual and depth from XV adaptor rather than root window
Rémi Denis-Courmont [Sun, 15 Nov 2009 14:32:06 +0000 (16:32 +0200)]
XCB-XV: get visual and depth from XV adaptor rather than root window

14 years agoXCB-XV: cosmetic, kill a few gotos
Rémi Denis-Courmont [Sun, 15 Nov 2009 14:07:36 +0000 (16:07 +0200)]
XCB-XV: cosmetic, kill a few gotos

14 years agox264.c: add option to adjust lookahead
Ilkka Ollakka [Sun, 15 Nov 2009 12:48:33 +0000 (14:48 +0200)]
x264.c: add option to adjust lookahead

Limit range to 0..60 currently, as x264 tunes doesn't seem to use larger
values than that

14 years agocontrib: always skip apps when building vorbis
Pierre Ynard [Sat, 14 Nov 2009 23:53:46 +0000 (00:53 +0100)]
contrib: always skip apps when building vorbis

Due to popular request, this patch is now applied to all target systems

14 years agocontrib: add more stuff for WinCE
Pierre Ynard [Sat, 14 Nov 2009 03:53:13 +0000 (04:53 +0100)]
contrib: add more stuff for WinCE

This is now at least as much as in geal's contrib package

14 years agocontrib: patches for libiconv on WinCE
Pierre Ynard [Sat, 14 Nov 2009 03:27:23 +0000 (04:27 +0100)]
contrib: patches for libiconv on WinCE

Yes, huge hacks inside. Submitted to upstream, we'll see what we can
clean up after they answer

14 years agocontrib: crappy patch to build libmpeg2 on WinCE
Pierre Ynard [Sat, 14 Nov 2009 02:42:26 +0000 (03:42 +0100)]
contrib: crappy patch to build libmpeg2 on WinCE

Devices running WinCE don't necessarily support the pld ARM instruction,
which prevents libmpeg2 from building. This patch unconditionally
removes that instruction on WinCE.

14 years agocontrib: fix libvorbis compilation for WinCE
Pierre Ynard [Fri, 13 Nov 2009 21:31:01 +0000 (22:31 +0100)]
contrib: fix libvorbis compilation for WinCE

14 years agoUse var_CreateGet* when applicable.
Rémi Duraffort [Fri, 13 Nov 2009 20:11:37 +0000 (21:11 +0100)]
Use var_CreateGet* when applicable.

14 years agoqt4: destroy the variable only if the variable does exist.
Rémi Duraffort [Fri, 13 Nov 2009 20:10:24 +0000 (21:10 +0100)]
qt4: destroy the variable only if the variable does exist.

14 years agolibvlc_test: fix compilation.
Rémi Duraffort [Fri, 13 Nov 2009 18:32:59 +0000 (19:32 +0100)]
libvlc_test: fix compilation.

14 years agoupdate doxyfile.
Rémi Duraffort [Fri, 13 Nov 2009 18:02:28 +0000 (19:02 +0100)]
update doxyfile.

14 years agoluarc: oups.
Rémi Duraffort [Fri, 13 Nov 2009 17:11:19 +0000 (18:11 +0100)]
luarc: oups.

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

14 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.

14 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.

14 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.

14 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

14 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...

14 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

14 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).

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

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

14 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

14 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

14 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

14 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.

14 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

14 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

14 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")

14 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

14 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

14 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

14 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

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

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

14 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

14 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>
14 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

14 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.

14 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).

14 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

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

14 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

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

14 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

14 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.

14 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.

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

14 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>
14 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.

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

14 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.

14 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.

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

14 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.

14 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

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

14 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

14 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

14 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

14 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)

14 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

14 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.

14 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

14 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

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

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

14 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.

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

14 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.

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

14 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.

14 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.

14 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

14 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.

14 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>
14 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>
14 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.

14 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.

14 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)

14 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.

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

14 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

14 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

14 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/

14 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.

14 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

14 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

14 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.

14 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

14 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

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

14 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