vlc.git
9 years agoFix sout-switcher compilation
Rémi Duraffort [Sat, 3 Sep 2011 08:34:47 +0000 (10:34 +0200)]
Fix sout-switcher compilation

9 years agomp4: fix printf formating
Rémi Duraffort [Mon, 8 Aug 2011 22:23:18 +0000 (00:23 +0200)]
mp4: fix printf formating

9 years agoaccess/alsa.c: Simplify demux loop.
Jean-Paul Saman [Mon, 30 May 2011 12:17:41 +0000 (14:17 +0200)]
access/alsa.c: Simplify demux loop.
(cherry picked from commit d3dd902828854d30b7b39c5e8147152ec6d63289)

9 years agoaccess/alsa.c: Cleanup
Jean-Paul Saman [Thu, 12 May 2011 09:12:55 +0000 (11:12 +0200)]
access/alsa.c: Cleanup

No functional changes.
(cherry picked from commit bb9c939672a915df2de9acdf83a08298ddd483da)

9 years agoaccess/alsa.c: Todays capture cards support more than one format for audio capturing.
Jean-Paul Saman [Thu, 12 May 2011 09:07:34 +0000 (11:07 +0200)]
access/alsa.c: Todays capture cards support more than one format for audio capturing.
(cherry picked from commit fb46b4a117c51b4a352b739a9cc568636598bc5b)

9 years agoaccess/alsa.c: simplify error recovery when capturing
Jean-Paul Saman [Fri, 2 Sep 2011 14:43:34 +0000 (16:43 +0200)]
access/alsa.c: simplify error recovery when capturing

Use highlevel function snd_pcm_recover() the recover from error states.

9 years agoaccess/alsa.c: Read first before using snd_pcm_wait(), just like arecord does.
Jean-Paul Saman [Thu, 7 Apr 2011 15:29:22 +0000 (17:29 +0200)]
access/alsa.c: Read first before using snd_pcm_wait(), just like arecord does.

Read first before using snd_pcm_wait(), just like arecord does.
(cherry picked from commit 4b0e0dcd63952c5ef466742b9930ac5632ac8bd3)

9 years agopackage: no need to look in src/
Pierre Ynard [Sat, 3 Sep 2011 01:55:07 +0000 (03:55 +0200)]
package: no need to look in src/

9 years agopackage: look for libvlc in lib/
Pierre Ynard [Sat, 3 Sep 2011 01:06:57 +0000 (03:06 +0200)]
package: look for libvlc in lib/

9 years agolibvlc: distribute libvlc_version.h.in
Pierre Ynard [Sat, 3 Sep 2011 00:31:23 +0000 (02:31 +0200)]
libvlc: distribute libvlc_version.h.in

9 years agoV4L2: distribute missing header file
Pierre Ynard [Sat, 3 Sep 2011 00:03:51 +0000 (02:03 +0200)]
V4L2: distribute missing header file

9 years agoUseless includes
Rémi Denis-Courmont [Thu, 1 Sep 2011 19:52:45 +0000 (22:52 +0300)]
Useless includes

9 years agoSplit V4L2 plug-in in multiple files
Rémi Denis-Courmont [Thu, 1 Sep 2011 19:51:53 +0000 (22:51 +0300)]
Split V4L2 plug-in in multiple files

9 years agoTypo
Rémi Denis-Courmont [Thu, 1 Sep 2011 19:28:06 +0000 (22:28 +0300)]
Typo

9 years agoPVR: remove V4L1
Rémi Denis-Courmont [Thu, 1 Sep 2011 19:15:59 +0000 (22:15 +0300)]
PVR: remove V4L1

9 years agoV4L2: do not retain device path after initialization
Rémi Denis-Courmont [Thu, 1 Sep 2011 18:14:41 +0000 (21:14 +0300)]
V4L2: do not retain device path after initialization

9 years agoDo not keep some V4L2 useless settings after initialization
Rémi Denis-Courmont [Thu, 1 Sep 2011 17:40:17 +0000 (20:40 +0300)]
Do not keep some V4L2 useless settings after initialization

9 years agoClean --v4l2-set-ctrls up
Rémi Denis-Courmont [Thu, 1 Sep 2011 17:36:52 +0000 (20:36 +0300)]
Clean --v4l2-set-ctrls up

9 years agoEnumerate V4L2 audio inputs correctly and do not store unused infos
Rémi Denis-Courmont [Thu, 1 Sep 2011 18:11:48 +0000 (21:11 +0300)]
Enumerate V4L2 audio inputs correctly and do not store unused infos

9 years agoRename i_audio_mode to i_tuner_audio_mode
Rémi Denis-Courmont [Thu, 1 Sep 2011 18:11:06 +0000 (21:11 +0300)]
Rename i_audio_mode to i_tuner_audio_mode

i_audio_mode should be used for the audio input mode (if ever supported).

9 years agoDo not keep table of all V4L2 tuners, only tuner index and type
Rémi Denis-Courmont [Thu, 1 Sep 2011 17:56:31 +0000 (20:56 +0300)]
Do not keep table of all V4L2 tuners, only tuner index and type

Also do not enumerate every tuner two times when one is enough.

9 years agoOpen V4L2 node and initialize libv4l2 only once
Rémi Denis-Courmont [Thu, 1 Sep 2011 17:30:16 +0000 (20:30 +0300)]
Open V4L2 node and initialize libv4l2 only once

9 years agoSelect V4L2 input before standard as per specification
Rémi Denis-Courmont [Thu, 1 Sep 2011 17:21:31 +0000 (20:21 +0300)]
Select V4L2 input before standard as per specification

9 years agoDo not keep V4L2 input table in memory and fail on invalid input
Rémi Denis-Courmont [Thu, 1 Sep 2011 17:18:23 +0000 (20:18 +0300)]
Do not keep V4L2 input table in memory and fail on invalid input

The table is not needed. Furthermore, each input is now enumerated
once rather than twice.

9 years agov4l2: use var_LocationParse()
Rémi Denis-Courmont [Thu, 1 Sep 2011 16:44:32 +0000 (19:44 +0300)]
v4l2: use var_LocationParse()

9 years agoMark as safe v4l2 options already allowed by ParseMRL()
Rémi Denis-Courmont [Thu, 1 Sep 2011 16:43:38 +0000 (19:43 +0300)]
Mark as safe v4l2 options already allowed by ParseMRL()

9 years agoDrop v4l2 access priority to zero to avoid redumdant load/probe
Rémi Denis-Courmont [Thu, 1 Sep 2011 16:34:13 +0000 (19:34 +0300)]
Drop v4l2 access priority to zero to avoid redumdant load/probe

Maybe one day we will support autodetecting V4L2 device nodes
(as file://) but until then...

9 years agoObsolete --v4l2-io and auto-detect the correct setting
Rémi Denis-Courmont [Thu, 1 Sep 2011 16:24:09 +0000 (19:24 +0300)]
Obsolete --v4l2-io and auto-detect the correct setting

For the time being, mmap() is used if supported, otherwise read() if
supported, otherwise fail. This makes the user pointer method dead
code. It might make sense to revive it on capable device drivers to
support zero copy, but until then that method is no better than mmap().

9 years agoSwitch v4l2-standard from integer to string, add missing choices
Rémi Denis-Courmont [Thu, 1 Sep 2011 15:39:06 +0000 (18:39 +0300)]
Switch v4l2-standard from integer to string, add missing choices

Also an integer values in the MRL (v4l2://standard=XXX) is now
interpreted as a v4l2_std_id bit field, just like the command line
option (--v4l2-standard=XXX). This fixes an out-of-bound read with
large values.

9 years agoV4L2: do not probe and keep video standard
Rémi Denis-Courmont [Thu, 1 Sep 2011 14:44:54 +0000 (17:44 +0300)]
V4L2: do not probe and keep video standard

Keeping the list of video standards in memory was almost pure waste:
The whole data set was only used to print one debug message.

The list of supported standards depends on the selected input.
So listing the standards during probe was wrong in any case.

9 years agoImprove access initialization macro safety
Rémi Denis-Courmont [Thu, 1 Sep 2011 18:14:20 +0000 (21:14 +0300)]
Improve access initialization macro safety

9 years agoFix race between installation and execution of vlc-cache-gen
Rémi Denis-Courmont [Thu, 1 Sep 2011 17:07:41 +0000 (20:07 +0300)]
Fix race between installation and execution of vlc-cache-gen

9 years agofix folder meta_engine (typo)
Rafaël Carré [Thu, 1 Sep 2011 04:34:34 +0000 (00:34 -0400)]
fix folder meta_engine (typo)

9 years agoAndroid configure: actually use NEON in NEON build
Jean-Baptiste Kempf [Thu, 1 Sep 2011 00:12:25 +0000 (02:12 +0200)]
Android configure: actually use NEON in NEON build

Oops :D

9 years agoConfigure: fix typo
Jean-Baptiste Kempf [Wed, 31 Aug 2011 22:24:03 +0000 (00:24 +0200)]
Configure: fix typo

9 years agoCheck for Linux DVB version 5
Rémi Denis-Courmont [Wed, 31 Aug 2011 14:06:50 +0000 (17:06 +0300)]
Check for Linux DVB version 5

This should fix compilation with kernel headers 2.6.27 and older
(obviously not tested).

9 years agograin: remove callback before destroying callback data
Rémi Denis-Courmont [Wed, 31 Aug 2011 16:56:27 +0000 (19:56 +0300)]
grain: remove callback before destroying callback data

9 years agogradfun: remove callback before destroying callback data
Rémi Denis-Courmont [Wed, 31 Aug 2011 16:56:07 +0000 (19:56 +0300)]
gradfun: remove callback before destroying callback data

9 years agoRemove no-op variable callback
Rémi Denis-Courmont [Wed, 31 Aug 2011 16:50:23 +0000 (19:50 +0300)]
Remove no-op variable callback

9 years agoV4L2: remove unused parameters
Rémi Denis-Courmont [Wed, 31 Aug 2011 16:36:23 +0000 (19:36 +0300)]
V4L2: remove unused parameters

9 years agoV4L2: always call libv4l2 when available instead of pointers
Rémi Denis-Courmont [Wed, 31 Aug 2011 15:29:21 +0000 (18:29 +0300)]
V4L2: always call libv4l2 when available instead of pointers

libv4l2 directly wraps the system call if it does not know the file
descriptor. There is no need for VLC to reinvent the wheel.

9 years agoAvoid obsolete V4L2_ENABLE_ENUM_FMT_EMULATION flag
Rémi Denis-Courmont [Wed, 31 Aug 2011 15:26:06 +0000 (18:26 +0300)]
Avoid obsolete V4L2_ENABLE_ENUM_FMT_EMULATION flag

"libv4l *always* reports emulated formats to ENUM_FMT,
 except when conversion is disabled."

9 years agoV4L2 partial cleanup
Rémi Denis-Courmont [Wed, 31 Aug 2011 14:20:34 +0000 (17:20 +0300)]
V4L2 partial cleanup

9 years agoDo not use v4l2_open() since v4l2_open_fd() is used
Rémi Denis-Courmont [Wed, 31 Aug 2011 14:42:01 +0000 (17:42 +0300)]
Do not use v4l2_open() since v4l2_open_fd() is used

When libv4l2 is used:
 * open the device with close-on-exec descriptor flag,
 * convert from UTF-8 to local path.

9 years agoA-law and µ-law are 8-bits too
Rémi Denis-Courmont [Wed, 31 Aug 2011 14:53:19 +0000 (17:53 +0300)]
A-law and µ-law are 8-bits too

9 years agoSimplify x509 credential loading and allow symbolic links
Rémi Denis-Courmont [Wed, 31 Aug 2011 14:45:15 +0000 (17:45 +0300)]
Simplify x509 credential loading and allow symbolic links

9 years agoRemove useless declaration
Rémi Denis-Courmont [Wed, 31 Aug 2011 14:18:29 +0000 (17:18 +0300)]
Remove useless declaration

9 years agoCorrect requirements for clock_nanosleep()
Rémi Denis-Courmont [Wed, 31 Aug 2011 13:52:21 +0000 (16:52 +0300)]
Correct requirements for clock_nanosleep()

9 years agosrc/interface: compilation fix
Felix Paul Kühne [Wed, 31 Aug 2011 17:46:18 +0000 (19:46 +0200)]
src/interface: compilation fix

9 years agoMissing file
Rémi Denis-Courmont [Wed, 31 Aug 2011 14:17:52 +0000 (17:17 +0300)]
Missing file

9 years agofile access: rename callbacks
Rafaël Carré [Wed, 31 Aug 2011 04:19:58 +0000 (00:19 -0400)]
file access: rename callbacks

avoid having extern Open() symbol defined multiple times in static builds

9 years agoluahttp, equalizer: Fix warnings
Akash Mehrotra [Tue, 30 Aug 2011 17:47:38 +0000 (23:17 +0530)]
luahttp, equalizer: Fix warnings

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoUpdate libvlc.la path and factorize test Makefile
Rémi Denis-Courmont [Tue, 30 Aug 2011 20:57:50 +0000 (23:57 +0300)]
Update libvlc.la path and factorize test Makefile

9 years agoBuild modules before libvlc and VLC
Rémi Denis-Courmont [Tue, 30 Aug 2011 20:46:32 +0000 (23:46 +0300)]
Build modules before libvlc and VLC

The largest change here consists of building the plug-ins cache after
vlc-cache-gen (instead of after modules previously).

9 years agoMove src/control/ to lib/
Rémi Denis-Courmont [Tue, 30 Aug 2011 20:40:14 +0000 (23:40 +0300)]
Move src/control/ to lib/

9 years agoDShow: fix compilation after change on caching
Jean-Baptiste Kempf [Tue, 30 Aug 2011 20:04:15 +0000 (22:04 +0200)]
DShow: fix compilation after change on caching

9 years agoHack to fix Windows build
Rémi Denis-Courmont [Tue, 30 Aug 2011 19:45:33 +0000 (22:45 +0300)]
Hack to fix Windows build

Better patch welcome

9 years agoXml: added empty element detection
Christopher Mueller [Tue, 30 Aug 2011 18:35:12 +0000 (11:35 -0700)]
Xml: added empty element detection

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agoAdd deprecated alias for the most common caching values
Rémi Denis-Courmont [Tue, 30 Aug 2011 18:05:01 +0000 (21:05 +0300)]
Add deprecated alias for the most common caching values

Note that VLC does not support more than one alias per item.

9 years agoRework directory order
Rémi Denis-Courmont [Sun, 28 Aug 2011 20:15:38 +0000 (23:15 +0300)]
Rework directory order

9 years agoMove libs/srtp/* to modules/access/rtp/
Rémi Denis-Courmont [Tue, 30 Aug 2011 17:02:50 +0000 (20:02 +0300)]
Move libs/srtp/* to modules/access/rtp/

9 years agoMove libs/loader to modules/codec/loader
Rémi Denis-Courmont [Tue, 30 Aug 2011 16:55:18 +0000 (19:55 +0300)]
Move libs/loader to modules/codec/loader

9 years agoMove libs/unzip to modules/access/zip/unzip
Rémi Denis-Courmont [Tue, 30 Aug 2011 16:48:57 +0000 (19:48 +0300)]
Move libs/unzip to modules/access/zip/unzip

9 years agobootstrap reorder stuff to simplify
Rémi Denis-Courmont [Tue, 30 Aug 2011 16:32:56 +0000 (19:32 +0300)]
bootstrap reorder stuff to simplify

9 years agoGenerate Makefile.am in directories with Modules.am
Rémi Denis-Courmont [Tue, 30 Aug 2011 16:19:53 +0000 (19:19 +0300)]
Generate Makefile.am in directories with Modules.am

...rather than in all modules/* directories

9 years agoDo not override ABOUT-NLS twice
Rémi Denis-Courmont [Tue, 30 Aug 2011 16:23:45 +0000 (19:23 +0300)]
Do not override ABOUT-NLS twice

9 years agoUpdate user interface for caching unification
Rémi Denis-Courmont [Tue, 30 Aug 2011 15:30:23 +0000 (18:30 +0300)]
Update user interface for caching unification

9 years agoUnify (ACCESS|DEMUX)_GET_PTS_DELAY
Rémi Denis-Courmont [Tue, 30 Aug 2011 15:28:20 +0000 (18:28 +0300)]
Unify (ACCESS|DEMUX)_GET_PTS_DELAY

9 years agoConstrain caching to a positive value no longer than one minute
Rémi Denis-Courmont [Tue, 30 Aug 2011 14:45:19 +0000 (17:45 +0300)]
Constrain caching to a positive value no longer than one minute

9 years agohttplua: update readme
Akash Mehrotra [Thu, 18 Aug 2011 13:26:25 +0000 (18:56 +0530)]
httplua: update readme

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoLUA: EQ Preset setter
Akash Mehrotra [Tue, 30 Aug 2011 17:39:41 +0000 (19:39 +0200)]
LUA: EQ Preset setter

9 years agoLUA: add addsubtitle control
Akash Mehrotra [Mon, 15 Aug 2011 07:57:11 +0000 (13:27 +0530)]
LUA: add addsubtitle control

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoLua: httprequests.lua -- formatting fixes
Akash Mehrotra [Tue, 30 Aug 2011 17:33:41 +0000 (19:33 +0200)]
Lua: httprequests.lua -- formatting fixes

9 years agoLUA: Enable/Disable EQ, fix EQ input validation, and presets getter
Akash Mehrotra [Sun, 7 Aug 2011 18:19:01 +0000 (23:49 +0530)]
LUA: Enable/Disable EQ, fix EQ input validation, and presets getter

move equalizer.xml to httprequests.lua
Use a table to return equalizer band values

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoLUA: Aspect Ratio
Akash Mehrotra [Sun, 7 Aug 2011 13:03:50 +0000 (18:33 +0530)]
LUA: Aspect Ratio

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoLUA: Display video settings
Akash Mehrotra [Thu, 4 Aug 2011 12:21:27 +0000 (17:51 +0530)]
LUA: Display video settings

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoLUA: Display list of active audio filters
Akash Mehrotra [Thu, 4 Aug 2011 12:21:03 +0000 (17:51 +0530)]
LUA: Display list of active audio filters

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoSupport an alternative fourCC for NellyMoser
Jean-Baptiste Kempf [Tue, 30 Aug 2011 14:50:11 +0000 (16:50 +0200)]
Support an alternative fourCC for NellyMoser

9 years agoFix compilation
Jean-Baptiste Kempf [Tue, 30 Aug 2011 14:49:04 +0000 (16:49 +0200)]
Fix compilation

9 years agoRevert "FromLocaleDup(): accept NULL input (and return NULL)"
Rafaël Carré [Tue, 30 Aug 2011 12:54:11 +0000 (08:54 -0400)]
Revert "FromLocaleDup(): accept NULL input (and return NULL)"

This reverts commit 3ab2f937b7f2dbd77e4cd161ef926ecb07dc147b.

9 years agoconfig_GetTypeDir() : don't call strlen(NULL) if HOME is not set
Rafaël Carré [Tue, 30 Aug 2011 12:53:22 +0000 (08:53 -0400)]
config_GetTypeDir() : don't call strlen(NULL) if HOME is not set

9 years agoconfig_Get*Dir() : don't call FromLocaleDup(NULL)
Rafaël Carré [Tue, 30 Aug 2011 12:52:49 +0000 (08:52 -0400)]
config_Get*Dir() : don't call FromLocaleDup(NULL)

9 years agoAndroid configure: remove outdated flag
Jean-Baptiste Kempf [Tue, 30 Aug 2011 09:53:41 +0000 (11:53 +0200)]
Android configure: remove outdated flag

9 years agoandroid/configure.sh: enable taglib & matroska
Rafaël Carré [Tue, 30 Aug 2011 03:37:23 +0000 (23:37 -0400)]
android/configure.sh: enable taglib & matroska

9 years agoold contribs: build taglib by default for android
Rafaël Carré [Tue, 30 Aug 2011 03:21:50 +0000 (23:21 -0400)]
old contribs: build taglib by default for android

9 years agoold contribs: Use sane compilation flags for android
Rafaël Carré [Tue, 30 Aug 2011 03:20:54 +0000 (23:20 -0400)]
old contribs: Use sane compilation flags for android

9 years agoandroid/configure.sh: sanitize flags
Rafaël Carré [Tue, 30 Aug 2011 03:18:59 +0000 (23:18 -0400)]
android/configure.sh: sanitize flags

No need for -Wl,-shared or -rpath-link
No need for -lc -lgcc -ld, especially when using -nostdlib
Use --sysroot to point compiler to android headers/libs
Rename some shell variables
Move enabled modules at the top of the options
No need to set PATH, we give the absolute path for compiler

9 years agoold contribs: enable ebml/matroska for android, disable live555
Rafaël Carré [Tue, 30 Aug 2011 03:18:16 +0000 (23:18 -0400)]
old contribs: enable ebml/matroska for android, disable live555

9 years agoold contribs: fix c++ compile for android
Rafaël Carré [Tue, 30 Aug 2011 03:14:40 +0000 (23:14 -0400)]
old contribs: fix c++ compile for android

9 years agoold contribs: remove old libebml/matroska hack
Rafaël Carré [Tue, 30 Aug 2011 03:14:08 +0000 (23:14 -0400)]
old contribs: remove old libebml/matroska hack

9 years agoFromLocaleDup(): accept NULL input (and return NULL)
Rafaël Carré [Tue, 30 Aug 2011 02:07:25 +0000 (22:07 -0400)]
FromLocaleDup(): accept NULL input (and return NULL)

9 years agonon-neon android build: use armv6
Rafaël Carré [Sun, 14 Aug 2011 20:56:08 +0000 (16:56 -0400)]
non-neon android build: use armv6

there should not be any phones using an armv4 cpu

9 years agoold contribs: make sure live directory is writable for patching
Rafaël Carré [Sun, 14 Aug 2011 01:05:19 +0000 (21:05 -0400)]
old contribs: make sure live directory is writable for patching

9 years agoOld contribs: don't try to build a shared library when static build is specified
Rafaël Carré [Sun, 14 Aug 2011 01:05:45 +0000 (21:05 -0400)]
Old contribs: don't try to build a shared library when static build is specified

This applies to the C bindings (that we don't use) for taglib

9 years agoQt: don't add empty groupbox in preferences
Jean-Baptiste Kempf [Mon, 29 Aug 2011 23:47:42 +0000 (01:47 +0200)]
Qt: don't add empty groupbox in preferences

This was the case with the empty section in ddummy

9 years agoGoom: specify the speed integer range
Jean-Baptiste Kempf [Mon, 29 Aug 2011 23:13:40 +0000 (01:13 +0200)]
Goom: specify the speed integer range

9 years agoWin32 Waveout: reorder options
Jean-Baptiste Kempf [Mon, 29 Aug 2011 23:08:18 +0000 (01:08 +0200)]
Win32 Waveout: reorder options

9 years agoFile Aout: reorder options
Jean-Baptiste Kempf [Mon, 29 Aug 2011 23:07:41 +0000 (01:07 +0200)]
File Aout: reorder options

9 years agoFile audio output: limit the number of channels
Jean-Baptiste Kempf [Mon, 29 Aug 2011 23:05:07 +0000 (01:05 +0200)]
File audio output: limit the number of channels

9 years agoCosmetic
Rémi Denis-Courmont [Mon, 29 Aug 2011 19:11:56 +0000 (22:11 +0300)]
Cosmetic