vlc.git
11 years agoVLM : Fix a race condition when input event is triggered and vlm_MediaInstanceDelete...
Sébastien Escudier [Thu, 8 Oct 2009 08:05:07 +0000 (10:05 +0200)]
VLM : Fix a race condition when input event is triggered and vlm_MediaInstanceDelete is called at the same time.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agov4l: attempt to fix strict aliasing warnings.
Alexis Ballier [Sun, 27 Sep 2009 10:31:38 +0000 (12:31 +0200)]
v4l: attempt to fix strict aliasing warnings.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agoSubtitles: small fixes and cosmetics
Jean-Baptiste Kempf [Sat, 17 Oct 2009 22:24:07 +0000 (00:24 +0200)]
Subtitles: small fixes and cosmetics

and for counter scopes

11 years agoChange a configuration name
Jean-Baptiste Kempf [Sat, 17 Oct 2009 21:50:28 +0000 (23:50 +0200)]
Change a configuration name

11 years agoSubtitles detection: decode before testing the files.
Jean-Baptiste Kempf [Sat, 17 Oct 2009 21:48:45 +0000 (23:48 +0200)]
Subtitles detection: decode before testing the files.

This calls decode_URI, as does the meta.c file. I hope this is correct, feel free to revert if not.
closes #3076

11 years agoQt: simpleprefs, fix caching combobox
Jean-Baptiste Kempf [Sat, 17 Oct 2009 21:02:41 +0000 (23:02 +0200)]
Qt: simpleprefs, fix caching combobox

Fix #3085

11 years agoHTTPd: stat -> utf8_stat
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:53:10 +0000 (23:53 +0300)]
HTTPd: stat -> utf8_stat

11 years agoVCD: stat -> utf8_stat
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:52:59 +0000 (23:52 +0300)]
VCD: stat -> utf8_stat

11 years agoOMAP framebuffer: path from config, ASCII path, use utf8_open
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:36:10 +0000 (23:36 +0300)]
OMAP framebuffer: path from config, ASCII path, use utf8_open

11 years agoMGA: ASCII path, use utf8_open for close-on-exec
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:35:49 +0000 (23:35 +0300)]
MGA: ASCII path, use utf8_open for close-on-exec

11 years agoFramebuffer: path from VLC config, need utf8_open
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:35:27 +0000 (23:35 +0300)]
Framebuffer: path from VLC config, need utf8_open

11 years agoDynamic overlay: paths from VLC variables, need utf8_open
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:34:50 +0000 (23:34 +0300)]
Dynamic overlay: paths from VLC variables, need utf8_open

11 years agoDummy decoder: ASCII path, use utf8_open() for close-on-exec
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:34:03 +0000 (23:34 +0300)]
Dummy decoder: ASCII path, use utf8_open() for close-on-exec

11 years agoFramebuffer OSD: path from VLC config, need utf8_open
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:33:18 +0000 (23:33 +0300)]
Framebuffer OSD: path from VLC config, need utf8_open

11 years agoVCD: path from VLC MRL, need utf8_open
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:32:54 +0000 (23:32 +0300)]
VCD: path from VLC MRL, need utf8_open

11 years agoV4L2: path from VLC, need utf8_open
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:31:48 +0000 (23:31 +0300)]
V4L2: path from VLC, need utf8_open

11 years agoV4L: path from VLC, need utf8_open()
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:31:34 +0000 (23:31 +0300)]
V4L: path from VLC, need utf8_open()

11 years agoPVR: path from VLC config, need utf8_open()
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:31:03 +0000 (23:31 +0300)]
PVR: path from VLC config, need utf8_open()

11 years agoOSS: path from VLC core (or ASCII), need utf8_open()
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:30:26 +0000 (23:30 +0300)]
OSS: path from VLC core (or ASCII), need utf8_open()

11 years agoDVB: ASCII paths, utf8_open() provides close-on-exec
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:29:25 +0000 (23:29 +0300)]
DVB: ASCII paths, utf8_open() provides close-on-exec

11 years agodc1394: path coming from MRL, need utf8_open()
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:28:29 +0000 (23:28 +0300)]
dc1394: path coming from MRL, need utf8_open()

11 years agorand: ASCII path, use utf8_open for close-on-exec
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:40:33 +0000 (23:40 +0300)]
rand: ASCII path, use utf8_open for close-on-exec

11 years agoOSS: use utf8_open() for O_CLOEXEC
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:20:59 +0000 (23:20 +0300)]
OSS: use utf8_open() for O_CLOEXEC

11 years agoDVB: use utf8_open() so we get O_CLOEXEC right
Rémi Denis-Courmont [Sat, 17 Oct 2009 20:20:09 +0000 (23:20 +0300)]
DVB: use utf8_open() so we get O_CLOEXEC right

11 years agoxdg-screensaver plugin
Rémi Denis-Courmont [Sat, 17 Oct 2009 18:41:01 +0000 (21:41 +0300)]
xdg-screensaver plugin

11 years agoUse inhibit plugin
Rémi Denis-Courmont [Sat, 17 Oct 2009 18:12:44 +0000 (21:12 +0300)]
Use inhibit plugin

TODO:
 - only inhibit screen saver when input is *not* paused.

11 years agovlc_inhibit_t: plugin type for screen saver inhibition
Rémi Denis-Courmont [Sat, 17 Oct 2009 18:01:57 +0000 (21:01 +0300)]
vlc_inhibit_t: plugin type for screen saver inhibition

11 years agovout_window_t: privatize module pointer
Rémi Denis-Courmont [Sat, 17 Oct 2009 17:40:55 +0000 (20:40 +0300)]
vout_window_t: privatize module pointer

11 years agoProvide a type name for window objects
Rémi Denis-Courmont [Sat, 17 Oct 2009 17:34:08 +0000 (20:34 +0300)]
Provide a type name for window objects

11 years agokatsomo.lua: add code to handle both treeId and progId in url
Ilkka Ollakka [Sat, 17 Oct 2009 17:29:39 +0000 (20:29 +0300)]
katsomo.lua: add code to handle both treeId and progId in url

11 years agoshout: Change the scope of the iteration variable.
Pierre d'Herbemont [Sat, 17 Oct 2009 16:58:39 +0000 (18:58 +0200)]
shout: Change the scope of the iteration variable.

Pointed by jb.

11 years agoshout: Enable deinterlace=On for freebox channels.
Pierre d'Herbemont [Sat, 17 Oct 2009 16:41:11 +0000 (18:41 +0200)]
shout: Enable deinterlace=On for freebox channels.

We could probably have deinterlace=Auto, as it seems to work reliably enough on freebox channels.

11 years agoHAL is removed
Rémi Denis-Courmont [Sat, 17 Oct 2009 15:24:28 +0000 (18:24 +0300)]
HAL is removed

11 years agoRemove HAL support
Rémi Denis-Courmont [Sat, 17 Oct 2009 15:18:55 +0000 (18:18 +0300)]
Remove HAL support

HAL is officially deprecated. The new udev discs module provide the same
functionality in VLC. Moreover, the plugin was waking up the CPU at
regular intervals. Last, InitDeviceValues seemed to cause problems with
wrong disc paths being saved to vlcrc for some people

11 years agoudev: preempt cancellation
Rémi Denis-Courmont [Sat, 17 Oct 2009 14:59:09 +0000 (17:59 +0300)]
udev: preempt cancellation

11 years agoudev: handle "change" action properly, fix disc ejection/insertion
Rémi Denis-Courmont [Sat, 17 Oct 2009 14:57:08 +0000 (17:57 +0300)]
udev: handle "change" action properly, fix disc ejection/insertion

11 years agoudev: item type depends on the subsystem, not always "card"
Rémi Denis-Courmont [Sat, 17 Oct 2009 14:51:28 +0000 (17:51 +0300)]
udev: item type depends on the subsystem, not always "card"

11 years agoudev: refactor (binary search tree)
Rémi Denis-Courmont [Sat, 17 Oct 2009 14:49:56 +0000 (17:49 +0300)]
udev: refactor (binary search tree)

11 years agoaudioscrobbler: reset pause start counter when changing state
Rafaël Carré [Sat, 17 Oct 2009 13:24:46 +0000 (15:24 +0200)]
audioscrobbler: reset pause start counter when changing state

refs #3089

11 years agoudev: check for correct libudev version
Rémi Denis-Courmont [Sat, 17 Oct 2009 12:45:14 +0000 (15:45 +0300)]
udev: check for correct libudev version

11 years agoFully privatize vlc_sd_internal_t
Rémi Denis-Courmont [Sat, 17 Oct 2009 11:50:17 +0000 (14:50 +0300)]
Fully privatize vlc_sd_internal_t

11 years agoQt4 sout: convert option to UTF-8 once, not twice (fixes: #3077)
Rémi Denis-Courmont [Sat, 17 Oct 2009 09:07:15 +0000 (12:07 +0300)]
Qt4 sout: convert option to UTF-8 once, not twice (fixes: #3077)

11 years agoRemove unused LIBPOSTPROC_POSTPROC_H
Rémi Denis-Courmont [Sat, 17 Oct 2009 08:30:34 +0000 (11:30 +0300)]
Remove unused LIBPOSTPROC_POSTPROC_H

11 years agoudev: partial support for optical discs
Rémi Denis-Courmont [Fri, 16 Oct 2009 19:09:06 +0000 (22:09 +0300)]
udev: partial support for optical discs

It should work with CDDA, DVD and Blu-rays, but I only tested DVD.

FIXME: This does not detect media change (eject/insert) properly yet.

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

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

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

11 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

11 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

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

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

11 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

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

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

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

11 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`

11 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

11 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

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

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

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

11 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

11 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

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

11 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

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>