vlc.git
11 years agoudev: support for V4L1 devices (untested)
Rémi Denis-Courmont [Thu, 15 Oct 2009 19:49:24 +0000 (22:49 +0300)]
udev: support for V4L1 devices (untested)

11 years agoudev: use V4L product ID instead of model ID
Rémi Denis-Courmont [Thu, 15 Oct 2009 19:45:24 +0000 (22:45 +0300)]
udev: use V4L product ID instead of model ID

Product works for PCI as well, whereas model is only set for USB.

11 years agoInitial udev service discovery plugin
Rémi Denis-Courmont [Thu, 15 Oct 2009 19:11:20 +0000 (22:11 +0300)]
Initial udev service discovery plugin

This implements device discovery with libudev, which is part of the udev
source package (and hence available in any recent Linux distribution).
Both cold and hot plugging (w.r.t. VLC) are implemented.

TODO:
 * V4L1 devices (currently V4L2 is assumed)
 * other subsystems (linux-dvb -> DVB, block -> discs)
 * item removal on unplug
 * better item name and category for non-USB devices

11 years agoaccess_out_shoutcast: factorise.
Rémi Duraffort [Thu, 15 Oct 2009 13:44:07 +0000 (15:44 +0200)]
access_out_shoutcast: factorise.

11 years agoaccess_out_shoutcast: fix memleak.
Rémi Duraffort [Thu, 15 Oct 2009 13:39:28 +0000 (15:39 +0200)]
access_out_shoutcast: fix memleak.

11 years agoaccess_out_shoutcast: constify.
Rémi Duraffort [Thu, 15 Oct 2009 13:35:40 +0000 (15:35 +0200)]
access_out_shoutcast: constify.

11 years agoaccess_out: use var_GetNonEmptyString.
Rémi Duraffort [Thu, 15 Oct 2009 13:25:30 +0000 (15:25 +0200)]
access_out: use var_GetNonEmptyString.

11 years agoUse libgcrypt-config script instead of hardcoding -lgcrypt
Rafaël Carré [Thu, 15 Oct 2009 13:38:44 +0000 (15:38 +0200)]
Use libgcrypt-config script instead of hardcoding -lgcrypt

11 years agoadd katsomo.lua to makefile
Ilkka Ollakka [Thu, 15 Oct 2009 12:59:46 +0000 (15:59 +0300)]
add katsomo.lua to makefile

11 years agosout_bridge: use var_(Get|Set)Address.
Rémi Duraffort [Thu, 15 Oct 2009 13:04:42 +0000 (15:04 +0200)]
sout_bridge: use var_(Get|Set)Address.

11 years agolirc: we don't need to keep the name of the file in memory.
Rémi Duraffort [Thu, 15 Oct 2009 12:18:00 +0000 (14:18 +0200)]
lirc: we don't need to keep the name of the file in memory.

11 years agomosaic_bridge: add missing var_DelCallback (fix a race condition)
Rémi Duraffort [Thu, 15 Oct 2009 08:59:35 +0000 (10:59 +0200)]
mosaic_bridge: add missing var_DelCallback (fix a race condition)

11 years agosout_es: constify.
Rémi Duraffort [Thu, 15 Oct 2009 08:31:34 +0000 (10:31 +0200)]
sout_es: constify.

11 years agosout_MuxNew: constify.
Rémi Duraffort [Thu, 15 Oct 2009 08:30:21 +0000 (10:30 +0200)]
sout_MuxNew: constify.

11 years agosout_es: use var_GetString.
Rémi Duraffort [Thu, 15 Oct 2009 08:03:50 +0000 (10:03 +0200)]
sout_es: use var_GetString.

11 years agozvbi: adds explicitely -lpthreadGC2 -lwsock32 to needed libraries on win32
Rafaël Carré [Thu, 15 Oct 2009 12:52:12 +0000 (14:52 +0200)]
zvbi: adds explicitely -lpthreadGC2 -lwsock32 to needed libraries on win32

11 years agokatsomo.lua: remove debug
Ilkka Ollakka [Thu, 15 Oct 2009 12:39:25 +0000 (15:39 +0300)]
katsomo.lua: remove debug

11 years agoadd lua-script for http://www.katsomo.fi/?treeId= urls
Ilkka Ollakka [Thu, 15 Oct 2009 12:29:47 +0000 (15:29 +0300)]
add lua-script for www.katsomo.fi/?treeId= urls

Original php-code made by Toni Korhonen, and I made lua script based
on that example.

11 years agoignore dvdread.m4
Rafaël Carré [Thu, 15 Oct 2009 12:33:40 +0000 (14:33 +0200)]
ignore dvdread.m4

11 years agoDo not redo .peflags target
Rafaël Carré [Thu, 15 Oct 2009 12:33:05 +0000 (14:33 +0200)]
Do not redo .peflags target

11 years agocontribs: libass depends on freetype
Rafaël Carré [Thu, 15 Oct 2009 12:02:24 +0000 (14:02 +0200)]
contribs: libass depends on freetype

11 years agoi18n: remove deleted file
Pierre Ynard [Thu, 15 Oct 2009 11:11:57 +0000 (13:11 +0200)]
i18n: remove deleted file

11 years agoQt_playlist_selector: fix a memleak.
Rémi Duraffort [Thu, 15 Oct 2009 07:08:58 +0000 (09:08 +0200)]
Qt_playlist_selector: fix a memleak.

11 years agomacosx/framework: Fix the configure ARCHS autodetection script so that we are shell...
Pierre d'Herbemont [Wed, 14 Oct 2009 22:00:46 +0000 (00:00 +0200)]
macosx/framework: Fix the configure ARCHS autodetection script so that we are shell independant (setenv vs export), and force to build only the selected ARCHS.

11 years agomacosx: Disable broken code to get the buildbot back. And add a FIXME.
Pierre d'Herbemont [Wed, 14 Oct 2009 21:38:25 +0000 (23:38 +0200)]
macosx: Disable broken code to get the buildbot back. And add a FIXME.

11 years agomacosx/framework: Fix the release target of the framework.
Pierre d'Herbemont [Wed, 14 Oct 2009 21:37:46 +0000 (23:37 +0200)]
macosx/framework: Fix the release target of the framework.

11 years agoam: Don't fail to build Mac OS X target if there is no git.
Pierre d'Herbemont [Wed, 14 Oct 2009 21:23:04 +0000 (23:23 +0200)]
am: Don't fail to build Mac OS X target if there is no git.

11 years agoHAL services discovery plugin is still here.
Rémi Denis-Courmont [Wed, 14 Oct 2009 20:28:03 +0000 (23:28 +0300)]
HAL services discovery plugin is still here.

We still need the configure checks.
Only the HAL device probe plugin is gone.

11 years agoRemove HAL plugin
Rémi Denis-Courmont [Wed, 14 Oct 2009 17:13:41 +0000 (20:13 +0300)]
Remove HAL plugin

It was ever dead code within VLC. On top of that, HAL is now officially
deprecated in favor of libudev (and higher level D-Bus middlewares).

11 years agoCosmetic
Rémi Denis-Courmont [Wed, 14 Oct 2009 17:15:43 +0000 (20:15 +0300)]
Cosmetic

11 years agoRTP: disable preemption during queueing
Rémi Denis-Courmont [Wed, 14 Oct 2009 16:37:16 +0000 (19:37 +0300)]
RTP: disable preemption during queueing

This should fix a rare crash:
LibVLC fatal error destroying mutex (16) in thread 17390 at ../../src/misc/pthread.c:188 in vlc_mutex_destroy
/home/remi/videolan/vlc/build/src/.libs/libvlccore.so.4[0xb7fff933]
/home/remi/videolan/vlc/build/src/.libs/libvlccore.so.4[0xb7fff9c8]
/home/remi/videolan/vlc/build/src/.libs/libvlccore.so.4(vlc_mutex_destroy+0x3f)[0xb7fffa39]
/home/remi/videolan/vlc/build/modules/access/rtp/.libs/librtp_plugin.so[0xb5563a41]
/home/remi/videolan/vlc/build/src/.libs/libvlccore.so.4(__module_unneed+0x29)[0xb7fe414f]
/home/remi/videolan/vlc/build/src/.libs/libvlccore.so.4[0xb7f9984e]
/home/remi/videolan/vlc/build/src/.libs/libvlccore.so.4[0xb7fa69fb]
/home/remi/videolan/vlc/build/src/.libs/libvlccore.so.4[0xb7fa6c0c]
/home/remi/videolan/vlc/build/src/.libs/libvlccore.so.4[0xb7faeef2]
/home/remi/videolan/vlc/build/src/.libs/libvlccore.so.4[0xb7feb16e]
/lib/i686/cmov/libpthread.so.0[0xb7f324b5]
/lib/i686/cmov/libc.so.6(clone+0x5e)[0xb7eaea5e]

11 years agoFix object leak (but not unsafe item access)
Rémi Denis-Courmont [Wed, 14 Oct 2009 16:29:03 +0000 (19:29 +0300)]
Fix object leak (but not unsafe item access)

11 years agoRemove useless check and assignment
Rémi Denis-Courmont [Wed, 14 Oct 2009 16:25:33 +0000 (19:25 +0300)]
Remove useless check and assignment

11 years agoCosmetic.
Laurent Aimar [Tue, 13 Oct 2009 19:08:07 +0000 (21:08 +0200)]
Cosmetic.

11 years agoImplementing MP4 DEMUX_GET_FPS control query
Hugo Beauzee-Luyssen [Wed, 23 Sep 2009 13:00:43 +0000 (15:00 +0200)]
Implementing MP4 DEMUX_GET_FPS control query

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years agoFixed ES frame rate estimation in mp4 file.
Laurent Aimar [Tue, 13 Oct 2009 19:05:06 +0000 (21:05 +0200)]
Fixed ES frame rate estimation in mp4 file.

11 years agoFixed a small memleak in bda.
Laurent Aimar [Fri, 9 Oct 2009 18:47:49 +0000 (20:47 +0200)]
Fixed a small memleak in bda.

11 years agoAccelerated dvb loading time by exporting the demuxer type.
Laurent Aimar [Fri, 9 Oct 2009 18:44:19 +0000 (20:44 +0200)]
Accelerated dvb loading time by exporting the demuxer type.

11 years agoWin32: make the fullscreen display really take the full screen
Geoffroy Couprie [Tue, 13 Oct 2009 10:13:47 +0000 (12:13 +0200)]
Win32: make the fullscreen display really take the full screen

11 years agoasx.c: don't use const on prz_mrl
Ilkka Ollakka [Tue, 13 Oct 2009 09:07:06 +0000 (12:07 +0300)]
asx.c: don't use const on prz_mrl

11 years agoasx.c: change reallocating to doupling instead of adding just 1024
Ilkka Ollakka [Mon, 12 Oct 2009 13:33:12 +0000 (16:33 +0300)]
asx.c: change reallocating to doupling instead of adding just 1024

Also change comparing stream size from (<=0 && < 16384) to (<=0 && >16384)

11 years agoasx.c: user ProcessMRL for playlist href to be able to use relative paths in playlist...
Ilkka Ollakka [Tue, 13 Oct 2009 08:38:34 +0000 (11:38 +0300)]
asx.c: user ProcessMRL for playlist href to be able to use relative paths in playlist-file

This and earlier change to add access to prefix should fix usage of eg
http://media.meteo.it/vsat.asx playlist-file.

11 years agoplaylist.c: change FindPrefix to include access on returned string
Ilkka Ollakka [Mon, 12 Oct 2009 13:39:19 +0000 (16:39 +0300)]
playlist.c: change FindPrefix to include access on returned string

11 years agoReplace the last of the HAVE_EVENTFDs with HAVE_SYS_EVENTFD_H.
JP Dinger [Tue, 13 Oct 2009 07:17:45 +0000 (09:17 +0200)]
Replace the last of the HAVE_EVENTFDs with HAVE_SYS_EVENTFD_H.
(cherry picked from commit b3d9ea87aa40d43f081b8fcecd7d0126e6865196)

11 years agoRevert "Fix windows build (undefined reference to gpg_error_*)"
Rémi Denis-Courmont [Mon, 12 Oct 2009 18:07:20 +0000 (21:07 +0300)]
Revert "Fix windows build (undefined reference to gpg_error_*)"

LibVLC is not calling gpg_error functions anywhere. Linking gpg-error
causes problems with *correctly* built libgcrypt (e.g. incorrect
package dependencies).

This reverts commit f865a8169457c8fa934782974e1b21c534bf0744.

11 years agoFix windows build (undefined reference to gpg_error_*)
Geoffroy Couprie [Mon, 12 Oct 2009 18:02:02 +0000 (20:02 +0200)]
Fix windows build (undefined reference to gpg_error_*)

11 years agoTypo
Rémi Denis-Courmont [Mon, 12 Oct 2009 16:53:11 +0000 (19:53 +0300)]
Typo

11 years agoconfigure: remove useless autoconf defines
Pierre Ynard [Mon, 12 Oct 2009 00:20:04 +0000 (02:20 +0200)]
configure: remove useless autoconf defines

They are used nowhere in the code, and just clutter the build system

11 years agom3u.c: use input_item_SetTitle
Ilkka Ollakka [Thu, 8 Oct 2009 20:41:14 +0000 (23:41 +0300)]
m3u.c: use input_item_SetTitle

This allow to have channelnames on saved xspf-playlist from dvb-scanning.

11 years agoAdded support for I420/J420/YV12 to direct3d.
Laurent Aimar [Sun, 11 Oct 2009 16:45:59 +0000 (18:45 +0200)]
Added support for I420/J420/YV12 to direct3d.

It is not described in the msdn documentation, but planar 420
seems to be supported by a lot of video cards.

11 years agoSimplified direct3d chroma discovery.
Laurent Aimar [Sun, 11 Oct 2009 16:43:35 +0000 (18:43 +0200)]
Simplified direct3d chroma discovery.

11 years agoAdded vlc_fourcc_GetRGBFallback.
Laurent Aimar [Sun, 11 Oct 2009 13:58:09 +0000 (15:58 +0200)]
Added vlc_fourcc_GetRGBFallback.

11 years agoFixed overlay in directx regression.
Laurent Aimar [Sun, 11 Oct 2009 13:18:08 +0000 (15:18 +0200)]
Fixed overlay in directx regression.

11 years agoFixed uninitialized variables (msw).
Laurent Aimar [Sun, 11 Oct 2009 09:49:48 +0000 (11:49 +0200)]
Fixed uninitialized variables (msw).

11 years agoosx/framework: added wrapper methods for snapshots and deinterlacing
Felix Paul Kühne [Sun, 11 Oct 2009 15:09:09 +0000 (17:09 +0200)]
osx/framework: added wrapper methods for snapshots and deinterlacing

11 years agoOpen : fix typo.
Sabourin Gilles [Sun, 11 Oct 2009 08:34:47 +0000 (10:34 +0200)]
Open : fix typo.

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
11 years agoinput: Support file://localhost/ type URL when autodetecting subtitles.
Pierre d'Herbemont [Sat, 10 Oct 2009 17:03:54 +0000 (19:03 +0200)]
input: Support file://localhost/ type URL when autodetecting subtitles.

11 years agovariables: fix typo.
Rémi Duraffort [Sat, 10 Oct 2009 15:47:03 +0000 (17:47 +0200)]
variables: fix typo.

11 years agoopengllayer: the variable is a void* and not an integer and must be named drawable...
Rémi Duraffort [Sat, 10 Oct 2009 14:51:06 +0000 (16:51 +0200)]
opengllayer: the variable is a void* and not an integer and must be named drawable-nsobject.

11 years agovariables: add var_CreategetAddress.
Rémi Duraffort [Sat, 10 Oct 2009 15:30:21 +0000 (17:30 +0200)]
variables: add var_CreategetAddress.

11 years agomacosx/framework: Add the freebox as one of the known SD.
Pierre d'Herbemont [Sat, 10 Oct 2009 14:14:13 +0000 (16:14 +0200)]
macosx/framework: Add the freebox as one of the known SD.

11 years agominimal_macosx: Don't attempt to use the vout when there is none.
Pierre d'Herbemont [Sat, 10 Oct 2009 14:13:24 +0000 (16:13 +0200)]
minimal_macosx: Don't attempt to use the vout when there is none.

11 years agomacosx: fixed logic errors in previous commit pointed by Pierre
Felix Paul Kühne [Sat, 10 Oct 2009 13:21:46 +0000 (15:21 +0200)]
macosx: fixed logic errors in previous commit pointed by Pierre

11 years agomacosx: merge AppleRemote fixes from the Lunettes project
Felix Paul Kühne [Sat, 10 Oct 2009 11:47:31 +0000 (13:47 +0200)]
macosx: merge AppleRemote fixes from the Lunettes project

11 years agoosx/framework: added convience methods for volume up/down
Felix Paul Kühne [Sat, 10 Oct 2009 10:44:41 +0000 (12:44 +0200)]
osx/framework: added convience methods for volume up/down

11 years agomacosx: vlc_keys seems to need vlc_common.
Pierre d'Herbemont [Sat, 10 Oct 2009 10:13:14 +0000 (12:13 +0200)]
macosx: vlc_keys seems to need vlc_common.

11 years agoaout_sdl: fix compilation.
Rémi Duraffort [Sat, 10 Oct 2009 10:13:56 +0000 (12:13 +0200)]
aout_sdl: fix compilation.

11 years agomacosx: Silent a harmless warning.
Pierre d'Herbemont [Sat, 10 Oct 2009 09:59:52 +0000 (11:59 +0200)]
macosx: Silent a harmless warning.

11 years agomacosx: Dummy build fix.
Pierre d'Herbemont [Sat, 10 Oct 2009 09:59:35 +0000 (11:59 +0200)]
macosx: Dummy build fix.

11 years agoFix potential object leak.
Rémi Duraffort [Sat, 10 Oct 2009 10:01:31 +0000 (12:01 +0200)]
Fix potential object leak.

11 years agoUse var_Get* when applicable.
Rémi Duraffort [Thu, 8 Oct 2009 18:52:06 +0000 (20:52 +0200)]
Use var_Get* when applicable.

11 years agolua: fix potential memleak.
Rémi Duraffort [Thu, 8 Oct 2009 14:41:41 +0000 (16:41 +0200)]
lua: fix potential memleak.

11 years agoNo need to test for NULL before a free.
Rémi Duraffort [Thu, 8 Oct 2009 14:26:07 +0000 (16:26 +0200)]
No need to test for NULL before a free.

11 years agouse var_ToggleBool when applicable.
Rémi Duraffort [Mon, 5 Oct 2009 09:01:03 +0000 (11:01 +0200)]
use var_ToggleBool when applicable.

11 years agoUse var_Get* when applicable.
Rémi Duraffort [Mon, 5 Oct 2009 09:07:14 +0000 (11:07 +0200)]
Use var_Get* when applicable.

11 years agovout: use the new var_GetAddress.
Rémi Duraffort [Mon, 5 Oct 2009 08:47:54 +0000 (10:47 +0200)]
vout: use the new var_GetAddress.

11 years agovariables: add a var_GetAddress function.
Rémi Duraffort [Mon, 5 Oct 2009 08:43:11 +0000 (10:43 +0200)]
variables: add a var_GetAddress function.

11 years agomp4: fix potential memleak.
Rémi Duraffort [Sun, 4 Oct 2009 20:35:57 +0000 (22:35 +0200)]
mp4: fix potential memleak.

11 years agovout_directx: fix memleak.
Rémi Duraffort [Sun, 4 Oct 2009 20:33:03 +0000 (22:33 +0200)]
vout_directx: fix memleak.

11 years agocodec: use var_Get(Integer|Float|String) when applicable.
Rémi Duraffort [Sun, 4 Oct 2009 17:25:41 +0000 (19:25 +0200)]
codec: use var_Get(Integer|Float|String) when applicable.

11 years agotwolame: "quality" is a float variable and not an integer !
Rémi Duraffort [Sun, 4 Oct 2009 18:19:07 +0000 (20:19 +0200)]
twolame: "quality" is a float variable and not an integer !

11 years agoaccess_dvb: constify.
Rémi Duraffort [Fri, 2 Oct 2009 18:38:40 +0000 (20:38 +0200)]
access_dvb: constify.

11 years agoaccess_dvb: constify.
Rémi Duraffort [Fri, 2 Oct 2009 18:35:32 +0000 (20:35 +0200)]
access_dvb: constify.

11 years agosout_std: imporve logic (and save a malloc/free)
Rémi Duraffort [Fri, 2 Oct 2009 18:27:06 +0000 (20:27 +0200)]
sout_std: imporve logic (and save a malloc/free)

11 years agosout_std: fix potential memleaks.
Rémi Duraffort [Fri, 2 Oct 2009 18:23:05 +0000 (20:23 +0200)]
sout_std: fix potential memleaks.

11 years agosout_raop: factorize.
Rémi Duraffort [Fri, 2 Oct 2009 18:05:49 +0000 (20:05 +0200)]
sout_raop: factorize.

11 years agosmem: try not to re-create the variables too many times.
Rémi Duraffort [Fri, 2 Oct 2009 17:56:05 +0000 (19:56 +0200)]
smem: try not to re-create the variables too many times.

11 years agosout std: factorize.
Rémi Duraffort [Fri, 2 Oct 2009 17:42:38 +0000 (19:42 +0200)]
sout std: factorize.

11 years agoWinCE: fix memleak.
Rémi Duraffort [Fri, 2 Oct 2009 17:32:03 +0000 (19:32 +0200)]
WinCE: fix memleak.

11 years agoFactorize.
Rémi Duraffort [Tue, 29 Sep 2009 13:07:29 +0000 (15:07 +0200)]
Factorize.

11 years agoUse var_CreateGet when applicable.
Rémi Duraffort [Fri, 25 Sep 2009 10:47:28 +0000 (12:47 +0200)]
Use var_CreateGet when applicable.

11 years agoSD_mediadirs: no need to strdup.
Rémi Duraffort [Tue, 22 Sep 2009 20:43:51 +0000 (22:43 +0200)]
SD_mediadirs: no need to strdup.

11 years agoCosmetics.
Rémi Duraffort [Sun, 20 Sep 2009 17:26:43 +0000 (19:26 +0200)]
Cosmetics.

11 years agoosx/framework: added convenience methods for jumps within a stream
Felix Paul Kühne [Fri, 9 Oct 2009 15:16:20 +0000 (17:16 +0200)]
osx/framework: added convenience methods for jumps within a stream

11 years agoosx/framework: allow VLCTime to handle int values
Felix Paul Kühne [Fri, 9 Oct 2009 15:09:20 +0000 (17:09 +0200)]
osx/framework: allow VLCTime to handle int values

11 years agoframework: updated to current libvlc API
Felix Paul Kühne [Fri, 9 Oct 2009 15:08:15 +0000 (17:08 +0200)]
framework: updated to current libvlc API

11 years agoglobalhotkeys xcb : fix modifiers with xcb-keysyms >= 0.3.4
Rafaël Carré [Fri, 9 Oct 2009 00:39:20 +0000 (02:39 +0200)]
globalhotkeys xcb : fix modifiers with xcb-keysyms >= 0.3.4

11 years agoremove debug left over in [b3a591d0]
Rafaël Carré [Fri, 9 Oct 2009 00:16:12 +0000 (02:16 +0200)]
remove debug left over in [b3a591d0]

11 years agoFix infinite loop introduced in [9142f0c6]
Rafaël Carré [Thu, 8 Oct 2009 23:59:02 +0000 (01:59 +0200)]
Fix infinite loop introduced in [9142f0c6]

11 years agoUsed VC-1 avcodec decoder for WMVA.
Laurent Aimar [Thu, 8 Oct 2009 20:34:41 +0000 (22:34 +0200)]
Used VC-1 avcodec decoder for WMVA.