vlc.git
7 years agoLGPL
Jean-Baptiste Kempf [Tue, 6 Nov 2012 16:48:33 +0000 (17:48 +0100)]
LGPL

Re-license almost all the playback modules to LGPLv2.1+ with
authorization from their respective contributors (230+)

This includes:
 - access, codec, packetizers, demux
 - audio filters, audio mixers, audio output
 - video filters, video chroma, video output
 - text renderers
 - XML parser
 - ARM NEON and SSE2 optimisations (mostly for chromas and filters)

Some modules are not concerned:
 - BDA and DShow access modules because Manol Manolov is AWOL
 - Real RTSP, because it is derived from Xine
 - x264 and t140 because they are encoders only
 - DLL Loader, because it is derived from MPlayer
 - DTS packetizer, because Jon Lech Johansen is AWOL
 - Shine and WMAfixed, because they are derived from Rockbox
 - Real demuxer, as it is derived from MPlayer and Wang Bo is AWOL
 - MPC demuxer, as Yavor Doganov is AWOL
 - Tivo demuxer, because it is derived from an MPlayer fork
 - Playlist demuxer, (WPL and ZPL parts missing), because suheaven is AWOL
 - iOS audio output and video display, because author refuses the license change
 - Equalizer and compressor, because Ronald Wright is AWOL
 - Mono, Headphone and Dolby, because author refuses the license change
 - hqdn3d and yadif, because they are from MPlayer/libavfilter
 - remoteosd, because it derives from RealVNC code
 - MMX optimisations, because Ollie Lho, from SiS, is AWOL
 - Rotate, because it depends on GPL motion

Nota Bene:
 - Some modules depend on GPL-only libraries, a LGPL module does not mean
   that the resulting binary module will be LGPL.
   Libraries affected would include liba52, libdvdcss, libdvdnav, libdvdread,
   faad2, libdca, libmad, libmpeg2, libpostproc, SRC, sid, zvbi and probably others.

7 years agoDTS in wav: check frame size
Jean-Baptiste Kempf [Mon, 12 Nov 2012 19:12:05 +0000 (20:12 +0100)]
DTS in wav: check frame size

Close #7282

7 years agoskins2: correct a uri conversion issue with new vlc_path2uri
Erwan Tulou [Tue, 13 Nov 2012 12:41:12 +0000 (13:41 +0100)]
skins2: correct a uri conversion issue with new vlc_path2uri

new vlc_path2uri function now expects a valid not-yet-converted file name.

This fixes art display errors with latest vlc from current git rep.

7 years agoaout: rewrite synchronization code
Rémi Denis-Courmont [Mon, 12 Nov 2012 21:06:26 +0000 (23:06 +0200)]
aout: rewrite synchronization code

This commit will kill your kitten if left without supervision.

7 years agoaout: separate time and play callbacks
Rémi Denis-Courmont [Mon, 12 Nov 2012 21:01:24 +0000 (23:01 +0200)]
aout: separate time and play callbacks

7 years agoaout: improve plugin interface documentation
Rémi Denis-Courmont [Mon, 12 Nov 2012 19:36:26 +0000 (21:36 +0200)]
aout: improve plugin interface documentation

7 years agoDTS: fix Win32 compilation
Jean-Baptiste Kempf [Mon, 12 Nov 2012 17:14:49 +0000 (18:14 +0100)]
DTS: fix Win32 compilation

7 years agoDTS in wav: use DTS helper
Jean-Baptiste Kempf [Mon, 12 Nov 2012 16:48:54 +0000 (17:48 +0100)]
DTS in wav: use DTS helper

7 years agoDTS: split some parsing headers functions
Jean-Baptiste Kempf [Mon, 12 Nov 2012 15:26:49 +0000 (16:26 +0100)]
DTS: split some parsing headers functions

7 years agoDTS to S/PDIF: Update copyright holders
Jean-Baptiste Kempf [Mon, 12 Nov 2012 13:00:02 +0000 (14:00 +0100)]
DTS to S/PDIF: Update copyright holders

And comments

7 years agoFix mutex-emulated atomic operations on GCC
Rémi Denis-Courmont [Sun, 11 Nov 2012 16:25:59 +0000 (18:25 +0200)]
Fix mutex-emulated atomic operations on GCC

7 years agomacosx: fixed crash when terminating while the progress panel is displayed
Felix Paul Kühne [Sun, 11 Nov 2012 15:13:51 +0000 (16:13 +0100)]
macosx: fixed crash when terminating while the progress panel is displayed

7 years agoaout: use atomic variable instead of aout lock for statistics
Rémi Denis-Courmont [Sun, 11 Nov 2012 15:06:46 +0000 (17:06 +0200)]
aout: use atomic variable instead of aout lock for statistics

7 years agomacosx: another sanity check since in rare circumstances an input's URL may be nil
Felix Paul Kühne [Sun, 11 Nov 2012 15:00:47 +0000 (16:00 +0100)]
macosx: another sanity check since in rare circumstances an input's URL may be nil

7 years agoaout: inline synchronization code into dec.c
Rémi Denis-Courmont [Sun, 11 Nov 2012 14:54:51 +0000 (16:54 +0200)]
aout: inline synchronization code into dec.c

7 years agomacosx: added sanity check to prevent a Cocoa runtime exception
Felix Paul Kühne [Sun, 11 Nov 2012 14:44:53 +0000 (15:44 +0100)]
macosx: added sanity check to prevent a Cocoa runtime exception

7 years agovlc_atomic: work-around clang issue #11174
Felix Paul Kühne [Sun, 11 Nov 2012 14:16:45 +0000 (15:16 +0100)]
vlc_atomic: work-around clang issue #11174

__GCC_HAVE_SYNC_COMPARE_AND_SWAP_ is neither defined nor is an equivalent macro available. However, the protected features are supported.

7 years agoaout: remove another write-only parameter
Rémi Denis-Courmont [Sun, 11 Nov 2012 14:05:10 +0000 (16:05 +0200)]
aout: remove another write-only parameter

7 years agoaout: remove write-only parameter
Rémi Denis-Courmont [Sun, 11 Nov 2012 14:00:45 +0000 (16:00 +0200)]
aout: remove write-only parameter

7 years agoaout: move actual filtering to filters.c
Rémi Denis-Courmont [Sun, 11 Nov 2012 13:50:11 +0000 (15:50 +0200)]
aout: move actual filtering to filters.c

This leaves only synchronization code in input.c. This patch introduces
a small regression where resampling adjustment have a latency of two
packets instead of currently one. That will be fixed later.

7 years agowasapi: reorder channels (fixes #6829)
Rémi Denis-Courmont [Sun, 11 Nov 2012 11:05:19 +0000 (13:05 +0200)]
wasapi: reorder channels (fixes #6829)

7 years agowasapi: fix indentation
Rémi Denis-Courmont [Sun, 11 Nov 2012 10:03:41 +0000 (12:03 +0200)]
wasapi: fix indentation

7 years agowaveout: fix warning
Rémi Denis-Courmont [Sun, 11 Nov 2012 10:43:07 +0000 (12:43 +0200)]
waveout: fix warning

7 years agoShrink channel reordering tables to 9-10 bytes (from 36-40 bytes)
Rémi Denis-Courmont [Sun, 11 Nov 2012 10:52:20 +0000 (12:52 +0200)]
Shrink channel reordering tables to 9-10 bytes (from 36-40 bytes)

7 years agoaout_CheckChannelReorder: remove redundant parameter
Rémi Denis-Courmont [Sun, 11 Nov 2012 10:37:57 +0000 (12:37 +0200)]
aout_CheckChannelReorder: remove redundant parameter

The number of channels is conveyed in the channels mask.

7 years agoold dvb access: remove unused includes
Rafaël Carré [Sun, 11 Nov 2012 11:15:50 +0000 (12:15 +0100)]
old dvb access: remove unused includes

7 years agodvb: libdvbpsi is not optional
Rafaël Carré [Sun, 11 Nov 2012 10:59:46 +0000 (11:59 +0100)]
dvb: libdvbpsi is not optional

7 years agoPOTFILES.in: add new macosx source files
David Fuhrmann [Sun, 11 Nov 2012 08:55:21 +0000 (09:55 +0100)]
POTFILES.in: add new macosx source files

7 years agoNEWS: mention support for multiple vouts
David Fuhrmann [Sun, 11 Nov 2012 08:06:48 +0000 (09:06 +0100)]
NEWS: mention support for multiple vouts

7 years agozsh completion: update to last libvlccore api
Rafaël Carré [Sat, 10 Nov 2012 23:11:28 +0000 (00:11 +0100)]
zsh completion: update to last libvlccore api

7 years agoaout_ChannelReorder: optimize 16 and 32 bits cases with aligned access
Rémi Denis-Courmont [Sat, 10 Nov 2012 22:21:15 +0000 (00:21 +0200)]
aout_ChannelReorder: optimize 16 and 32 bits cases with aligned access

7 years agoAIFF: avoid division by 0
Jean-Baptiste Kempf [Sat, 10 Nov 2012 21:30:27 +0000 (22:30 +0100)]
AIFF: avoid division by 0

Close #7739

7 years agomacosx: fix fullscreen button state in mainwindow
David Fuhrmann [Sat, 10 Nov 2012 20:55:24 +0000 (21:55 +0100)]
macosx: fix fullscreen button state in mainwindow

The button state now indicates if the next video will be started in
fullscreen, or there is already one video in fullscreen.

7 years agomacosx: simplify vout window instantiation
David Fuhrmann [Sat, 10 Nov 2012 20:16:20 +0000 (21:16 +0100)]
macosx: simplify vout window instantiation

This removes unused pointering. Furthermore, for nonembedded windows
the video size is set directly to avoid strange resizing after window
creation.

7 years agopuzzle: use atomic variables and flag instead of lock
Rémi Denis-Courmont [Sat, 10 Nov 2012 20:42:07 +0000 (22:42 +0200)]
puzzle: use atomic variables and flag instead of lock

7 years agoposterize: use atomic variable instead of lock
Rémi Denis-Courmont [Sat, 10 Nov 2012 20:31:09 +0000 (22:31 +0200)]
posterize: use atomic variable instead of lock

7 years agomirror: use atomic variables instead of lock
Rémi Denis-Courmont [Sat, 10 Nov 2012 20:28:08 +0000 (22:28 +0200)]
mirror: use atomic variables instead of lock

7 years agoantiflicker: memory leak
Rémi Denis-Courmont [Sat, 10 Nov 2012 20:24:32 +0000 (22:24 +0200)]
antiflicker: memory leak

7 years agoantiflicker: use atomic variables instead of lock
Rémi Denis-Courmont [Sat, 10 Nov 2012 20:20:59 +0000 (22:20 +0200)]
antiflicker: use atomic variables instead of lock

7 years agoRemove spin lock functions
Rémi Denis-Courmont [Sat, 10 Nov 2012 18:51:26 +0000 (20:51 +0200)]
Remove spin lock functions

This was not a particularly good idea in user space.

7 years agomedia library: remove non-sensical use of spin locks
Rémi Denis-Courmont [Sat, 10 Nov 2012 18:50:11 +0000 (20:50 +0200)]
media library: remove non-sensical use of spin locks

The code is complete and utter crap either way.

7 years agorotate: use single float rather than pair of integers for angle
Rémi Denis-Courmont [Sat, 10 Nov 2012 18:20:38 +0000 (20:20 +0200)]
rotate: use single float rather than pair of integers for angle

(Single precision is more than enough in this case.)

7 years agoQt4: allow dial control for float variables
Rémi Denis-Courmont [Sat, 10 Nov 2012 18:20:25 +0000 (20:20 +0200)]
Qt4: allow dial control for float variables

7 years agorotate: use atomic variable instead of spin lock
Rémi Denis-Courmont [Sat, 10 Nov 2012 18:05:48 +0000 (20:05 +0200)]
rotate: use atomic variable instead of spin lock

7 years agoRemove unused barrier()
Rémi Denis-Courmont [Sat, 10 Nov 2012 17:44:00 +0000 (19:44 +0200)]
Remove unused barrier()

7 years agoPrivatize b_die
Rémi Denis-Courmont [Sat, 10 Nov 2012 17:38:53 +0000 (19:38 +0200)]
Privatize b_die

7 years agomkv: do not use .b_die
Rémi Denis-Courmont [Sat, 10 Nov 2012 17:47:11 +0000 (19:47 +0200)]
mkv: do not use .b_die

7 years agoDo not access b_die directly
Rémi Denis-Courmont [Sat, 10 Nov 2012 17:22:47 +0000 (19:22 +0200)]
Do not access b_die directly

7 years agostream: remove useless vlc_object_kill() calls
Rémi Denis-Courmont [Sat, 10 Nov 2012 17:19:04 +0000 (19:19 +0200)]
stream: remove useless vlc_object_kill() calls

The stream is always killed at the same time as the access already.

7 years agoobjects: use atomic reference counter instead of spin lock + counter
Rémi Denis-Courmont [Sat, 10 Nov 2012 16:59:18 +0000 (18:59 +0200)]
objects: use atomic reference counter instead of spin lock + counter

7 years agovlc_atomic: fix GCC macros return types
Rémi Denis-Courmont [Sat, 10 Nov 2012 16:57:55 +0000 (18:57 +0200)]
vlc_atomic: fix GCC macros return types

7 years agoMove VLC object internals to a more private header
Rémi Denis-Courmont [Sat, 10 Nov 2012 15:28:31 +0000 (17:28 +0200)]
Move VLC object internals to a more private header

7 years agoAdd option to enable OSD menu
Rémi Denis-Courmont [Sat, 10 Nov 2012 15:14:14 +0000 (17:14 +0200)]
Add option to enable OSD menu

7 years agoMove osd_text.c to src/video_output/
Rémi Denis-Courmont [Sat, 10 Nov 2012 14:58:12 +0000 (16:58 +0200)]
Move osd_text.c to src/video_output/

7 years agovout: use atomic variables for stats instead of spin lock
Rémi Denis-Courmont [Thu, 8 Nov 2012 22:36:33 +0000 (00:36 +0200)]
vout: use atomic variables for stats instead of spin lock

7 years agocolorthes: use atomic variables instead of spin lock
Rémi Denis-Courmont [Thu, 8 Nov 2012 22:21:50 +0000 (00:21 +0200)]
colorthes: use atomic variables instead of spin lock

7 years agomotionblur: use atomic variable instead of spin lock
Rémi Denis-Courmont [Thu, 8 Nov 2012 21:58:00 +0000 (23:58 +0200)]
motionblur: use atomic variable instead of spin lock

7 years agosepia: use atomic variable instead of spin lock
Rémi Denis-Courmont [Thu, 8 Nov 2012 21:54:17 +0000 (23:54 +0200)]
sepia: use atomic variable instead of spin lock

7 years agolib: correct and uniformize audio/video track IDs (fixes #7645)
Rémi Denis-Courmont [Thu, 8 Nov 2012 20:39:35 +0000 (22:39 +0200)]
lib: correct and uniformize audio/video track IDs (fixes #7645)

7 years agoSet directory-wide libtool tag correctly
Rémi Denis-Courmont [Thu, 8 Nov 2012 20:26:31 +0000 (22:26 +0200)]
Set directory-wide libtool tag correctly

7 years agoDirectSound: use device GUID instead of device name (fixes #7102)
Rémi Denis-Courmont [Thu, 8 Nov 2012 19:03:28 +0000 (21:03 +0200)]
DirectSound: use device GUID instead of device name (fixes #7102)

7 years agolua: fixes right OSD alignment (refs #6326)
Rémi Denis-Courmont [Thu, 8 Nov 2012 17:13:14 +0000 (19:13 +0200)]
lua: fixes right OSD alignment (refs #6326)

7 years agolua: fix "center" OSD alignment (refs #6326)
Rémi Denis-Courmont [Thu, 8 Nov 2012 17:12:50 +0000 (19:12 +0200)]
lua: fix "center" OSD alignment (refs #6326)

7 years agoLua: kill relocations
Rémi Denis-Courmont [Thu, 8 Nov 2012 17:10:38 +0000 (19:10 +0200)]
Lua: kill relocations

7 years agoMark --verbose-objects obsolete (refs #7737)
Rémi Denis-Courmont [Thu, 8 Nov 2012 16:19:02 +0000 (18:19 +0200)]
Mark --verbose-objects obsolete (refs #7737)

7 years agodumpmeta: update comment
Rémi Denis-Courmont [Thu, 8 Nov 2012 16:20:04 +0000 (18:20 +0200)]
dumpmeta: update comment

7 years agodecklink: do not refer to obsolete option --verbose-objects
Rémi Denis-Courmont [Thu, 8 Nov 2012 16:16:56 +0000 (18:16 +0200)]
decklink: do not refer to obsolete option --verbose-objects

7 years agoaout: cosmetic change
Rémi Denis-Courmont [Wed, 7 Nov 2012 18:00:16 +0000 (20:00 +0200)]
aout: cosmetic change

7 years agoaout: rationalize filters pipelines function names (cosmetic)
Rémi Denis-Courmont [Wed, 7 Nov 2012 17:56:04 +0000 (19:56 +0200)]
aout: rationalize filters pipelines function names (cosmetic)

7 years agoaout: fix assertion when S/PDIF is used
Rémi Denis-Courmont [Wed, 7 Nov 2012 17:44:37 +0000 (19:44 +0200)]
aout: fix assertion when S/PDIF is used

7 years agoRobustify static_assert() check
Rémi Denis-Courmont [Wed, 7 Nov 2012 16:58:13 +0000 (18:58 +0200)]
Robustify static_assert() check

7 years agoaout: remove write-only resampling start date
Rémi Denis-Courmont [Wed, 7 Nov 2012 16:51:31 +0000 (18:51 +0200)]
aout: remove write-only resampling start date

7 years agoi420_rgb: separate mmx and sse2 asm code
Ilkka Ollakka [Wed, 7 Nov 2012 11:12:02 +0000 (13:12 +0200)]
i420_rgb: separate mmx and sse2 asm code

7 years agoaout: handle filters creation/deletion from decoder, fix memory leak
Rémi Denis-Courmont [Tue, 6 Nov 2012 21:55:49 +0000 (23:55 +0200)]
aout: handle filters creation/deletion from decoder, fix memory leak

7 years agoaout: simplify filterign special cases using pointer comparison
Rémi Denis-Courmont [Tue, 6 Nov 2012 21:24:36 +0000 (23:24 +0200)]
aout: simplify filterign special cases using pointer comparison

7 years agoaout: partly rewrite and move filters initialization code
Rémi Denis-Courmont [Tue, 6 Nov 2012 19:27:47 +0000 (21:27 +0200)]
aout: partly rewrite and move filters initialization code

 - simplify "audio-filter" parser and fix a tautology
 - keep a single pointer for the resampler instead of a table

7 years agoheadphone: setup filter_t on success and rationalize
Rémi Denis-Courmont [Tue, 6 Nov 2012 17:42:58 +0000 (19:42 +0200)]
headphone: setup filter_t on success and rationalize

Use input rate rather than output rate to avoid extra resampling.

7 years agospatializer: setup filter_t only on success
Rémi Denis-Courmont [Tue, 6 Nov 2012 17:38:20 +0000 (19:38 +0200)]
spatializer: setup filter_t only on success

7 years agoscaletemp: setup filter_t only when successful
Rémi Denis-Courmont [Tue, 6 Nov 2012 17:38:06 +0000 (19:38 +0200)]
scaletemp: setup filter_t only when successful

7 years agoparam_eq: setup filter_t only when successful
Rémi Denis-Courmont [Tue, 6 Nov 2012 17:37:48 +0000 (19:37 +0200)]
param_eq: setup filter_t only when successful

7 years agonormvol: setup filter_t only when successful
Rémi Denis-Courmont [Tue, 6 Nov 2012 17:37:26 +0000 (19:37 +0200)]
normvol: setup filter_t only when successful

7 years agokaraoke: change format when needed instead of failing
Rémi Denis-Courmont [Tue, 6 Nov 2012 17:37:05 +0000 (19:37 +0200)]
karaoke: change format when needed instead of failing

7 years agogain: setup filter_t only when successful
Rémi Denis-Courmont [Tue, 6 Nov 2012 17:36:48 +0000 (19:36 +0200)]
gain: setup filter_t only when successful

7 years agoequalizer: setup filter_t only when successful
Rémi Denis-Courmont [Tue, 6 Nov 2012 17:36:35 +0000 (19:36 +0200)]
equalizer: setup filter_t only when successful

7 years agocompressor: setup filter_t only when successful
Rémi Denis-Courmont [Tue, 6 Nov 2012 17:36:21 +0000 (19:36 +0200)]
compressor: setup filter_t only when successful

7 years agochorus_fangler: setup filter_t only when successful
Rémi Denis-Courmont [Tue, 6 Nov 2012 17:36:02 +0000 (19:36 +0200)]
chorus_fangler: setup filter_t only when successful

7 years agoremap: setup filter_t only when successful
Rémi Denis-Courmont [Tue, 6 Nov 2012 17:35:43 +0000 (19:35 +0200)]
remap: setup filter_t only when successful

7 years agomono: setup filter_t only when successful
Rémi Denis-Courmont [Tue, 6 Nov 2012 17:34:40 +0000 (19:34 +0200)]
mono: setup filter_t only when successful

7 years agomono: remove redundant checks
Rémi Denis-Courmont [Tue, 6 Nov 2012 17:34:22 +0000 (19:34 +0200)]
mono: remove redundant checks

7 years agoaudiobargraph: setup filter_t only when successful
Rémi Denis-Courmont [Tue, 6 Nov 2012 17:33:29 +0000 (19:33 +0200)]
audiobargraph: setup filter_t only when successful

7 years agovariables: move last msg_*() call with the variable lock
Rémi Denis-Courmont [Mon, 5 Nov 2012 20:44:05 +0000 (22:44 +0200)]
variables: move last msg_*() call with the variable lock

7 years agovariables: use assert() more consistently
Rémi Denis-Courmont [Mon, 5 Nov 2012 20:43:07 +0000 (22:43 +0200)]
variables: use assert() more consistently

7 years agovariables: remove obsolete detached object debug code
Rémi Denis-Courmont [Mon, 5 Nov 2012 20:29:48 +0000 (22:29 +0200)]
variables: remove obsolete detached object debug code

Objects cannot be detached anymore...

7 years agoAdd .kar extension (fixes #7715)
Rémi Denis-Courmont [Mon, 5 Nov 2012 16:21:23 +0000 (18:21 +0200)]
Add .kar extension (fixes #7715)

7 years agosubsdec: check UTF-8 autodetection if encoding is not known in ES format
KO Myung-Hun [Sat, 13 Oct 2012 12:12:22 +0000 (21:12 +0900)]
subsdec: check UTF-8 autodetection if encoding is not known in ES format

This enables to show UTF-8 subtitles even though subsdec-encoding is set to
a non-UTF-8 value.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
7 years agoYet another H263 FourCC
Jean-Baptiste Kempf [Mon, 5 Nov 2012 15:43:37 +0000 (16:43 +0100)]
Yet another H263 FourCC

7 years agooss: Compilation fixes and cleanup
Edward Wang [Sat, 3 Nov 2012 13:24:39 +0000 (09:24 -0400)]
oss: Compilation fixes and cleanup

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years agoYet another theora FourCC used in some .ogm
Jean-Baptiste Kempf [Mon, 5 Nov 2012 11:14:34 +0000 (12:14 +0100)]
Yet another theora FourCC used in some .ogm

7 years agoaout: reduce filter table for resamplers and converters
Rémi Denis-Courmont [Sun, 4 Nov 2012 17:46:26 +0000 (19:46 +0200)]
aout: reduce filter table for resamplers and converters

There should never be a need for more than 5 of them. Only the
filters proper might require more than 5 members in a chain.

7 years agoavio: specify libav private options
Rafaël Carré [Sun, 4 Nov 2012 17:00:15 +0000 (18:00 +0100)]
avio: specify libav private options

Usage: --avio-options={foo=bar,few=baz}