]> git.sesse.net Git - vlc/log
vlc
14 years agoRTMP: use new thread API, remove bogus uses of b_die and FifoWake
Rémi Denis-Courmont [Tue, 17 Nov 2009 19:32:30 +0000 (21:32 +0200)]
RTMP: use new thread API, remove bogus uses of b_die and FifoWake

14 years agoRTMP: tag some of the obvious bugs
Rémi Denis-Courmont [Tue, 17 Nov 2009 19:28:44 +0000 (21:28 +0200)]
RTMP: tag some of the obvious bugs

14 years agoRTMP: small cleanup
Rémi Denis-Courmont [Tue, 17 Nov 2009 19:15:41 +0000 (21:15 +0200)]
RTMP: small cleanup

14 years agoRTMP: fix a sign warning
Rémi Denis-Courmont [Tue, 17 Nov 2009 19:15:21 +0000 (21:15 +0200)]
RTMP: fix a sign warning

14 years agoRTMP: factorization
Rémi Denis-Courmont [Tue, 17 Nov 2009 19:10:54 +0000 (21:10 +0200)]
RTMP: factorization

14 years agoRTMP: fix memory leak and use after free on error paths
Rémi Denis-Courmont [Tue, 17 Nov 2009 16:44:44 +0000 (18:44 +0200)]
RTMP: fix memory leak and use after free on error paths

14 years agov4l2: use v4l2_open for use of libv4l2
Buganini [Tue, 17 Nov 2009 15:11:20 +0000 (23:11 +0800)]
v4l2: use v4l2_open for use of libv4l2

Signed-off-by: Rafaël Carré <rafael.carre@gmail.com>
14 years agov4l: support libv4l
Kuan-Chung Chiu [Tue, 17 Nov 2009 10:39:02 +0000 (18:39 +0800)]
v4l: support libv4l

Signed-off-by: Rafaël Carré <rafael.carre@gmail.com>
14 years agoskins2: fix a redefinition of a macro.
Rémi Duraffort [Tue, 17 Nov 2009 11:37:31 +0000 (12:37 +0100)]
skins2: fix a redefinition of a macro.

14 years agoaccess_http: fix cross-compilation for win32.
Rémi Duraffort [Tue, 17 Nov 2009 10:33:40 +0000 (11:33 +0100)]
access_http: fix cross-compilation for win32.

14 years agoKill a few warnings about unchecked asprintf() return values. I'm
JP Dinger [Mon, 16 Nov 2009 21:53:34 +0000 (22:53 +0100)]
Kill a few warnings about unchecked asprintf() return values. I'm
assuming TAB_APPEND will know what to do with a NULL string ptr
as opposed to an undefined one.

14 years agolua_libs: release the playlist object.
Rémi Duraffort [Mon, 16 Nov 2009 21:12:52 +0000 (22:12 +0100)]
lua_libs: release the playlist object.

14 years agorestore libtiger support in kate plugin
ogg.k.ogg.k [Sat, 14 Nov 2009 14:13:51 +0000 (14:13 +0000)]
restore libtiger support in kate plugin

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
14 years agolua_libs: lock the mutex when reading the stats of an item.
Rémi Duraffort [Mon, 16 Nov 2009 18:54:37 +0000 (19:54 +0100)]
lua_libs: lock the mutex when reading the stats of an item.

14 years agoIf http-use-IE-proxy is enable, use Internet Explorer entered HTTP proxy server confi...
Adrien Maglo [Fri, 28 Aug 2009 13:03:09 +0000 (15:03 +0200)]
If http-use-IE-proxy is enable, use Internet Explorer entered HTTP proxy server configuration for all URL. Don't take into account bypasses settings and auto configuration scripts.

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
14 years agomux_mpeg_ts: no need to lock inside the destructor.
Rémi Duraffort [Sat, 14 Nov 2009 10:58:10 +0000 (11:58 +0100)]
mux_mpeg_ts: no need to lock inside the destructor.

14 years agoUse var_Get* when applicable.
Rémi Duraffort [Sat, 14 Nov 2009 10:53:31 +0000 (11:53 +0100)]
Use var_Get* when applicable.

14 years agoDocument block_FifoGet and block_FifoShow
Rémi Denis-Courmont [Mon, 16 Nov 2009 18:10:53 +0000 (20:10 +0200)]
Document block_FifoGet and block_FifoShow

14 years agoblock_FifoPut: reduce contention scope
Rémi Denis-Courmont [Mon, 16 Nov 2009 18:01:55 +0000 (20:01 +0200)]
block_FifoPut: reduce contention scope

14 years agoblock_FifoEmpty: reduce contention scope
Rémi Denis-Courmont [Mon, 16 Nov 2009 17:56:07 +0000 (19:56 +0200)]
block_FifoEmpty: reduce contention scope

14 years agoFix a uninitialized variable warning in xcb/xvideo.c.
JP Dinger [Sun, 15 Nov 2009 22:21:05 +0000 (23:21 +0100)]
Fix a uninitialized variable warning in xcb/xvideo.c.

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.