vlc.git
10 years agoudev: refactor
Rémi Denis-Courmont [Fri, 16 Oct 2009 18:32:56 +0000 (21:32 +0300)]
udev: refactor

10 years agoxtag: simplify (remove a dummy test and makes some static code analyser happy).
Rémi Duraffort [Fri, 16 Oct 2009 17:25:19 +0000 (19:25 +0200)]
xtag: simplify (remove a dummy test and makes some static code analyser happy).

10 years agoFix doxygene documentation.
Rémi Duraffort [Fri, 16 Oct 2009 16:50:45 +0000 (18:50 +0200)]
Fix doxygene documentation.

10 years agov4l2: rework size detection
Pierre Ynard [Fri, 16 Oct 2009 17:21:51 +0000 (19:21 +0200)]
v4l2: rework size detection

This fixes my TV card, and should be backported after testing

10 years agov4l2: fix typo in debug logs
Pierre Ynard [Fri, 16 Oct 2009 17:19:53 +0000 (19:19 +0200)]
v4l2: fix typo in debug logs

10 years agoaccess_mmsh: fix memleak.
Rémi Duraffort [Fri, 16 Oct 2009 16:27:58 +0000 (18:27 +0200)]
access_mmsh: fix memleak.

10 years agommsh: factorize.
Rémi Duraffort [Fri, 16 Oct 2009 16:22:56 +0000 (18:22 +0200)]
mmsh: factorize.

10 years agoudev: remove item when the device is removed
Rémi Denis-Courmont [Fri, 16 Oct 2009 15:34:33 +0000 (18:34 +0300)]
udev: remove item when the device is removed

10 years agoudev: memory leak
Rémi Denis-Courmont [Fri, 16 Oct 2009 15:32:44 +0000 (18:32 +0300)]
udev: memory leak

10 years agovideo_filter_puzzle: change default value and limit ([2, 16] is really enough
Rémi Duraffort [Fri, 16 Oct 2009 14:57:26 +0000 (16:57 +0200)]
video_filter_puzzle: change default value and limit ([2, 16] is really enough
and 4 is good as a default value)

10 years agomacosx/framework: Activate --play-and-pause with the framework by default.
Pierre d'Herbemont [Fri, 16 Oct 2009 13:03:04 +0000 (15:03 +0200)]
macosx/framework: Activate --play-and-pause with the framework by default.

10 years agolinking to gcrypt requires `libgcrypt-config --libs`
Rafaël Carré [Fri, 16 Oct 2009 12:38:17 +0000 (14:38 +0200)]
linking to gcrypt requires `libgcrypt-config --libs`

10 years agoSupport for Forward Uncompressed video
Jean-Baptiste Kempf [Thu, 15 Oct 2009 21:16:10 +0000 (23:16 +0200)]
Support for Forward Uncompressed video

10 years agoNEWS about udev and audio filter 2
Jean-Baptiste Kempf [Thu, 15 Oct 2009 19:27:41 +0000 (21:27 +0200)]
NEWS about udev and audio filter 2

10 years agoFortune about beer
Jean-Baptiste Kempf [Thu, 15 Oct 2009 13:46:15 +0000 (15:46 +0200)]
Fortune about beer

10 years agoQt: Open Dialog button changes.
Jean-Baptiste Kempf [Thu, 15 Oct 2009 19:02:10 +0000 (21:02 +0200)]
Qt: Open Dialog button changes.

Use a ToolButton+Menu since Qt4.6 on Windows seems to have fixed this issue.

10 years agoQt: make the preview interface fixed Height
Jean-Baptiste Kempf [Mon, 12 Oct 2009 13:10:54 +0000 (15:10 +0200)]
Qt: make the preview interface fixed Height

So, it avoids the horrible size changes.

10 years agoQt: simplify previewWidgets creation.
Jean-Baptiste Kempf [Mon, 12 Oct 2009 13:00:44 +0000 (15:00 +0200)]
Qt: simplify previewWidgets creation.

Btw, you really shouldn't use C cast on QObjects

10 years agoVAAPI: for libva >= 0.31.0 remove context from vaSyncSurface.
Konstantin Pavlov [Fri, 9 Oct 2009 08:36:14 +0000 (12:36 +0400)]
VAAPI: for libva >= 0.31.0 remove context from vaSyncSurface.

Follows
http://cgit.freedesktop.org/libva/commit/?id=2822d025263d516bd619c8bbe1d17ff4c1bd1af2

10 years agoAdd configure.ac detection of libva, default disabled.
Konstantin Pavlov [Wed, 29 Jul 2009 09:38:07 +0000 (13:38 +0400)]
Add configure.ac detection of libva, default disabled.

This enables building avcodec plugin with VAAPI support.

10 years agoCheck if we can link to libgcrypt
Rafaël Carré [Thu, 15 Oct 2009 21:33:22 +0000 (23:33 +0200)]
Check if we can link to libgcrypt

make --disable-libgcrypt mandatory if (a recent enough) libgcrypt was not found

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

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

10 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

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

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

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

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

10 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

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

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

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

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

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

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

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

10 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

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

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

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

10 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

10 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

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

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

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

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

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

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

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

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

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

10 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]

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

10 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

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

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

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

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

10 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

10 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

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

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

10 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

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

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

10 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_*)

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

10 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

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

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

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

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

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

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

10 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

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

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

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

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

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

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

10 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

10 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

10 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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