]> git.sesse.net Git - vlc/log
vlc
14 years agoRevert "svg: quick fix for out-of-tree compilation"
Olivier Aubert [Tue, 24 Nov 2009 15:18:45 +0000 (16:18 +0100)]
Revert "svg: quick fix for out-of-tree compilation"

This reverts commit ea4b606943126c332a5953c900f1cc451ba680b1.

14 years agotranscode: add/remove needed/unneeded headers
Rafaël Carré [Tue, 24 Nov 2009 15:15:28 +0000 (16:15 +0100)]
transcode: add/remove needed/unneeded headers

14 years agoSplit stream_out_transcode in specific files
Rafaël Carré [Tue, 24 Nov 2009 15:07:25 +0000 (16:07 +0100)]
Split stream_out_transcode in specific files

14 years agoconfig_ChainCreate() : use SKIPSPACE macro
Rafaël Carré [Tue, 24 Nov 2009 12:56:16 +0000 (13:56 +0100)]
config_ChainCreate() : use SKIPSPACE macro

14 years agosvg: quick fix for out-of-tree compilation
Olivier Aubert [Tue, 24 Nov 2009 09:46:27 +0000 (10:46 +0100)]
svg: quick fix for out-of-tree compilation

config.h should be bundled with dev. packages (this concerns at least
libvlccore-dev on Debian). Or regenerated by a script.

14 years agotranscode: "audio filter2 doesn't exist anymore
Rafaël Carré [Tue, 24 Nov 2009 12:43:42 +0000 (13:43 +0100)]
transcode: "audio filter2 doesn't exist anymore

"psz_af2" -> "psz_af"

14 years agopython-ctypes: add support for media stats
Olivier Aubert [Mon, 23 Nov 2009 19:53:26 +0000 (20:53 +0100)]
python-ctypes: add support for media stats

14 years agoFix compilation and linking on OpenBSD.
Rémi Duraffort [Mon, 23 Nov 2009 19:07:13 +0000 (20:07 +0100)]
Fix compilation and linking on OpenBSD.

14 years agoskins2: fix linking in OpenBSD (the X11 os factory must be use for linux and OpenBSD...
Rémi Duraffort [Mon, 23 Nov 2009 16:08:29 +0000 (17:08 +0100)]
skins2: fix linking in OpenBSD (the X11 os factory must be use for linux and OpenBSD at least).

14 years agolibvlc: fix comment.
Rémi Duraffort [Mon, 23 Nov 2009 14:52:48 +0000 (15:52 +0100)]
libvlc: fix comment.

14 years agoFix RateCallback
Rémi Denis-Courmont [Mon, 23 Nov 2009 17:06:31 +0000 (19:06 +0200)]
Fix RateCallback

14 years agoConvert "rate" variable to float everywhere
Rémi Denis-Courmont [Mon, 23 Nov 2009 16:44:52 +0000 (18:44 +0200)]
Convert "rate" variable to float everywhere

This follows the historical LibVLC semantic (and new --rate one), so
bigger is faster. In the process, simplify a few code paths, especially
those in LibVLC, but make many other code paths more complicated due to
integer<->float conversion. Most of those paths could probably be
simplified.

 * Fix RC "fastforward" command behaviour (it was slowing down instead)
 * Fix str_format_mera 'R' format string with negative rates and
   rates such that (rate % 1000 < 100).

14 years agopython-ctypes: implement shortcut media.add_options (in addition to the existing...
Olivier Aubert [Mon, 23 Nov 2009 10:15:24 +0000 (11:15 +0100)]
python-ctypes: implement shortcut media.add_options (in addition to the existing instance.media_new( mrl, options...))

14 years agopython-ctypes: override Instance.media_new to allow to directly pass item options
Olivier Aubert [Mon, 16 Nov 2009 16:57:01 +0000 (17:57 +0100)]
python-ctypes: override Instance.media_new to allow to directly pass item options

14 years agohq-resampling option has no effect without FPU, remove it for now
Rémi Denis-Courmont [Sun, 22 Nov 2009 09:57:06 +0000 (11:57 +0200)]
hq-resampling option has no effect without FPU, remove it for now

14 years agoAllow setting the playback rate from configuration
Rémi Denis-Courmont [Sat, 21 Nov 2009 20:35:40 +0000 (22:35 +0200)]
Allow setting the playback rate from configuration

14 years agoFix audiobargraph plugin linkage
Pierre Ynard [Sat, 21 Nov 2009 15:58:46 +0000 (16:58 +0100)]
Fix audiobargraph plugin linkage

Add -lws2/-lws2_32

14 years agoAdd audiobargraph (video part)
Clement Chesnin [Sat, 21 Nov 2009 10:45:58 +0000 (12:45 +0200)]
Add audiobargraph (video part)

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
14 years agoAdd audiobargraph plugin (audio part)
Clement Chesnin [Sat, 21 Nov 2009 10:45:12 +0000 (12:45 +0200)]
Add audiobargraph plugin (audio part)

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
14 years agoAdd strtok_r() replacement
Clement Chesnin [Sat, 21 Nov 2009 10:44:37 +0000 (12:44 +0200)]
Add strtok_r() replacement

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
14 years agocontrib: fix libmpeg2 patch
Pierre Ynard [Fri, 20 Nov 2009 19:21:21 +0000 (20:21 +0100)]
contrib: fix libmpeg2 patch

Disable the ARM pld instruction only on architecture versions that
don't support it.

Thanks to Kirill A. Shutemov!

14 years agoWinCE: fix window size in wing{d,ap}i video output
Pierre Ynard [Fri, 20 Nov 2009 18:01:10 +0000 (19:01 +0100)]
WinCE: fix window size in wing{d,ap}i video output

14 years agorate-(slower|faster) again.
Rémi Duraffort [Fri, 20 Nov 2009 14:43:43 +0000 (15:43 +0100)]
rate-(slower|faster) again.

14 years agorate-(slower|faster) are void variable so we only want to trigger the callbacks.
Rémi Duraffort [Fri, 20 Nov 2009 14:34:22 +0000 (15:34 +0100)]
rate-(slower|faster) are void variable so we only want to trigger the callbacks.

14 years agov4l2: compute strchr only one time.
Rémi Duraffort [Fri, 20 Nov 2009 13:55:27 +0000 (14:55 +0100)]
v4l2: compute strchr only one time.

14 years agoinclude: add some LIBVLC_USED flag.
Rémi Duraffort [Fri, 20 Nov 2009 13:16:37 +0000 (14:16 +0100)]
include: add some LIBVLC_USED flag.

14 years agolibvlc_media_player: factorize.
Rémi Duraffort [Fri, 20 Nov 2009 11:28:26 +0000 (12:28 +0100)]
libvlc_media_player: factorize.

14 years agolibvlc: add a function get the statistics about the current media (also add a structu...
Rémi Duraffort [Fri, 20 Nov 2009 11:17:13 +0000 (12:17 +0100)]
libvlc: add a function get the statistics about the current media (also add a structure to expose this values).
All statistics are not exported, only the most used are exported.

14 years agolua: also add some statistics.
Rémi Duraffort [Fri, 20 Nov 2009 10:39:50 +0000 (11:39 +0100)]
lua: also add some statistics.

14 years agorc: add some more statistics.
Rémi Duraffort [Fri, 20 Nov 2009 10:28:18 +0000 (11:28 +0100)]
rc: add some more statistics.

14 years agovisual: factorize.
Rémi Duraffort [Fri, 20 Nov 2009 09:10:14 +0000 (10:10 +0100)]
visual: factorize.

14 years agovisual: save again some allocation/deallocation cycles.
Rémi Duraffort [Fri, 20 Nov 2009 09:04:03 +0000 (10:04 +0100)]
visual: save again some allocation/deallocation cycles.

14 years agoImprove error message
Rémi Denis-Courmont [Thu, 19 Nov 2009 19:54:11 +0000 (21:54 +0200)]
Improve error message

14 years agodecomp: add support for xz compressed streams (LZMA)
Rémi Denis-Courmont [Thu, 19 Nov 2009 17:29:40 +0000 (19:29 +0200)]
decomp: add support for xz compressed streams (LZMA)

14 years agovisual: fix a crash (double free or use after free) if an error occure.
Rémi Duraffort [Thu, 19 Nov 2009 12:57:09 +0000 (13:57 +0100)]
visual: fix a crash (double free or use after free) if an error occure.

14 years agovisual: small cleanup.
Rémi Duraffort [Thu, 19 Nov 2009 12:52:56 +0000 (13:52 +0100)]
visual: small cleanup.

14 years agoCorrecting type and value of the audio sample
Hugo Beauzee-Luyssen [Thu, 19 Nov 2009 10:09:31 +0000 (11:09 +0100)]
Correcting type and value of the audio sample

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
14 years agovisual: fix use of uninitialized value (introduced in 68dd76f1cd8ec68e2caeeabe325593f...
Rémi Duraffort [Thu, 19 Nov 2009 09:30:03 +0000 (10:30 +0100)]
visual: fix use of uninitialized value (introduced in 68dd76f1cd8ec68e2caeeabe325593ffb93b750c)

14 years agovisual: factorize.
Rémi Duraffort [Thu, 19 Nov 2009 09:25:49 +0000 (10:25 +0100)]
visual: factorize.

14 years agovisual: save a huge number of allocation/deallocation.
Rémi Duraffort [Thu, 19 Nov 2009 09:04:42 +0000 (10:04 +0100)]
visual: save a huge number of allocation/deallocation.

14 years agovisual: factorize.
Rémi Duraffort [Thu, 19 Nov 2009 08:42:42 +0000 (09:42 +0100)]
visual: factorize.

14 years agortmp_access: remove dead code.
Rémi Duraffort [Wed, 18 Nov 2009 16:26:20 +0000 (17:26 +0100)]
rtmp_access: remove dead code.

14 years agortmp: factorize a bit.
Rémi Duraffort [Wed, 18 Nov 2009 11:44:29 +0000 (12:44 +0100)]
rtmp: factorize a bit.

14 years agoRevert "RTMP: factorization"
Rémi Duraffort [Wed, 18 Nov 2009 11:41:36 +0000 (12:41 +0100)]
Revert "RTMP: factorization"

This commit add a deref-after-free bug.

This reverts commit 25cbae45cda4530fc9968edf067fd0f59ee9d8fe.

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