vlc.git
8 years agoUpdate programming part of AUTHORS
Jean-Baptiste Kempf [Mon, 12 Mar 2012 14:34:22 +0000 (15:34 +0100)]
Update programming part of AUTHORS

8 years agoScripts to help keep up-to-date AUTHORS file
Christoph Miebach [Mon, 12 Mar 2012 14:20:02 +0000 (15:20 +0100)]
Scripts to help keep up-to-date AUTHORS file

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoQt: limit the size of the comboBox for network open.
Jean-Baptiste Kempf [Mon, 12 Mar 2012 12:34:59 +0000 (13:34 +0100)]
Qt: limit the size of the comboBox for network open.

It behaves badly on Win32

8 years agovlc_block_helper.h: fix weird indentation.
Frédéric Yhuel [Wed, 7 Mar 2012 16:19:43 +0000 (17:19 +0100)]
vlc_block_helper.h: fix weird indentation.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agostereo_widen : filter to enhance stereo
Sukrit Sangwan [Sun, 11 Mar 2012 01:59:12 +0000 (17:59 -0800)]
stereo_widen : filter to enhance stereo

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoRegister 669 extension
Jean-Baptiste Kempf [Mon, 12 Mar 2012 09:17:36 +0000 (10:17 +0100)]
Register 669 extension

8 years agoContribs: update libdvdcss to 1.2.12
Jean-Baptiste Kempf [Sun, 11 Mar 2012 23:22:47 +0000 (00:22 +0100)]
Contribs: update libdvdcss to 1.2.12

8 years agodecoder: stricter assertion
Rémi Denis-Courmont [Sun, 11 Mar 2012 21:02:48 +0000 (23:02 +0200)]
decoder: stricter assertion

8 years agodecoder: pause aout at creation in corner case (fix #6369)
Rémi Denis-Courmont [Sun, 11 Mar 2012 20:58:10 +0000 (22:58 +0200)]
decoder: pause aout at creation in corner case (fix #6369)

If pausing the decoder races with setting up the audio output pipeline,
the decoder can end up already paused when the audio output is created.

The audio output insists on a strict start -> (pause -> resume ->)*
(pause ->)? stop series of state transition. So it must be paused
explicitly in this corner case.

I have not investigated whether this problem affects the video output
but this seems very likely too.

8 years agov4l2: load libv4l2 dynamically where available
Rémi Denis-Courmont [Sun, 11 Mar 2012 20:14:38 +0000 (22:14 +0200)]
v4l2: load libv4l2 dynamically where available

This removes the build-time and install-time dependency.

8 years agoQt: do not loose fullscreen controller after customization
Jean-Baptiste Kempf [Sun, 11 Mar 2012 17:00:27 +0000 (18:00 +0100)]
Qt: do not loose fullscreen controller after customization

Close #6116

8 years agomacosx vout: also do crop if macosx-video-autoresize is false
David Fuhrmann [Sun, 11 Mar 2012 17:40:10 +0000 (18:40 +0100)]
macosx vout: also do crop if macosx-video-autoresize is false

8 years agoLinux DVB: run-time fallback from 5.5 to 5.0 frontend probing
Rémi Denis-Courmont [Sun, 11 Mar 2012 17:15:34 +0000 (19:15 +0200)]
Linux DVB: run-time fallback from 5.5 to 5.0 frontend probing

This enables running VLC to run on a kernel that does not support
version 5.5 of the Linux DVB API (i.e. Linux < 3.3), even if VLC was
compiled with more recent kernel headers.

Unfortunately, this is of limited use. In practice, the running kernel
version is more likely to be newer than the kernel headers, than to be
older. In that case, VLC will print an explicit error.

8 years agoLinux DVB: show libvlc and kernel API versions in debug
Rémi Denis-Courmont [Sun, 11 Mar 2012 16:55:37 +0000 (18:55 +0200)]
Linux DVB: show libvlc and kernel API versions in debug

8 years agoRevert "bluray: properly suppport FIRST_TITLE & TOP_MENU titles"
Hugo Beauzée-Luyssen [Sun, 11 Mar 2012 16:10:51 +0000 (17:10 +0100)]
Revert "bluray: properly suppport FIRST_TITLE & TOP_MENU titles"

This reverts commit 6afa23b2dd9e3f526aa59c5d1ee727d2ce249e78.
This was breaking length computing, thus breaking seeking.

Conflicts:

modules/access/bluray.c

8 years agobluray: Fix seekpoint updating.
Hugo Beauzée-Luyssen [Sun, 11 Mar 2012 15:57:33 +0000 (16:57 +0100)]
bluray: Fix seekpoint updating.

8 years agoDTV: deal with "cable", "terrestrial" and "satellite" scheme right
Rémi Denis-Courmont [Sun, 11 Mar 2012 16:05:21 +0000 (18:05 +0200)]
DTV: deal with "cable", "terrestrial" and "satellite" scheme right

This requires Linux DVBv5.5.

8 years agoLinux DVB: support for multi-standard frontends with API v5.5
Rémi Denis-Courmont [Sun, 11 Mar 2012 15:55:34 +0000 (17:55 +0200)]
Linux DVB: support for multi-standard frontends with API v5.5

8 years agoLinux DVB: distinguish Clear QAM from terrestrial ATSC
Rémi Denis-Courmont [Sun, 11 Mar 2012 15:46:44 +0000 (17:46 +0200)]
Linux DVB: distinguish Clear QAM from terrestrial ATSC

This will be needed for proper DVBv5.5 support.

8 years agoLinux DVB: factorize and revector frontend probing
Rémi Denis-Courmont [Sun, 11 Mar 2012 15:01:20 +0000 (17:01 +0200)]
Linux DVB: factorize and revector frontend probing

8 years agoLinux DVB: small typo
Rémi Denis-Courmont [Sun, 11 Mar 2012 14:29:37 +0000 (16:29 +0200)]
Linux DVB: small typo

8 years agoLinux DVB: fix format string
Rémi Denis-Courmont [Sun, 11 Mar 2012 14:27:07 +0000 (16:27 +0200)]
Linux DVB: fix format string

8 years agoLinux DVB: add an assertion
Rémi Denis-Courmont [Sun, 11 Mar 2012 14:22:25 +0000 (16:22 +0200)]
Linux DVB: add an assertion

8 years agomacosx: fixed 'Open File...' in the subtitles sub menu (close #6352)
Felix Paul Kühne [Sun, 11 Mar 2012 15:08:19 +0000 (16:08 +0100)]
macosx: fixed 'Open File...' in the subtitles sub menu (close #6352)

8 years agobluray: Don't fail silently.
Rafaël Carré [Sun, 11 Mar 2012 14:57:31 +0000 (15:57 +0100)]
bluray: Don't fail silently.

8 years agobluray: Fetching meta info isn't mandatory.
Hugo Beauzée-Luyssen [Sun, 11 Mar 2012 14:50:49 +0000 (15:50 +0100)]
bluray: Fetching meta info isn't mandatory.

This should fix bluray playback on windows.

8 years agomacosx_vout: implemented crop support (close #6080)
Felix Paul Kühne [Sun, 11 Mar 2012 14:30:29 +0000 (15:30 +0100)]
macosx_vout: implemented crop support (close #6080)

note that this patch includes a hack to revert to the 'Default' state correctly

8 years agoMove vlc.misc.*dir to vlc.config.*dir
Rémi Denis-Courmont [Sun, 11 Mar 2012 12:29:54 +0000 (14:29 +0200)]
Move vlc.misc.*dir to vlc.config.*dir

8 years agocontribs: build libbluray with libxml2.
Konstantin Pavlov [Sun, 11 Mar 2012 08:39:07 +0000 (12:39 +0400)]
contribs: build libbluray with libxml2.

Required for metadata support.

8 years agoRemove bashism
Rafaël Carré [Sat, 10 Mar 2012 22:26:19 +0000 (17:26 -0500)]
Remove bashism

8 years agomacosx: disable native fullscreen checkbox in prefs if a change would have no effect
David Fuhrmann [Sat, 10 Mar 2012 19:36:29 +0000 (20:36 +0100)]
macosx: disable native fullscreen checkbox in prefs if a change would have no effect

8 years agomacosx: allow to hide the drop zone while the playlist is empty using an option-click...
Felix Paul Kühne [Sat, 10 Mar 2012 17:18:42 +0000 (18:18 +0100)]
macosx: allow to hide the drop zone while the playlist is empty using an option-click on the playlist toggle button (refs #6213)

8 years agobluray: Fix a memory leak introduced in previous commit.
Hugo Beauzée-Luyssen [Sat, 10 Mar 2012 14:58:10 +0000 (15:58 +0100)]
bluray: Fix a memory leak introduced in previous commit.

8 years agobluray: Check for read error when menu are enabled.
Hugo Beauzée-Luyssen [Sat, 10 Mar 2012 14:54:43 +0000 (15:54 +0100)]
bluray: Check for read error when menu are enabled.

This fixes crash with BD-J menu, if libbluray isn't built with java
support.

8 years agobluray: Check for bd_play failures.
Hugo Beauzée-Luyssen [Sat, 10 Mar 2012 14:52:23 +0000 (15:52 +0100)]
bluray: Check for bd_play failures.

8 years agoconfigure.ac: don't fail in x26410b if library not found by default
Ilkka Ollakka [Sat, 10 Mar 2012 11:03:43 +0000 (13:03 +0200)]
configure.ac: don't fail in x26410b if library not found by default

Only fail if user explicitly enabled x26410b option and suitable libraries
are not found.

8 years agoskins2: use localized hotkey strings
Rémi Denis-Courmont [Sat, 10 Mar 2012 10:46:57 +0000 (12:46 +0200)]
skins2: use localized hotkey strings

8 years agoQt4: show localized hotkey strings in preferences
Rémi Denis-Courmont [Sat, 10 Mar 2012 10:46:35 +0000 (12:46 +0200)]
Qt4: show localized hotkey strings in preferences

8 years agoProvisions for localized key code strings (refs #5974)
Rémi Denis-Courmont [Sat, 10 Mar 2012 10:42:53 +0000 (12:42 +0200)]
Provisions for localized key code strings (refs #5974)

8 years agox264 10-bit version into contribs
Ilkka Ollakka [Thu, 19 Jan 2012 10:52:05 +0000 (12:52 +0200)]
x264 10-bit version into contribs

8 years agox264.c: add x26410b-module for 10-bit encoding alongside normal 8-bit, supports only...
Ilkka Ollakka [Sat, 14 Jan 2012 21:13:02 +0000 (23:13 +0200)]
x264.c: add x26410b-module for 10-bit encoding alongside normal 8-bit, supports only static linking

8 years agomacosx: changed the playlist toggle button behavior (close #6213)
Felix Paul Kühne [Fri, 9 Mar 2012 17:41:16 +0000 (18:41 +0100)]
macosx: changed the playlist toggle button behavior (close #6213)

it behaves this way now:

- no video => toggle window minimization

- active video in main window => toggle playlist / video

- active detached video => toggle window minimization

- active video in main window, option click on button => toggle window minimization

8 years agomacosx: fixed DVD playback using libdvdread (close #6027)
Felix Paul Kühne [Fri, 9 Mar 2012 16:58:26 +0000 (17:58 +0100)]
macosx: fixed DVD playback using libdvdread (close #6027)

8 years agohls: Remove useless errno include.
Hugo Beauzée-Luyssen [Fri, 9 Mar 2012 16:41:39 +0000 (17:41 +0100)]
hls: Remove useless errno include.

8 years agohls: Fix floating-point value duration parsing.
Hugo Beauzée-Luyssen [Fri, 9 Mar 2012 15:36:50 +0000 (16:36 +0100)]
hls: Fix floating-point value duration parsing.

8 years agohls: Avoid using errno.
Hugo Beauzée-Luyssen [Fri, 9 Mar 2012 15:34:59 +0000 (16:34 +0100)]
hls: Avoid using errno.

8 years agohls: m3u8 parser should pass 0xD at line end
bbcallen [Fri, 9 Mar 2012 09:36:31 +0000 (17:36 +0800)]
hls: m3u8 parser should pass 0xD at line end

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
8 years agoContrib: Lame, forget the sha512 update file
Jean-Baptiste Kempf [Fri, 9 Mar 2012 13:04:48 +0000 (14:04 +0100)]
Contrib: Lame, forget the sha512 update file

8 years agomacosx: fixed playlist and close entries in the Window menu (close #6239)
Felix Paul Kühne [Fri, 9 Mar 2012 12:55:00 +0000 (13:55 +0100)]
macosx: fixed playlist and close entries in the Window menu (close #6239)

the playlist item automatically reveals the main window now, in case it is hidden. the close item correctly closes the detached video output window now, when using the gray ui style

8 years agolive555 : fix quicktime audio codec settings.
Sébastien Escudier [Fri, 9 Mar 2012 07:31:05 +0000 (08:31 +0100)]
live555 : fix quicktime audio codec settings.

8 years agosimple mixer: unduplicate channels definitions
Rémi Denis-Courmont [Thu, 8 Mar 2012 19:49:38 +0000 (21:49 +0200)]
simple mixer: unduplicate channels definitions

8 years agoUnduplicate WG4 channels order
Rémi Denis-Courmont [Thu, 8 Mar 2012 19:25:57 +0000 (21:25 +0200)]
Unduplicate WG4 channels order

8 years agosdi: no channels magic numbers
Rémi Denis-Courmont [Thu, 8 Mar 2012 19:15:27 +0000 (21:15 +0200)]
sdi: no channels magic numbers

8 years agohdsdi: no magic numbers for channels
Rémi Denis-Courmont [Thu, 8 Mar 2012 19:13:44 +0000 (21:13 +0200)]
hdsdi: no magic numbers for channels

8 years agoASF: correct debug/warning messages
Jean-Baptiste Kempf [Thu, 8 Mar 2012 17:02:03 +0000 (18:02 +0100)]
ASF: correct debug/warning messages

Empty function does not mean unknown guid

8 years agoASF: parse correctly advanced_mutual_exclusion types
Jean-Baptiste Kempf [Thu, 8 Mar 2012 16:26:11 +0000 (17:26 +0100)]
ASF: parse correctly advanced_mutual_exclusion types

8 years agoimprove mxpeg detection : there are some cases where the jpeg comment is not included
Sébastien Escudier [Thu, 8 Mar 2012 14:22:45 +0000 (15:22 +0100)]
improve mxpeg detection : there are some cases where the jpeg comment is not included

8 years agobluray: Minor refactoring.
Hugo Beauzée-Luyssen [Thu, 8 Mar 2012 13:45:41 +0000 (14:45 +0100)]
bluray: Minor refactoring.

8 years agobluray: Removing useless title management code.
Hugo Beauzée-Luyssen [Thu, 8 Mar 2012 12:03:14 +0000 (13:03 +0100)]
bluray: Removing useless title management code.

As pointed by fenrir, this is already handled by the core.

8 years agoSupport WMA Lossless with recent enough libavcodec
Jean-Baptiste Kempf [Thu, 8 Mar 2012 12:08:08 +0000 (13:08 +0100)]
Support WMA Lossless with recent enough libavcodec

8 years agoqt4: Adding support for bluray menus
Hugo Beauzée-Luyssen [Mon, 5 Mar 2012 17:54:11 +0000 (18:54 +0100)]
qt4: Adding support for bluray menus

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
8 years agoqt4: Open disc: cosmetics
Hugo Beauzée-Luyssen [Mon, 5 Mar 2012 17:54:10 +0000 (18:54 +0100)]
qt4: Open disc: cosmetics

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
8 years agoBluray: kill warnings
Jean-Baptiste Kempf [Thu, 8 Mar 2012 11:36:31 +0000 (12:36 +0100)]
Bluray: kill warnings

8 years agoBluray: cosmetics
Jean-Baptiste Kempf [Thu, 8 Mar 2012 11:33:03 +0000 (12:33 +0100)]
Bluray: cosmetics

8 years agobluray: properly suppport FIRST_TITLE & TOP_MENU titles
Hugo Beauzée-Luyssen [Thu, 8 Mar 2012 11:23:32 +0000 (12:23 +0100)]
bluray: properly suppport FIRST_TITLE & TOP_MENU titles

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agobluray: Store the meta informations in p_sys
Hugo Beauzée-Luyssen [Thu, 8 Mar 2012 11:16:33 +0000 (12:16 +0100)]
bluray: Store the meta informations in p_sys

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agobluray: protection against incorrect paths
Hugo Beauzée-Luyssen [Thu, 8 Mar 2012 11:13:37 +0000 (12:13 +0100)]
bluray: protection against incorrect paths

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agobluray: Handle mouse events
Hugo Beauzée-Luyssen [Thu, 8 Mar 2012 11:11:23 +0000 (12:11 +0100)]
bluray: Handle mouse events

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agobluray: Add support for overlay
Hugo Beauzée-Luyssen [Thu, 8 Mar 2012 10:51:42 +0000 (11:51 +0100)]
bluray: Add support for overlay

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoContribs: update LAME to 3.99.5 because of a .4 regression
Jean-Baptiste Kempf [Thu, 8 Mar 2012 10:53:25 +0000 (11:53 +0100)]
Contribs: update LAME to 3.99.5 because of a .4 regression

8 years agoMore mailmap fixes and simplifications
Christoph Miebach [Thu, 8 Mar 2012 10:12:22 +0000 (11:12 +0100)]
More mailmap fixes and simplifications

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoContribs: use mpc tarballs and not svn
Jean-Baptiste Kempf [Thu, 8 Mar 2012 09:37:06 +0000 (10:37 +0100)]
Contribs: use mpc tarballs and not svn

The svn has not moved in months

8 years agobluray: Hack to avoid crashing when changing title.
Hugo Beauzée-Luyssen [Thu, 8 Mar 2012 00:41:27 +0000 (01:41 +0100)]
bluray: Hack to avoid crashing when changing title.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agobluray: Prepare menu handling
Hugo Beauzée-Luyssen [Thu, 8 Mar 2012 00:36:45 +0000 (01:36 +0100)]
bluray: Prepare menu handling

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agobluray: Fixing a warning
Hugo Beauzée-Luyssen [Thu, 5 Jan 2012 22:03:59 +0000 (23:03 +0100)]
bluray: Fixing a warning

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agobluray: Adding some event handling basics.
Hugo Beauzée-Luyssen [Wed, 15 Feb 2012 21:14:05 +0000 (22:14 +0100)]
bluray: Adding some event handling basics.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoWin32 one-instance: fix mismatch in ABI on win64
Rafaël Carré [Wed, 7 Mar 2012 22:38:07 +0000 (17:38 -0500)]
Win32 one-instance: fix mismatch in ABI on win64

86f2f7329b1b4 changed string length storage from int to size_t but did
not update the receiving code.

Close #6084

8 years agoALSA: refine buffer / period parameters
Rémi Denis-Courmont [Wed, 7 Mar 2012 18:25:11 +0000 (20:25 +0200)]
ALSA: refine buffer / period parameters

We really need at least two periods: with only one period we could hit
a buffer underrun after a buffer overrun (a REALLY dumb failure...).
Then we have a favorite buffer size. Then we pick the least number of
periods to reduce wakeups (but at least 2 anyway).

8 years agoALSA: fix selecting the audio format
Rémi Denis-Courmont [Wed, 7 Mar 2012 18:07:01 +0000 (20:07 +0200)]
ALSA: fix selecting the audio format

If set_format() fails, the parameters are unrecoverable.
Use test_format() instead.

8 years agoSRC: default to fastest SinC
Rémi Denis-Courmont [Wed, 7 Mar 2012 17:29:42 +0000 (19:29 +0200)]
SRC: default to fastest SinC

It is good enough for normal people with only half the CPU usage of
medium quality SinC.

8 years agoFix mixer leak (and crash at exit) when audio output fails
Rémi Denis-Courmont [Wed, 7 Mar 2012 17:07:57 +0000 (19:07 +0200)]
Fix mixer leak (and crash at exit) when audio output fails

8 years agoEnable some FPU optimizations via standard pragma by default
Rémi Denis-Courmont [Wed, 7 Mar 2012 16:14:26 +0000 (18:14 +0200)]
Enable some FPU optimizations via standard pragma by default

If GCC -ffast-math is not supported, some floating point optimizations
are still possible through more standard means:

"FP_CONTRACT on" is a subset of -funsafe-math-optimizations.

"FENV_ACCESS off" corresponds to -frounding-math.

"CX_LIMITED_RANGE on" corresponds to -fcx-limited-range, but is not
included as VLC does not use complex numbers anywhere yet.

8 years agoV4L2: relicense to LGPL
Rémi Denis-Courmont [Wed, 7 Mar 2012 15:51:38 +0000 (17:51 +0200)]
V4L2: relicense to LGPL

8 years agomacosx: when we currently play a video in detached window, allow a 'show playlist...
David Fuhrmann [Tue, 6 Mar 2012 20:30:18 +0000 (21:30 +0100)]
macosx: when we currently play a video in detached window, allow a 'show playlist', too

8 years agoImproving .mailmap
Christoph Miebach [Wed, 7 Mar 2012 00:18:00 +0000 (01:18 +0100)]
Improving .mailmap

Mapping some contributors to the same email, fixing jb adresses and trying to
pick the "right" name when 2 are used by the same person

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agomacosx: disable the libsamplerate plugin by default to save 5 to 11 per cent of CPU...
Felix Paul Kühne [Wed, 7 Mar 2012 12:24:12 +0000 (13:24 +0100)]
macosx: disable the libsamplerate plugin by default to save 5 to 11 per cent of CPU load on an i5 when playing ordinary stereo audio (AAC, 128kb/s)

the performance impact is even more noticeble on older CPUs of course

8 years agoAudio: Core Audio: Initialize starting volume for analog devices.
Jon Stacey [Wed, 7 Mar 2012 07:25:26 +0000 (01:25 -0600)]
Audio: Core Audio: Initialize starting volume for analog devices.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
8 years agoDVBsub: split encoder from decoder
Jean-Baptiste Kempf [Wed, 7 Mar 2012 09:21:05 +0000 (10:21 +0100)]
DVBsub: split encoder from decoder

8 years agoandroid: update config
Rafaël Carré [Wed, 7 Mar 2012 02:12:42 +0000 (21:12 -0500)]
android: update config

enable gcrypt
remove portaudio mention (it disappeared)

8 years agoandroid: build gnutls
某因幡 [Sat, 3 Mar 2012 07:27:45 +0000 (23:27 -0800)]
android: build gnutls

Signed-off-by: Rafaël Carré <funman@videolan.org>
8 years agocontrib: gnutls: missing limits.h
Rafaël Carré [Wed, 7 Mar 2012 02:04:08 +0000 (21:04 -0500)]
contrib: gnutls: missing limits.h

8 years agoHLS: fix IV parsing
Rafaël Carré [Tue, 6 Mar 2012 22:52:59 +0000 (17:52 -0500)]
HLS: fix IV parsing

Don't assume IV has 32 digits (leading zeroes are not mentioned in the
spec)

8 years agohttplive: aes_key is not a string, neither it is NULL terminated
Rafaël Carré [Tue, 6 Mar 2012 21:56:42 +0000 (16:56 -0500)]
httplive: aes_key is not a string, neither it is NULL terminated

Also don't use a temporary buffer to read the key

8 years agoaudio output must be reset if the format or channels mask changes
Rémi Denis-Courmont [Tue, 6 Mar 2012 20:02:42 +0000 (22:02 +0200)]
audio output must be reset if the format or channels mask changes

The check would only reset the output if the sample rate or the
bandwidth changed. For example a switch from 16-bits stereo to
32-bits mono would be undetected. Fortunately, this probably never
happened in practice.

8 years agoRemove unneeded #include <vlc_aout.h>
Rémi Denis-Courmont [Tue, 6 Mar 2012 19:19:44 +0000 (21:19 +0200)]
Remove unneeded #include <vlc_aout.h>

8 years agoMove channels definition to <vlc_es.h>
Rémi Denis-Courmont [Tue, 6 Mar 2012 19:18:30 +0000 (21:18 +0200)]
Move channels definition to <vlc_es.h>

They are mainly for audio_format_t which is also defined there. Many
files included <vlc_aout.h> only for these.

8 years agomacosx: fixed execution on OS X 10.5 (close #6282)
Felix Paul Kühne [Tue, 6 Mar 2012 18:54:13 +0000 (19:54 +0100)]
macosx: fixed execution on OS X 10.5 (close #6282)

8 years agoaout_DecNew: Use AOUT_CHAN_MAX
Rémi Denis-Courmont [Tue, 6 Mar 2012 19:04:11 +0000 (21:04 +0200)]
aout_DecNew: Use AOUT_CHAN_MAX

8 years agomodplug: no need to link to stdc++ and m
Rémi Denis-Courmont [Fri, 2 Mar 2012 14:59:10 +0000 (16:59 +0200)]
modplug: no need to link to stdc++ and m

This avoids extraneous libraries when libmodplug is a dynamic library.

8 years agocontrib: modplug: merge Libs.private into Libs for static linking
Rémi Denis-Courmont [Tue, 6 Mar 2012 16:49:00 +0000 (18:49 +0200)]
contrib: modplug: merge Libs.private into Libs for static linking