vlc.git
11 years agoDecodeSubtitle: mark func parameters as unused
Rafaël Carré [Fri, 28 Aug 2009 08:23:19 +0000 (10:23 +0200)]
DecodeSubtitle: mark func parameters as unused

11 years agovlc_fixups.h : get NULL declaration when needed
Rafaël Carré [Fri, 28 Aug 2009 08:22:50 +0000 (10:22 +0200)]
vlc_fixups.h : get NULL declaration when needed

11 years agoDXSB is a valid fourCC for XSUB
Jean-Baptiste Kempf [Thu, 27 Aug 2009 22:56:36 +0000 (00:56 +0200)]
DXSB is a valid fourCC for XSUB

11 years agoFix subtitle commit for old versions of avcodec.
Jean-Baptiste Kempf [Thu, 27 Aug 2009 22:46:54 +0000 (00:46 +0200)]
Fix subtitle commit for old versions of avcodec.

11 years agoSupport IMA_WAV ADPCM in w64
Jean-Baptiste Kempf [Thu, 27 Aug 2009 22:40:17 +0000 (00:40 +0200)]
Support IMA_WAV ADPCM in w64

11 years agoUse VLC_CODEC for ADPCM_IMA_WAV
Jean-Baptiste Kempf [Thu, 27 Aug 2009 22:37:06 +0000 (00:37 +0200)]
Use VLC_CODEC for ADPCM_IMA_WAV

11 years agoFix Typo in comment.
Jean-Baptiste Kempf [Thu, 27 Aug 2009 22:28:57 +0000 (00:28 +0200)]
Fix Typo in comment.

11 years agoFix MS ADPCM in w64 files.
Jean-Baptiste Kempf [Thu, 27 Aug 2009 22:27:55 +0000 (00:27 +0200)]
Fix MS ADPCM in w64 files.

11 years agoUse a VLC_CODEC_ADPCM_MS for MS ADPCM
Jean-Baptiste Kempf [Thu, 27 Aug 2009 22:26:47 +0000 (00:26 +0200)]
Use a VLC_CODEC_ADPCM_MS for MS ADPCM

11 years agomixer: fix memleak.
Rémi Duraffort [Thu, 27 Aug 2009 22:06:35 +0000 (00:06 +0200)]
mixer: fix memleak.

11 years agoAdded preliminary subtitle decoder support to our avcodec wrapper.
Laurent Aimar [Thu, 27 Aug 2009 21:27:59 +0000 (23:27 +0200)]
Added preliminary subtitle decoder support to our avcodec wrapper.

Only blu-ray subtitle are enabled.
If other formats are to be enabled, they must be carefully tested.

11 years agoUsed VLC_CODEC_BD_PG in TS demuxer.
Laurent Aimar [Thu, 27 Aug 2009 21:27:14 +0000 (23:27 +0200)]
Used VLC_CODEC_BD_PG in TS demuxer.

11 years agoAdded VLC_CODEC_BD_PG codec.
Laurent Aimar [Thu, 27 Aug 2009 21:26:26 +0000 (23:26 +0200)]
Added VLC_CODEC_BD_PG codec.

It will be used for blu-ray subtitles.

11 years agologo: remove an uneeded variable.
Rémi Duraffort [Thu, 27 Aug 2009 21:12:25 +0000 (23:12 +0200)]
logo: remove an uneeded variable.

11 years agologo: fix memleak.
Rémi Duraffort [Thu, 27 Aug 2009 20:59:15 +0000 (22:59 +0200)]
logo: fix memleak.

11 years agologo: remove unneeded variable.
Rémi Duraffort [Thu, 27 Aug 2009 20:49:48 +0000 (22:49 +0200)]
logo: remove unneeded variable.

11 years agoFFmpeg: protect against old versions of avcodec...
Jean-Baptiste Kempf [Thu, 27 Aug 2009 21:22:11 +0000 (23:22 +0200)]
FFmpeg: protect against old versions of avcodec...

11 years agoSupport of .vqf and .w64 files on file opening
Jean-Baptiste Kempf [Thu, 27 Aug 2009 20:57:14 +0000 (22:57 +0200)]
Support of .vqf and .w64 files on file opening

11 years agoMap FFmpeg F32*E and f64*E to VLC FL32 and FL64
Jean-Baptiste Kempf [Thu, 27 Aug 2009 20:54:12 +0000 (22:54 +0200)]
Map FFmpeg F32*E and f64*E to VLC FL32 and FL64

This solves the Sony Wave float32 sample on little endian machines.
Of course the float64 sample doesn't work yet, because of the lack of converter.

11 years agoFix possible typo
Jean-Baptiste Kempf [Thu, 27 Aug 2009 20:44:24 +0000 (22:44 +0200)]
Fix possible typo

(or maybe it was Aesthetics)

11 years agoRemove forgotten debug. Sorry, guys.
Jean-Baptiste Kempf [Thu, 27 Aug 2009 18:50:13 +0000 (20:50 +0200)]
Remove forgotten debug. Sorry, guys.

11 years agoNEWS about .vqf
Jean-Baptiste Kempf [Thu, 27 Aug 2009 18:39:54 +0000 (20:39 +0200)]
NEWS about .vqf

11 years agoAvformat demuxing: use bit_rate value
Jean-Baptiste Kempf [Thu, 27 Aug 2009 18:37:05 +0000 (20:37 +0200)]
Avformat demuxing: use bit_rate value

This sets the fmt.i_bitrate value and fixes decoding of TwinVQ samples. Thanks a lot to Vitor for pointing where the error was.

11 years agoTwinVQ support using the lastest avcodec commit from Vitor Sessak
Jean-Baptiste Kempf [Thu, 27 Aug 2009 18:05:24 +0000 (20:05 +0200)]
TwinVQ support using the lastest avcodec commit from Vitor Sessak

11 years agoOSDMenu: Use FIND_PARENT instead of FIND_ANYWHERE when applicable.
Jean-Baptiste Kempf [Thu, 27 Aug 2009 12:53:10 +0000 (14:53 +0200)]
OSDMenu: Use FIND_PARENT instead of FIND_ANYWHERE when applicable.

11 years agocontribs: fixed linking libmad when cross-compiling on Darwin for a different archite...
Felix Paul Kühne [Thu, 27 Aug 2009 17:15:10 +0000 (19:15 +0200)]
contribs: fixed linking libmad when cross-compiling on Darwin for a different architecture

11 years agoXvideo: fix SHM line count for videos with unaligned height
Rémi Denis-Courmont [Thu, 27 Aug 2009 16:36:12 +0000 (19:36 +0300)]
Xvideo: fix SHM line count for videos with unaligned height

11 years agocompilation fix
Felix Paul Kühne [Thu, 27 Aug 2009 13:09:43 +0000 (15:09 +0200)]
compilation fix

The actual folders still need to be implemented

11 years agoqt4(Win32): correct crash when saving preferences
Erwan Tulou [Thu, 27 Aug 2009 12:22:14 +0000 (14:22 +0200)]
qt4(Win32): correct crash when saving preferences

The way options are stored in a list by append and retrieve by named index
(enum list) is kind of risky. Errors can easily occur, some are obvious
 (crash), others may be more silent.

11 years agoHumhum. really fix the leak.
Rémi Duraffort [Thu, 27 Aug 2009 12:33:54 +0000 (14:33 +0200)]
Humhum. really fix the leak.

11 years agovariables: checking the class is enough to ensure the type (all variable of the
Rémi Duraffort [Thu, 27 Aug 2009 10:19:19 +0000 (12:19 +0200)]
variables: checking the class is enough to ensure the type (all variable of the
same class are represented by the same global type)

11 years agovideo_filter_logo: fix memleak.
Rémi Duraffort [Thu, 27 Aug 2009 10:17:54 +0000 (12:17 +0200)]
video_filter_logo: fix memleak.

11 years agoconfigure: fix broken poll() test
Pierre Ynard [Thu, 27 Aug 2009 09:43:13 +0000 (11:43 +0200)]
configure: fix broken poll() test

Oops.

11 years agoWinCE: silence poll() warning in configure
Pierre Ynard [Thu, 27 Aug 2009 09:26:39 +0000 (11:26 +0200)]
WinCE: silence poll() warning in configure

AFAIK vlc_poll() works with no problem on WinCE too

11 years agoWinCE: add replacement getpid() function
Pierre Ynard [Thu, 27 Aug 2009 09:14:10 +0000 (11:14 +0200)]
WinCE: add replacement getpid() function

And remove #ifdefs from code

11 years agocontribs: perl was only need by BeOS, removed
Felix Paul Kühne [Wed, 26 Aug 2009 23:39:09 +0000 (01:39 +0200)]
contribs: perl was only need by BeOS, removed

11 years agocontrib: Fix Makefile
Pierre Ynard [Wed, 26 Aug 2009 23:32:42 +0000 (01:32 +0200)]
contrib: Fix Makefile

Remove a forgotten "endif"

11 years agocontribs: removed BeOS support and fixed a typo which prevented proper x86_64 compila...
Felix Paul Kühne [Wed, 26 Aug 2009 23:03:00 +0000 (01:03 +0200)]
contribs: removed BeOS support and fixed a typo which prevented proper x86_64 compilation on Darwin (theora..)

11 years agocontribs: fortunately, no hacks are required anymore to compile liboil for PPC Macs
Felix Paul Kühne [Wed, 26 Aug 2009 22:40:53 +0000 (00:40 +0200)]
contribs: fortunately, no hacks are required anymore to compile liboil for PPC Macs

11 years agorevision 18 of the osx contribs package, out now for all 3 architectures
Felix Paul Kühne [Wed, 26 Aug 2009 22:21:21 +0000 (00:21 +0200)]
revision 18 of the osx contribs package, out now for all 3 architectures

This hopefully fixes some rare compilation issues on x86

11 years agocontribs: fixed theora compilation on ppc based macs
Felix Paul Kühne [Wed, 26 Aug 2009 22:01:15 +0000 (00:01 +0200)]
contribs: fixed theora compilation on ppc based macs

11 years agomacosx/framework: fix custom target scripts in case ARCHS includes more than 1 archit...
Felix Paul Kühne [Wed, 26 Aug 2009 21:48:51 +0000 (23:48 +0200)]
macosx/framework: fix custom target scripts in case ARCHS includes more than 1 architecture

11 years agominimal_macosx: Make sure we actually kill the vout at some point.
Pierre d'Herbemont [Wed, 26 Aug 2009 21:24:45 +0000 (23:24 +0200)]
minimal_macosx: Make sure we actually kill the vout at some point.

11 years agomacosx/framework: Add a new target core-framework.
Pierre d'Herbemont [Wed, 26 Aug 2009 21:23:53 +0000 (23:23 +0200)]
macosx/framework: Add a new target core-framework.

11 years agomacosx/framework: Fix a typo.
Pierre d'Herbemont [Wed, 26 Aug 2009 21:23:12 +0000 (23:23 +0200)]
macosx/framework: Fix a typo.

11 years agoUpdate of the libiconv patch for Win64 by NightStrike
Jean-Baptiste Kempf [Wed, 26 Aug 2009 20:25:13 +0000 (22:25 +0200)]
Update of the libiconv patch for Win64 by NightStrike

11 years agoRemove config_GetCacheDir
Rémi Denis-Courmont [Wed, 26 Aug 2009 19:16:47 +0000 (22:16 +0300)]
Remove config_GetCacheDir

11 years agoWin32: refactor and implement pictures directory
Rémi Denis-Courmont [Wed, 26 Aug 2009 19:09:04 +0000 (22:09 +0300)]
Win32: refactor and implement pictures directory

11 years agoSplit directories configuration per platform
Rémi Denis-Courmont [Wed, 26 Aug 2009 18:51:34 +0000 (21:51 +0300)]
Split directories configuration per platform

There was almost no commonality. This also simplifies stuff a bit.

11 years agoRemove broken DEMUX_SET_PAUSE_STATE
Sébastien Escudier [Wed, 26 Aug 2009 06:23:55 +0000 (08:23 +0200)]
Remove broken DEMUX_SET_PAUSE_STATE

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agoAdd input resource support to the LibVLC Media Player
Niles Bindel [Tue, 25 Aug 2009 17:11:06 +0000 (12:11 -0500)]
Add input resource support to the LibVLC Media Player

This change allows for smoother transitioning between playlist items by
not having to recreate the related video/audio resources from scratch on
every item switch. This problem was very apparent in fullscreen mode
when the current display would close out showing the OS background and
then go back to fullscreen before playing the next item.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agoskins2: uri-encoded mrl required for drag&drop
Erwan Tulou [Wed, 26 Aug 2009 17:12:06 +0000 (19:12 +0200)]
skins2: uri-encoded mrl required for drag&drop

11 years agomacosx/framework: Typo.
Pierre d'Herbemont [Wed, 26 Aug 2009 16:30:32 +0000 (18:30 +0200)]
macosx/framework: Typo.

11 years agomacosx/framework: Use the arch from the root settings.
Pierre d'Herbemont [Wed, 26 Aug 2009 16:29:16 +0000 (18:29 +0200)]
macosx/framework: Use the arch from the root settings.

11 years agomacosx/framework: Support printing negative duration.
Pierre d'Herbemont [Wed, 26 Aug 2009 16:27:59 +0000 (18:27 +0200)]
macosx/framework: Support printing negative duration.

11 years agomacosx/framework: Implement <NSCopying> for VLCTime.
Pierre d'Herbemont [Wed, 26 Aug 2009 16:24:35 +0000 (18:24 +0200)]
macosx/framework: Implement <NSCopying> for VLCTime.

11 years agomacosx: pl_CurrentInput doesn't take a playlist as argument.
Pierre d'Herbemont [Wed, 26 Aug 2009 14:02:20 +0000 (16:02 +0200)]
macosx: pl_CurrentInput doesn't take a playlist as argument.

11 years agomacosx: Use pl_CurrentInput properly, and make sure we don't dereference NULL.
Pierre d'Herbemont [Wed, 26 Aug 2009 13:45:09 +0000 (15:45 +0200)]
macosx: Use pl_CurrentInput properly, and make sure we don't dereference NULL.

11 years agostd-output, add aliases for access
Ilkka Ollakka [Wed, 26 Aug 2009 15:23:35 +0000 (18:23 +0300)]
std-output, add aliases for access

Alias file/http/udp output, eg now you can do
 --sout="#file{mux=ts,dst=mylittlepony.ts}"

hopefully helps people to figure-out sout-stuff.

11 years agov4l2: add aspect-ratio option to give picture aspect-ratio for input
Ilkka Ollakka [Wed, 26 Aug 2009 13:36:46 +0000 (16:36 +0300)]
v4l2: add aspect-ratio option to give picture aspect-ratio for input

11 years agoqt4: two more places where uri-encoded mrl are required
Erwan Tulou [Wed, 26 Aug 2009 10:57:55 +0000 (12:57 +0200)]
qt4: two more places where uri-encoded mrl are required

11 years agoFix freetype on Win32
Jean-Baptiste Kempf [Wed, 26 Aug 2009 10:59:35 +0000 (12:59 +0200)]
Fix freetype on Win32

11 years agoam: Proper way to define --quiet in silent mode.
Pierre d'Herbemont [Wed, 26 Aug 2009 10:15:49 +0000 (12:15 +0200)]
am: Proper way to define --quiet in silent mode.

Compatible with automake<1.11

11 years agomacosx: Get rid of the vlc_object_find().
Pierre d'Herbemont [Wed, 26 Aug 2009 09:42:51 +0000 (11:42 +0200)]
macosx: Get rid of the vlc_object_find().

11 years agodictionary: intptr_t to be nice with LLP64.
Pierre d'Herbemont [Wed, 26 Aug 2009 09:28:31 +0000 (11:28 +0200)]
dictionary: intptr_t to be nice with LLP64.

11 years agoRevert "signals: Remove a false warning about no return value."
Pierre d'Herbemont [Wed, 26 Aug 2009 09:13:16 +0000 (11:13 +0200)]
Revert "signals: Remove a false warning about no return value."

This reverts commit 8510313d246ed6aeff244b5414f088309077ea95.

Don't commit late things, without reading the justification.

This is generating dead code, and produce a warning on newer gcc version for that.

11 years agofix xxmc compilation.
Rémi Duraffort [Wed, 26 Aug 2009 09:10:12 +0000 (11:10 +0200)]
fix xxmc compilation.

11 years agotypo.
Rémi Duraffort [Wed, 26 Aug 2009 08:25:45 +0000 (10:25 +0200)]
typo.

11 years agoqt4: fix uninitialized values on win < Vista.
Rémi Duraffort [Wed, 26 Aug 2009 08:13:03 +0000 (10:13 +0200)]
qt4: fix uninitialized values on win < Vista.

11 years agomacosx: Remove unneeded restart.
Pierre d'Herbemont [Tue, 25 Aug 2009 23:06:24 +0000 (01:06 +0200)]
macosx: Remove unneeded restart.

11 years agoequalizer: Use aout_EnableFilter() as we have no choice now.
Pierre d'Herbemont [Tue, 25 Aug 2009 23:03:29 +0000 (01:03 +0200)]
equalizer: Use aout_EnableFilter() as we have no choice now.

11 years agotelnet: Don't use pause() on Win32.
Pierre d'Herbemont [Tue, 25 Aug 2009 22:38:50 +0000 (00:38 +0200)]
telnet: Don't use pause() on Win32.

My man says: "Pause is made obsolete by sigsuspend(2)." however sigsuspend just dies on win32.

11 years agosignals: Remove a false warning about no return value.
Pierre d'Herbemont [Tue, 25 Aug 2009 22:32:04 +0000 (00:32 +0200)]
signals: Remove a false warning about no return value.

This was reverted before. Yet, there is no use keeping that false warning, or wait until gcc is fixed.

11 years agotest/dictionary: Be nicer on LP64, and avoid a warning.
Pierre d'Herbemont [Tue, 25 Aug 2009 22:26:00 +0000 (00:26 +0200)]
test/dictionary: Be nicer on LP64, and avoid a warning.

LLP64, well, later.

11 years agoGet/Put VLM config to documents directory
Rémi Denis-Courmont [Tue, 25 Aug 2009 21:59:14 +0000 (00:59 +0300)]
Get/Put VLM config to documents directory

11 years agoPut log files to documents
Rémi Denis-Courmont [Tue, 25 Aug 2009 21:58:09 +0000 (00:58 +0300)]
Put log files to documents

Or maybe we should put them on the desktop? home directory seemed lame.

11 years agoPut snapshots to pictures directory
Rémi Denis-Courmont [Tue, 25 Aug 2009 21:57:46 +0000 (00:57 +0300)]
Put snapshots to pictures directory

11 years agoPut records to download directory
Rémi Denis-Courmont [Tue, 25 Aug 2009 21:57:13 +0000 (00:57 +0300)]
Put records to download directory

Should we use videos instead?

11 years agoXDG user dirs support (unused)
Rémi Denis-Courmont [Tue, 25 Aug 2009 21:44:45 +0000 (00:44 +0300)]
XDG user dirs support (unused)

11 years agoAdded missing return value in equalizer.
Laurent Aimar [Tue, 25 Aug 2009 21:37:43 +0000 (23:37 +0200)]
Added missing return value in equalizer.

11 years agoMoved aout_input_t to aout_internal.h.
Laurent Aimar [Tue, 25 Aug 2009 21:16:05 +0000 (23:16 +0200)]
Moved aout_input_t to aout_internal.h.

11 years agoLet equalizer-2pass handle the reset of the equalizer in qt4.
Laurent Aimar [Tue, 25 Aug 2009 21:15:02 +0000 (23:15 +0200)]
Let equalizer-2pass handle the reset of the equalizer in qt4.

It avoids a race condition with aout_input_t contents.

11 years agoAdded a callback on equalizer-2pass in equalizer filter.
Laurent Aimar [Tue, 25 Aug 2009 21:14:11 +0000 (23:14 +0200)]
Added a callback on equalizer-2pass in equalizer filter.

It will allow to avoid reseting the whole aout for it.

11 years agoUsed aout_EnableFilter in skins2.
Laurent Aimar [Tue, 25 Aug 2009 21:12:36 +0000 (23:12 +0200)]
Used aout_EnableFilter in skins2.

It avoids a race condition with aout_input_t contents.

11 years agoUpdated "audio mixer" to new aout_mixer_t module API.
Laurent Aimar [Tue, 25 Aug 2009 20:42:40 +0000 (22:42 +0200)]
Updated "audio mixer" to new aout_mixer_t module API.

11 years agoFixed resampler compilation after aout_mixer_t changes.
Laurent Aimar [Tue, 25 Aug 2009 20:42:18 +0000 (22:42 +0200)]
Fixed resampler compilation after aout_mixer_t changes.

11 years agoSplit out aout_mixer_t from aout_instance_t.
Laurent Aimar [Tue, 25 Aug 2009 20:41:17 +0000 (22:41 +0200)]
Split out aout_mixer_t from aout_instance_t.

It will allow to sanetize aout_instance_t.

11 years agoMade SyncInfo in dts a bit clearer.
Laurent Aimar [Mon, 24 Aug 2009 21:42:11 +0000 (23:42 +0200)]
Made SyncInfo in dts a bit clearer.

11 years agoWin32: remove "dereferencing type-punned pointer will break strict-aliasing rules...
Jean-Baptiste Kempf [Tue, 25 Aug 2009 19:15:08 +0000 (21:15 +0200)]
Win32: remove "dereferencing type-punned pointer will break strict-aliasing rules" and bring "passing argument ... from incompatible pointer type

At least it compiles, and there is absolutly no way I dig in that code.

11 years agoWin32: remove "dereferencing type-punned pointer will break strict-aliasing rules...
Jean-Baptiste Kempf [Tue, 25 Aug 2009 19:04:51 +0000 (21:04 +0200)]
Win32: remove "dereferencing type-punned pointer will break strict-aliasing rules" and bring "passing argument ... from incompatible pointer type

At least it compiles...

11 years agoFix an incorect cast warning
Jean-Baptiste Kempf [Tue, 25 Aug 2009 18:57:37 +0000 (20:57 +0200)]
Fix an incorect cast warning

11 years agoRevert "Don't treat strict-aliasing as error, this break Win32 compilation too much"
Rémi Denis-Courmont [Tue, 25 Aug 2009 18:50:04 +0000 (21:50 +0300)]
Revert "Don't treat strict-aliasing as error, this break Win32 compilation too much"

This reverts commit 5ff67322e0237a3506fe4a48a7ac01dd4eda444d.

11 years agovlc_bits: constify
Rémi Denis-Courmont [Tue, 25 Aug 2009 18:44:45 +0000 (21:44 +0300)]
vlc_bits: constify

11 years agoDon't treat strict-aliasing as error, this break Win32 compilation too much
Jean-Baptiste Kempf [Tue, 25 Aug 2009 18:42:56 +0000 (20:42 +0200)]
Don't treat strict-aliasing as error, this break Win32 compilation too much

All vouts are impacted, and dmo too.

11 years agoFix compilation of Win32 global hotkeys
Jean-Baptiste Kempf [Tue, 25 Aug 2009 18:36:15 +0000 (20:36 +0200)]
Fix compilation of Win32 global hotkeys

11 years agoFix compilation: too short delay.
Rémi Duraffort [Tue, 25 Aug 2009 18:23:27 +0000 (20:23 +0200)]
Fix compilation: too short delay.

11 years agoconfigure.ac: fix libxml2 detection (module name is 'xml').
Rémi Duraffort [Tue, 25 Aug 2009 18:00:50 +0000 (20:00 +0200)]
configure.ac: fix libxml2 detection (module name is 'xml').

11 years agocontribs: fix 64bit compilation on Leopard
Felix Paul Kühne [Tue, 25 Aug 2009 17:47:41 +0000 (19:47 +0200)]
contribs: fix 64bit compilation on Leopard

11 years agoCompile contribs in 32bit mode by default on Snow Leopard, but mention the switch...
Felix Paul Kühne [Tue, 25 Aug 2009 17:46:06 +0000 (19:46 +0200)]
Compile contribs in 32bit mode by default on Snow Leopard, but mention the switch to turn on 64bit

11 years agoVLCKit: added the abilities to compile in 64bit mode on Leopard and in 32bit on Snow...
Felix Paul Kühne [Tue, 25 Aug 2009 17:06:31 +0000 (19:06 +0200)]
VLCKit: added the abilities to compile in 64bit mode on Leopard and in 32bit on Snow Leopard