vlc.git
6 years agolivehttp: fix format string
Tristan Matthews [Mon, 16 Dec 2013 06:16:23 +0000 (01:16 -0500)]
livehttp: fix format string

6 years agoRemove dead initializations
Rémi Duraffort [Sun, 15 Dec 2013 17:49:35 +0000 (18:49 +0100)]
Remove dead initializations

6 years agoamto: fix dealocator (delete [] instead of free)
Rémi Duraffort [Sun, 15 Dec 2013 17:38:01 +0000 (18:38 +0100)]
amto: fix dealocator (delete [] instead of free)

6 years agoomxil: fix calloc usage
Rémi Duraffort [Sat, 14 Dec 2013 10:11:30 +0000 (11:11 +0100)]
omxil: fix calloc usage

6 years agoaccess_dvd: fix sizeof mismatch
Rémi Duraffort [Sat, 14 Dec 2013 10:03:01 +0000 (11:03 +0100)]
access_dvd: fix sizeof mismatch

6 years agomp4: fix sizeof mismatch
Rémi Duraffort [Sat, 14 Dec 2013 09:57:04 +0000 (10:57 +0100)]
mp4: fix sizeof mismatch

6 years agohqdn3d: fix sizeof mismatch
Rémi Duraffort [Sat, 14 Dec 2013 09:55:57 +0000 (10:55 +0100)]
hqdn3d: fix sizeof mismatch

6 years agomp4: fix memory leak
Rémi Duraffort [Sat, 14 Dec 2013 09:52:55 +0000 (10:52 +0100)]
mp4: fix memory leak

6 years agoaccess_jack: fix memory leak
Rémi Duraffort [Sat, 14 Dec 2013 09:50:10 +0000 (10:50 +0100)]
access_jack: fix memory leak

6 years agolivehttp: fix many memory leaks
Rémi Duraffort [Sat, 14 Dec 2013 09:47:01 +0000 (10:47 +0100)]
livehttp: fix many memory leaks

6 years agolivehttp: fix memory leaks
Rémi Duraffort [Sat, 14 Dec 2013 09:35:25 +0000 (10:35 +0100)]
livehttp: fix memory leaks

6 years agoinput: fix memory leak if access is not found
Rémi Duraffort [Sat, 14 Dec 2013 09:32:43 +0000 (10:32 +0100)]
input: fix memory leak if access is not found

6 years agomkv: fix memory leak
Rémi Duraffort [Sat, 14 Dec 2013 09:13:48 +0000 (10:13 +0100)]
mkv: fix memory leak

6 years agoFreetype: rename HAVE_STYLES
Jean-Baptiste Kempf [Sun, 15 Dec 2013 16:40:51 +0000 (17:40 +0100)]
Freetype: rename HAVE_STYLES

6 years agoFreetype: unexport a function we don't need anymore on Win32
Jean-Baptiste Kempf [Sun, 15 Dec 2013 16:38:53 +0000 (17:38 +0100)]
Freetype: unexport a function we don't need anymore on Win32

6 years agoFreetype: introduce a dummy font selector
Jean-Baptiste Kempf [Sun, 15 Dec 2013 16:22:12 +0000 (17:22 +0100)]
Freetype: introduce a dummy font selector

When we don't have a way to select a font by family, use the basic font
(default or the config one)

This reduces the number of HAVE_STYLES usage and avoid a few bugs

6 years agoFreetype: remove unneeded includes
Jean-Baptiste Kempf [Sun, 15 Dec 2013 15:37:26 +0000 (16:37 +0100)]
Freetype: remove unneeded includes

6 years agoMove font defaults to platform_fonts.h
Jean-Baptiste Kempf [Sun, 15 Dec 2013 15:31:57 +0000 (16:31 +0100)]
Move font defaults to platform_fonts.h

6 years agoFreetype: simplify win32 fonts lookup folder
Jean-Baptiste Kempf [Sun, 15 Dec 2013 15:15:53 +0000 (16:15 +0100)]
Freetype: simplify win32 fonts lookup folder

It's less elegant, because it is not cached, but it's cleaner in
freetype.c with less #ifdef all around...

6 years agoDCP: new access-demux module for DigitalCinemaPackage
Nicolas Bertrand [Fri, 13 Dec 2013 14:21:03 +0000 (15:21 +0100)]
DCP: new access-demux module for DigitalCinemaPackage

This version only support 1-Reel-per-track DCPs, like trailers

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoAvoid infinite recursion loop when parsing tags
Denis Charmet [Sun, 15 Dec 2013 14:51:19 +0000 (15:51 +0100)]
Avoid infinite recursion loop when parsing tags

Fix #10028

6 years agoFreetype: Split font selection code from freetype.c
Jean-Baptiste Kempf [Sun, 15 Dec 2013 14:53:59 +0000 (15:53 +0100)]
Freetype: Split font selection code from freetype.c

6 years agoWin32: fix obvious typo.
Jean-Baptiste Kempf [Sun, 15 Dec 2013 14:32:56 +0000 (15:32 +0100)]
Win32: fix obvious typo.

Sorry

6 years agoFreetype: move the font selection to a function-pointer
Jean-Baptiste Kempf [Sun, 15 Dec 2013 13:57:32 +0000 (14:57 +0100)]
Freetype: move the font selection to a function-pointer

6 years agoFreetype: fix small error in previous commit
Jean-Baptiste Kempf [Sun, 15 Dec 2013 14:18:08 +0000 (15:18 +0100)]
Freetype: fix small error in previous commit

6 years agoFreetype: create an xml_reader helper
Jean-Baptiste Kempf [Sun, 15 Dec 2013 13:34:14 +0000 (14:34 +0100)]
Freetype: create an xml_reader helper

6 years agoSplit Freetype destruction from the main destruction
Jean-Baptiste Kempf [Thu, 26 Sep 2013 19:27:50 +0000 (21:27 +0200)]
Split Freetype destruction from the main destruction

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoFreetype: split freetype init from Create
Jean-Baptiste Kempf [Thu, 26 Sep 2013 19:23:43 +0000 (21:23 +0200)]
Freetype: split freetype init from Create

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoFix typo
Jean-Baptiste Kempf [Sat, 14 Dec 2013 16:29:11 +0000 (17:29 +0100)]
Fix typo

6 years agoUpdate NEWS and MODULES_LIST for 2.2.0
Jean-Baptiste Kempf [Sat, 14 Dec 2013 16:19:42 +0000 (17:19 +0100)]
Update NEWS and MODULES_LIST for 2.2.0

6 years agoconfigure: add a feature test for OpenGL
KO Myung-Hun [Sat, 14 Dec 2013 06:05:44 +0000 (15:05 +0900)]
configure: add a feature test for OpenGL

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agolibvlc: don't use string after free
Tristan Matthews [Fri, 13 Dec 2013 20:24:57 +0000 (15:24 -0500)]
libvlc: don't use string after free

6 years agofortunes !
Rafaël Carré [Fri, 13 Dec 2013 21:54:51 +0000 (16:54 -0500)]
fortunes !

6 years agocodecs: avcodec: fix Makefile libs order
Francois Cartegnie [Fri, 13 Dec 2013 21:24:30 +0000 (22:24 +0100)]
codecs: avcodec: fix Makefile libs order

6 years agodemux: mp4: improve debug tree info
Francois Cartegnie [Thu, 12 Dec 2013 23:11:05 +0000 (00:11 +0100)]
demux: mp4: improve debug tree info

6 years agofourcc: add entry for Android opaque buffer type.
Felix Abecassis [Fri, 15 Nov 2013 14:47:20 +0000 (15:47 +0100)]
fourcc: add entry for Android opaque buffer type.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoinput: rename members and functions previously related to decoder buffering.
Felix Abecassis [Wed, 11 Dec 2013 10:46:14 +0000 (11:46 +0100)]
input: rename members and functions previously related to decoder buffering.

Even without data buffering, it is still necessary to wait until each decoder has processed one block before updating the system clock.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoinput: remove useless function DecoderFlushBuffering from decoder.c
Felix Abecassis [Wed, 11 Dec 2013 10:46:13 +0000 (11:46 +0100)]
input: remove useless function DecoderFlushBuffering from decoder.c

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoinput: remove sout decoder buffering.
Felix Abecassis [Wed, 11 Dec 2013 10:46:12 +0000 (11:46 +0100)]
input: remove sout decoder buffering.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoinput: remove subpicture decoder buffering.
Felix Abecassis [Wed, 11 Dec 2013 10:46:11 +0000 (11:46 +0100)]
input: remove subpicture decoder buffering.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoinput: remove video decoder buffering.
Felix Abecassis [Wed, 11 Dec 2013 10:46:10 +0000 (11:46 +0100)]
input: remove video decoder buffering.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoinput: remove audio decoder buffering.
Felix Abecassis [Wed, 11 Dec 2013 10:46:09 +0000 (11:46 +0100)]
input: remove audio decoder buffering.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoVLC_FOURCC replaced with VLC_CODEC_* values
Maxim Bublis [Fri, 13 Dec 2013 15:42:45 +0000 (19:42 +0400)]
VLC_FOURCC replaced with VLC_CODEC_* values

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoogg: use CLOCK_FREQ in muxer
Tristan Matthews [Fri, 13 Dec 2013 16:05:55 +0000 (11:05 -0500)]
ogg: use CLOCK_FREQ in muxer

6 years agonsis: restore the previous components on x64 (fix #10122)
Ludovic Fauvet [Fri, 13 Dec 2013 15:38:01 +0000 (16:38 +0100)]
nsis: restore the previous components on x64 (fix #10122)

6 years agoauhal: fix audio device selection via command line
David Fuhrmann [Thu, 12 Dec 2013 19:17:24 +0000 (20:17 +0100)]
auhal: fix audio device selection via command line

close #10119

6 years agoogg: use CLOCK_FREQ
Tristan Matthews [Thu, 12 Dec 2013 18:44:12 +0000 (13:44 -0500)]
ogg: use CLOCK_FREQ

6 years agomacosx/menu: add missing debug
Felix Paul Kühne [Thu, 12 Dec 2013 15:05:34 +0000 (16:05 +0100)]
macosx/menu: add missing debug

6 years agocroppadd: use correct shortname 'croppadd'
Jean-Paul Saman [Thu, 12 Dec 2013 13:22:35 +0000 (14:22 +0100)]
croppadd: use correct shortname 'croppadd'

The shortname was 'cropadd' while the module was compiled as 'croppadd' (notice the extra 'p').
The module was correctly build, but was not loadable

6 years agoMake DirectX default on XP, instead of Direct3d
Jean-Baptiste Kempf [Thu, 12 Dec 2013 12:04:35 +0000 (13:04 +0100)]
Make DirectX default on XP, instead of Direct3d

We did that for 2.0 temporarily but kept master normal

This is still broken on some weird configurations, so well, temporary is
going to last..

6 years agoios/build.sh: fetch contribs before compiling them
Felix Paul Kühne [Thu, 12 Dec 2013 07:58:47 +0000 (08:58 +0100)]
ios/build.sh: fetch contribs before compiling them

6 years agolivehttp: parse key="value" style options
Ilkka Ollakka [Wed, 11 Dec 2013 07:03:22 +0000 (09:03 +0200)]
livehttp: parse key="value" style options

6 years agouse CLOCK_FREQ in date_Decrement
Ilkka Ollakka [Wed, 11 Dec 2013 07:02:09 +0000 (09:02 +0200)]
use CLOCK_FREQ in date_Decrement

6 years agodemux: asf: remove preroll from dts too
Francois Cartegnie [Wed, 11 Dec 2013 19:16:27 +0000 (20:16 +0100)]
demux: asf: remove preroll from dts too

6 years agodemux: asf: do ES audio selection for mms (fix #8797, #3400, #3797)
Francois Cartegnie [Tue, 3 Dec 2013 18:05:21 +0000 (19:05 +0100)]
demux: asf: do ES audio selection for mms (fix #8797, #3400, #3797)

6 years agoinput: add DEMUX_SET_ES notification
Francois Cartegnie [Tue, 3 Dec 2013 18:05:20 +0000 (19:05 +0100)]
input: add DEMUX_SET_ES notification

6 years agoupdate: fix use after free
Rémi Duraffort [Wed, 11 Dec 2013 19:14:42 +0000 (20:14 +0100)]
update: fix use after free

6 years agologger: fix use after free
Rémi Duraffort [Wed, 11 Dec 2013 19:13:55 +0000 (20:13 +0100)]
logger: fix use after free

6 years agoskins2: fix memory leak
Rémi Duraffort [Wed, 11 Dec 2013 18:32:22 +0000 (19:32 +0100)]
skins2: fix memory leak

6 years agolivehttp: fix memory leak (cid #1048908)
Rémi Duraffort [Wed, 11 Dec 2013 18:23:40 +0000 (19:23 +0100)]
livehttp: fix memory leak (cid #1048908)

6 years agovcd: fix sizeof mismatch (cid #1048981)
Rémi Duraffort [Wed, 11 Dec 2013 17:58:15 +0000 (18:58 +0100)]
vcd: fix sizeof mismatch (cid #1048981)

6 years agosid: fix sizeof mismatch (cid #1062589)
Rémi Duraffort [Wed, 11 Dec 2013 17:57:15 +0000 (18:57 +0100)]
sid: fix sizeof mismatch (cid #1062589)

6 years agokate: fix memory leak (cid #1048911)
Rémi Duraffort [Wed, 11 Dec 2013 17:54:18 +0000 (18:54 +0100)]
kate: fix memory leak (cid #1048911)

6 years agodbus: fix memory leaks (cid #1048913)
Rémi Duraffort [Wed, 11 Dec 2013 17:49:42 +0000 (18:49 +0100)]
dbus: fix memory leaks (cid #1048913)

6 years agoflac: fix memory leak (cid 1048914)
Rémi Duraffort [Wed, 11 Dec 2013 17:46:30 +0000 (18:46 +0100)]
flac: fix memory leak (cid 1048914)

6 years agoRevert "flac: fix extradata clamping check"
Rafaël Carré [Wed, 11 Dec 2013 16:42:45 +0000 (11:42 -0500)]
Revert "flac: fix extradata clamping check"

This reverts commit 16e9999966c12f696de57b0e7e5c0f39d7b0f621.

We use short flac extra format if it does *not* start with the header.
Thus we need not to add ! in front of memcmp

6 years agoaccess/alsa.c: fix racecondition on demux->p_sys variable
Jean-Paul Saman [Wed, 11 Dec 2013 14:54:36 +0000 (15:54 +0100)]
access/alsa.c: fix racecondition on demux->p_sys variable

The Thread() function could access demux->p_sys before it was assigned a value other then NULL.
If this happens then it will crash on line 158 while accessing sys->pcm.

6 years agov4l2: set visible height
Jean-Paul Saman [Wed, 11 Dec 2013 14:14:40 +0000 (15:14 +0100)]
v4l2: set visible height

6 years agoogg: fix format strings for debug messages
Tristan Matthews [Wed, 11 Dec 2013 04:56:23 +0000 (23:56 -0500)]
ogg: fix format strings for debug messages

6 years agoflac: move CRC update into STATE_NEXT_SYNC
Tristan Matthews [Fri, 6 Dec 2013 14:54:12 +0000 (09:54 -0500)]
flac: move CRC update into STATE_NEXT_SYNC

Fixes #9966.

6 years agoavcodec: handle codecs outputting YUVA 4:2:0 and 4:2:2
Rafaël Carré [Tue, 10 Dec 2013 17:41:09 +0000 (12:41 -0500)]
avcodec: handle codecs outputting YUVA 4:2:0 and 4:2:2

6 years agoswscale: handle 4:2:0 and 4:2:2 YUVA formats
Rafaël Carré [Tue, 10 Dec 2013 17:35:14 +0000 (12:35 -0500)]
swscale: handle 4:2:0 and 4:2:2 YUVA formats

6 years agoFinish "core" renaming to avoid prefs crashes
Jean-Baptiste Kempf [Tue, 10 Dec 2013 10:37:54 +0000 (11:37 +0100)]
Finish "core" renaming to avoid prefs crashes

Close #10096

6 years agoDon't reset master program clock if master program was not selected
Rafaël Carré [Mon, 9 Dec 2013 23:34:01 +0000 (18:34 -0500)]
Don't reset master program clock if master program was not selected

6 years agodemux: asf: trigger dialog on drm streams
Francois Cartegnie [Mon, 9 Dec 2013 22:21:08 +0000 (23:21 +0100)]
demux: asf: trigger dialog on drm streams

6 years agoimage: fix image misfunctioning in recent builds
Erwan Tulou [Mon, 9 Dec 2013 13:51:56 +0000 (14:51 +0100)]
image: fix image misfunctioning in recent builds

In the swscale filter plugin, i_visible_width and i_visible_height fields
are now expected to be provided and greater than 0.

This fixes art display problems with the skins2 in recent builds.

6 years agodemux: asf: avoid truncation on malloc
Francois Cartegnie [Mon, 9 Dec 2013 19:03:35 +0000 (20:03 +0100)]
demux: asf: avoid truncation on malloc

6 years agodemux: flac: align to avoid overflow on seek (fix #10000)
Francois Cartegnie [Mon, 9 Dec 2013 18:55:18 +0000 (19:55 +0100)]
demux: flac: align to avoid overflow on seek (fix #10000)

Align seek time on second to avoid overflow on seek.

6 years agotranscode: use user given width/height on calculations
Ilkka Ollakka [Mon, 9 Dec 2013 17:46:17 +0000 (19:46 +0200)]
transcode: use user given width/height on calculations

regression from 808e6123ff6f1850d274d921cf35dc78c7903d4c as calculations
still used with/height instead of visible_width/height

6 years agodemux: ogg: fix int overflow on seek
Francois Cartegnie [Mon, 9 Dec 2013 13:15:13 +0000 (14:15 +0100)]
demux: ogg: fix int overflow on seek

6 years agodemux: asf: fix double declaration (cid 1135582)
Francois Cartegnie [Mon, 9 Dec 2013 12:59:10 +0000 (13:59 +0100)]
demux: asf: fix double declaration (cid 1135582)

6 years agoUpdate NEWS
Jean-Baptiste Kempf [Mon, 9 Dec 2013 10:19:18 +0000 (11:19 +0100)]
Update NEWS

6 years agoEnable VP8 RTP packetization
Andrey Utkin [Sun, 8 Dec 2013 12:21:05 +0000 (14:21 +0200)]
Enable VP8 RTP packetization

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoRename main module to core
Rafaël Carré [Fri, 6 Dec 2013 23:57:11 +0000 (00:57 +0100)]
Rename main module to core

6 years agodemux: asf: check for int overflow
Francois Cartegnie [Sun, 8 Dec 2013 22:16:38 +0000 (23:16 +0100)]
demux: asf: check for int overflow

6 years agodemux: asf: fix signedness
Francois Cartegnie [Sat, 7 Dec 2013 21:18:55 +0000 (22:18 +0100)]
demux: asf: fix signedness

6 years agodemux: libasf: fix tons of signedness
Francois Cartegnie [Sat, 7 Dec 2013 21:18:34 +0000 (22:18 +0100)]
demux: libasf: fix tons of signedness

6 years agodemux: asf: fix signedness in language index
Francois Cartegnie [Sat, 7 Dec 2013 19:10:49 +0000 (20:10 +0100)]
demux: asf: fix signedness in language index

6 years agoAdd initial-segment-number option for livehttp module
Ray Tiley [Thu, 14 Nov 2013 23:27:42 +0000 (23:27 +0000)]
Add initial-segment-number option for livehttp module

The initial-segment-number option allows for passing in the number for the first
segment. This is useful if you want to append to an existing live
stream.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoswscale: scale the picture using the visible dimension.
Felix Abecassis [Tue, 26 Nov 2013 13:21:33 +0000 (14:21 +0100)]
swscale: scale the picture using the visible dimension.

Solve the green line bug during thumbnailing.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoswscale: use function video_format_IsSimilar.
Felix Abecassis [Tue, 26 Nov 2013 13:21:32 +0000 (14:21 +0100)]
swscale: use function video_format_IsSimilar.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agovout: set visible resolution of input/output video formats in SpuRenderCreateAndLoadS...
Felix Abecassis [Tue, 26 Nov 2013 13:21:31 +0000 (14:21 +0100)]
vout: set visible resolution of input/output video formats in SpuRenderCreateAndLoadScale().

Enable video filters using the visible dimension of the picture.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agocore: use same source name in DisplayNew
Vittorio Giovara [Wed, 27 Nov 2013 08:23:39 +0000 (09:23 +0100)]
core: use same source name in DisplayNew

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agocore: do not overwrite visible size
Vittorio Giovara [Tue, 26 Nov 2013 13:21:30 +0000 (14:21 +0100)]
core: do not overwrite visible size

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoEnable OPUS RTP packetization
Andrey Utkin [Sun, 8 Dec 2013 02:25:29 +0000 (04:25 +0200)]
Enable OPUS RTP packetization

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoEnable GSM RTP packetization
Andrey Utkin [Thu, 5 Dec 2013 20:36:56 +0000 (22:36 +0200)]
Enable GSM RTP packetization

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoRemoved unused static functions
Maxim Bublis [Mon, 2 Dec 2013 09:14:10 +0000 (13:14 +0400)]
Removed unused static functions

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agocontrib: speexdsp: remove dependency on speex
Rafaël Carré [Sun, 8 Dec 2013 10:56:48 +0000 (11:56 +0100)]
contrib: speexdsp: remove dependency on speex

6 years agocontrib: speexdsp: install headers in include/speex, where we expect them
Rafaël Carré [Sun, 8 Dec 2013 10:53:58 +0000 (11:53 +0100)]
contrib: speexdsp: install headers in include/speex, where we expect them

6 years agocontrib: update to speex git HEAD
Rafaël Carré [Sun, 8 Dec 2013 08:10:39 +0000 (09:10 +0100)]
contrib: update to speex git HEAD

split speex and speexdsp