vlc.git
6 years agomacosx: robustify playlist table columns initialization
David Fuhrmann [Thu, 13 Mar 2014 18:06:58 +0000 (19:06 +0100)]
macosx: robustify playlist table columns initialization

Unknown columns might occur if the prefs are written
by a newer VLC version.

close #10664

6 years agomediacodec: use a circular buffer of timestamps as a workaround for DTS only samples
Felix Abecassis [Wed, 12 Mar 2014 22:29:22 +0000 (23:29 +0100)]
mediacodec: use a circular buffer of timestamps as a workaround for DTS only samples

6 years agomediacodec: cosmetics
Felix Abecassis [Thu, 13 Mar 2014 17:59:03 +0000 (18:59 +0100)]
mediacodec: cosmetics

6 years agovideo output: support rotated movies (SPU)
Matthias Keiser [Thu, 13 Mar 2014 13:49:02 +0000 (14:49 +0100)]
video output: support rotated movies (SPU)

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
6 years agocontrib/bootstrap: don't assume cc is GCC
Sean McGovern [Thu, 13 Mar 2014 17:50:25 +0000 (13:50 -0400)]
contrib/bootstrap: don't assume cc is GCC

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
6 years agoextras/ios: enable vorbis since it is needed by the ogg demuxer
Felix Paul Kühne [Thu, 13 Mar 2014 12:38:29 +0000 (13:38 +0100)]
extras/ios: enable vorbis since it is needed by the ogg demuxer

6 years agowasapi: fix overflow after a few hours
Rémi Denis-Courmont [Wed, 12 Mar 2014 20:44:30 +0000 (22:44 +0200)]
wasapi: fix overflow after a few hours

6 years agowasapi: write timings to debug log
Rémi Denis-Courmont [Wed, 12 Mar 2014 20:43:38 +0000 (22:43 +0200)]
wasapi: write timings to debug log

6 years agowasapi: sleep for half a period as hinted in MSDN
Rémi Denis-Courmont [Wed, 12 Mar 2014 20:05:16 +0000 (22:05 +0200)]
wasapi: sleep for half a period as hinted in MSDN

6 years agodemux: mkv: fix leak
Francois Cartegnie [Wed, 12 Mar 2014 18:50:13 +0000 (19:50 +0100)]
demux: mkv: fix leak

cid 1048915

6 years agodemux: mp4: fix memleak
Francois Cartegnie [Wed, 12 Mar 2014 18:23:41 +0000 (19:23 +0100)]
demux: mp4: fix memleak

cid 1048916

6 years agoRemove remnant
Felix Paul Kühne [Wed, 12 Mar 2014 18:37:53 +0000 (19:37 +0100)]
Remove remnant

6 years agochain: handle movie rotations
Matthias Keiser [Thu, 6 Mar 2014 00:12:29 +0000 (01:12 +0100)]
chain: handle movie rotations

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
6 years agoRemove the CoreGraphics video output modules since it was only a skeleton for the...
Felix Paul Kühne [Wed, 12 Mar 2014 18:27:11 +0000 (19:27 +0100)]
Remove the CoreGraphics video output modules since it was only a skeleton for the CoreAnimation Layer module, so it's not needed anymore

6 years agoWin32: the dimensions of the unclipped source rectangle should be the original format...
Felix Abecassis [Wed, 12 Mar 2014 15:48:17 +0000 (16:48 +0100)]
Win32: the dimensions of the unclipped source rectangle should be the original format of the video

Fix #10886

6 years agotransform: make filter work with chain where format change permitted
Matthias Keiser [Thu, 6 Mar 2014 22:08:53 +0000 (23:08 +0100)]
transform: make filter work with chain where format change permitted

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
6 years agoaccess: cdda: fix resource leak
Francois Cartegnie [Wed, 12 Mar 2014 17:41:35 +0000 (18:41 +0100)]
access: cdda: fix resource leak

cid 403219
ioctl isn't released

6 years agostream_filter: smooth: fix negative array access
Francois Cartegnie [Wed, 12 Mar 2014 17:30:31 +0000 (18:30 +0100)]
stream_filter: smooth: fix negative array access

cid #1048853

6 years agocodec: vorbix: max channels is 8
Francois Cartegnie [Wed, 12 Mar 2014 17:25:40 +0000 (18:25 +0100)]
codec: vorbix: max channels is 8

fix cid #1048883

6 years agodemux: avi: missing initializers
Francois Cartegnie [Wed, 12 Mar 2014 17:00:00 +0000 (18:00 +0100)]
demux: avi: missing initializers

really unlikely (malloc fails)
cid #1049010 #1049009 #1049008 #1049007 #1049006

6 years agowin32: fix warning
Rémi Denis-Courmont [Wed, 12 Mar 2014 17:06:00 +0000 (19:06 +0200)]
win32: fix warning

6 years agowin32: fix starting the single interface backend (fixes #10494)
Rémi Denis-Courmont [Wed, 12 Mar 2014 17:00:25 +0000 (19:00 +0200)]
win32: fix starting the single interface backend (fixes #10494)

6 years agowinmsg: fix name
Rémi Denis-Courmont [Wed, 12 Mar 2014 17:00:04 +0000 (19:00 +0200)]
winmsg: fix name

6 years agocodec: opus: don't support more than 8 channels
Francois Cartegnie [Wed, 12 Mar 2014 16:50:31 +0000 (17:50 +0100)]
codec: opus: don't support more than 8 channels

We have no mapping for > 8 channels.
cid #1062574

6 years agoyuv: deal with crop (fixes #9160)
Rémi Denis-Courmont [Wed, 12 Mar 2014 16:50:10 +0000 (18:50 +0200)]
yuv: deal with crop (fixes #9160)

6 years agomux: ogg: kill out of bound access warning for contenttypeless codecs.
Francois Cartegnie [Wed, 12 Mar 2014 16:41:43 +0000 (17:41 +0100)]
mux: ogg: kill out of bound access warning for contenttypeless codecs.

6 years agodemux: ogg: fix use after free
Francois Cartegnie [Wed, 12 Mar 2014 16:19:09 +0000 (17:19 +0100)]
demux: ogg: fix use after free

cid #1191891

6 years agodemux: ogg: clear reordering struct on early stream deletion
Francois Cartegnie [Wed, 12 Mar 2014 16:05:34 +0000 (17:05 +0100)]
demux: ogg: clear reordering struct on early stream deletion

6 years agodemux: ogg: wrong allocation size
Francois Cartegnie [Wed, 12 Mar 2014 16:04:23 +0000 (17:04 +0100)]
demux: ogg: wrong allocation size

cid #1191888

6 years agoextras/ios: fix compilation with Xcode 5.1
Felix Paul Kühne [Wed, 12 Mar 2014 14:30:15 +0000 (15:30 +0100)]
extras/ios: fix compilation with Xcode 5.1

6 years agocaopengllayer: improved main thread synchronization and locking
Florent Pillet [Tue, 11 Mar 2014 22:52:13 +0000 (23:52 +0100)]
caopengllayer: improved main thread synchronization and locking

Grouping of 2 sync calls into one, use of CATransaction lock / unlock instead of being / commit and introduction of GCD

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
6 years agorawvideo: use chroma desc, follow dimensions set by the demuxer
Rémi Denis-Courmont [Tue, 11 Mar 2014 20:34:50 +0000 (22:34 +0200)]
rawvideo: use chroma desc, follow dimensions set by the demuxer

Refs #10722, refs #10723. Also fix a small leak on error.

6 years agopicture_Setup: missing const
Rémi Denis-Courmont [Tue, 11 Mar 2014 21:48:57 +0000 (23:48 +0200)]
picture_Setup: missing const

6 years agovdpau: adjust SPU position and size (fixes #10909)
Rémi Denis-Courmont [Tue, 11 Mar 2014 19:39:11 +0000 (21:39 +0200)]
vdpau: adjust SPU position and size (fixes #10909)

6 years agoqt: support for Qt5 windows build
Rafaël Carré [Tue, 11 Mar 2014 10:17:14 +0000 (11:17 +0100)]
qt: support for Qt5 windows build

6 years agoqt4: fix windows build after 6ea38362e66
Rafaël Carré [Tue, 11 Mar 2014 08:11:12 +0000 (09:11 +0100)]
qt4: fix windows build after 6ea38362e66

6 years agoinput: correct default value check for $demux (fixes #10475)
Rémi Denis-Courmont [Mon, 10 Mar 2014 20:29:13 +0000 (22:29 +0200)]
input: correct default value check for $demux (fixes #10475)

6 years agoinput: factor if and add error handling to demux_New()
Rémi Denis-Courmont [Mon, 10 Mar 2014 20:00:40 +0000 (22:00 +0200)]
input: factor if and add error handling to demux_New()

6 years agoContribs: patch iconv for WinRT
Jean-Baptiste Kempf [Mon, 10 Mar 2014 19:40:49 +0000 (20:40 +0100)]
Contribs: patch iconv for WinRT

6 years agoQt: SeekSlider: don't show buffering < 1s
Francois Cartegnie [Mon, 10 Mar 2014 19:41:05 +0000 (20:41 +0100)]
Qt: SeekSlider: don't show buffering < 1s

6 years agoQt: seekstyle: pass parameters through options.
Francois Cartegnie [Mon, 10 Mar 2014 19:34:31 +0000 (20:34 +0100)]
Qt: seekstyle: pass parameters through options.

6 years agoplaylist: remove b_auto_preparse
Rémi Denis-Courmont [Mon, 10 Mar 2014 19:35:58 +0000 (21:35 +0200)]
playlist: remove b_auto_preparse

6 years agoplaylist: use playlist preparser for playlist items (fixes #10344)
Rémi Denis-Courmont [Mon, 10 Mar 2014 19:32:13 +0000 (21:32 +0200)]
playlist: use playlist preparser for playlist items (fixes #10344)

6 years agoprojectm: fix NULL or uninitialized pointer dereference
Rafaël Carré [Mon, 10 Mar 2014 18:44:17 +0000 (19:44 +0100)]
projectm: fix NULL or uninitialized pointer dereference

6 years agolib: reset the audio output when selecting amem or custom plugin
Rémi Denis-Courmont [Mon, 10 Mar 2014 17:18:43 +0000 (19:18 +0200)]
lib: reset the audio output when selecting amem or custom plugin

6 years agoresource: add input_resource_ResetAout()
Rémi Denis-Courmont [Mon, 10 Mar 2014 17:18:18 +0000 (19:18 +0200)]
resource: add input_resource_ResetAout()

6 years agoaout: fix potential crash if changing device on aout being deleted
Rémi Denis-Courmont [Mon, 10 Mar 2014 16:35:44 +0000 (18:35 +0200)]
aout: fix potential crash if changing device on aout being deleted

6 years agoresource: simplify & reduce aout locking
Rémi Denis-Courmont [Mon, 10 Mar 2014 16:31:54 +0000 (18:31 +0200)]
resource: simplify & reduce aout locking

6 years agoavcodec: use PRIx64 to print uint64_t
Rafaël Carré [Mon, 10 Mar 2014 16:39:10 +0000 (17:39 +0100)]
avcodec: use PRIx64 to print uint64_t

6 years agodemux: ogg: add more divbyzero checks and fix oggds ones
Francois Cartegnie [Mon, 10 Mar 2014 12:36:39 +0000 (13:36 +0100)]
demux: ogg: add more divbyzero checks and fix oggds ones

cid 1191737

6 years agodemux: ogg: rewrite pts and pts computation (fix #9828)
Francois Cartegnie [Fri, 28 Feb 2014 01:03:15 +0000 (02:03 +0100)]
demux: ogg: rewrite pts and pts computation (fix #9828)

- Previous algorithm was unable to guess the first packet
pts because of ogg design (some codecs/opus/vorbis have total
sample at page granule and only granule on last packet. You
then need to compute first packet pts backward using packets
duration).
So we were stuck either assuming a start at pts/pcr zero, or
be unable to handle ogg streaming (non zero start) correctly,
or had to always drop the 0..N-1 packets for first page.
We need libvorbis to correcly compute those durations (code
is far more complex than opus's one).
- Refactorized to discard the tons of cases appended
with each new codec.
- lots of other fixes in many places

6 years agodemux: dvdnav: always update chapter variable after title change. (fix
Francois Cartegnie [Sun, 9 Mar 2014 23:25:16 +0000 (00:25 +0100)]
demux: dvdnav: always update chapter variable after title change. (fix

Because event will rebuild chapter variable.

6 years agoxcb/glx: correct viewport position (fixes #10907)
Rémi Denis-Courmont [Sun, 9 Mar 2014 21:25:22 +0000 (23:25 +0200)]
xcb/glx: correct viewport position (fixes #10907)

6 years agoopengl: correct view port position
Rémi Denis-Courmont [Sun, 9 Mar 2014 21:25:09 +0000 (23:25 +0200)]
opengl: correct view port position

6 years agometaengine: folder: test uri against folder first. (fix #10380)
Francois Cartegnie [Sun, 9 Mar 2014 20:50:34 +0000 (21:50 +0100)]
metaengine: folder: test uri against folder first. (fix #10380)

because make_path strips last segment

6 years agov4l2: implement --v4l2-fps for real (fixes #7395)
Rémi Denis-Courmont [Sun, 9 Mar 2014 20:30:09 +0000 (22:30 +0200)]
v4l2: implement --v4l2-fps for real (fixes #7395)

6 years agomacosx: cleanup blocked shortcuts
David Fuhrmann [Sat, 8 Mar 2014 09:30:31 +0000 (10:30 +0100)]
macosx: cleanup blocked shortcuts

6 years agomacosx: increase size of dvd menu button for l10n
David Fuhrmann [Sat, 8 Mar 2014 09:08:58 +0000 (10:08 +0100)]
macosx: increase size of dvd menu button for l10n

6 years agomacosx: remove open BDMV folder button
David Fuhrmann [Sat, 8 Mar 2014 08:54:58 +0000 (09:54 +0100)]
macosx: remove open BDMV folder button

Two different buttons signify to the user that there is an
actual difference in using either of these. But in fact,
both call the same code and if the folder is misnamed, even
the BDMV button would classify the folder as a DVD type.

stringcount--

6 years agomacosx: removed 6 strings
David Fuhrmann [Sat, 8 Mar 2014 08:31:50 +0000 (09:31 +0100)]
macosx: removed 6 strings

6 years agoConfigure.ac: fix check for 32 bit luac on some platforms
David Fuhrmann [Thu, 6 Mar 2014 15:38:48 +0000 (16:38 +0100)]
Configure.ac: fix check for 32 bit luac on some platforms

6 years agoQt: VLCModel/TreeView: delegate cover rendering (fix #10206)
Francois Cartegnie [Sat, 8 Mar 2014 19:01:30 +0000 (20:01 +0100)]
Qt: VLCModel/TreeView: delegate cover rendering (fix #10206)

6 years agodemux: ogg: keep searching for 1st page if incomplete
Francois Cartegnie [Fri, 7 Mar 2014 02:33:15 +0000 (03:33 +0100)]
demux: ogg: keep searching for 1st page if incomplete

6 years agoextras/ios: disable addon manager modules
Felix Paul Kühne [Sat, 8 Mar 2014 13:02:01 +0000 (14:02 +0100)]
extras/ios: disable addon manager modules

6 years agoxcb/glx: remove stray libraries
Rémi Denis-Courmont [Sat, 8 Mar 2014 08:57:16 +0000 (10:57 +0200)]
xcb/glx: remove stray libraries

6 years agoMP4 demux: only set fragmented flag if filecontains movie fragment atoms.
Matthias Keiser [Fri, 7 Mar 2014 22:16:31 +0000 (23:16 +0100)]
MP4 demux: only set fragmented flag if filecontains movie fragment atoms.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoprojectM: make GL context current
Rémi Denis-Courmont [Fri, 7 Mar 2014 19:40:20 +0000 (21:40 +0200)]
projectM: make GL context current

6 years agovsxu: make GL context current
Rémi Denis-Courmont [Fri, 7 Mar 2014 19:38:33 +0000 (21:38 +0200)]
vsxu: make GL context current

6 years agoglspectrum: bind GL context when needed
Rémi Denis-Courmont [Fri, 7 Mar 2014 19:36:56 +0000 (21:36 +0200)]
glspectrum: bind GL context when needed

6 years agoxcb/glx: reuse the GLX provider code and eliminate a lot of code
Rémi Denis-Courmont [Fri, 7 Mar 2014 19:01:04 +0000 (21:01 +0200)]
xcb/glx: reuse the GLX provider code and eliminate a lot of code

6 years agoglx: add missing surface type check
Rémi Denis-Courmont [Fri, 7 Mar 2014 19:29:07 +0000 (21:29 +0200)]
glx: add missing surface type check

6 years agoprojectM: use assert()
Rémi Denis-Courmont [Fri, 7 Mar 2014 18:59:37 +0000 (20:59 +0200)]
projectM: use assert()

6 years agoglspectrum: missing void
Rémi Denis-Courmont [Fri, 7 Mar 2014 18:59:18 +0000 (20:59 +0200)]
glspectrum: missing void

6 years agodxva2: fix typo
Felix Abecassis [Fri, 7 Mar 2014 12:23:25 +0000 (13:23 +0100)]
dxva2: fix typo

6 years agocontrib: x265 0.8
Rafaël Carré [Fri, 7 Mar 2014 14:50:30 +0000 (15:50 +0100)]
contrib: x265 0.8

6 years agox265: update for API 6
Rafaël Carré [Fri, 7 Mar 2014 14:55:27 +0000 (15:55 +0100)]
x265: update for API 6

6 years agoDecklink input: factor out some SDI code
Rafaël Carré [Fri, 7 Mar 2014 14:11:12 +0000 (15:11 +0100)]
Decklink input: factor out some SDI code

6 years agoDecklink: autodetect input format
Rafaël Carré [Fri, 7 Mar 2014 13:40:38 +0000 (14:40 +0100)]
Decklink: autodetect input format

6 years agodemux: ogg: theora: prevent zero frame rate
Francois Cartegnie [Thu, 6 Mar 2014 03:41:52 +0000 (04:41 +0100)]
demux: ogg: theora: prevent zero frame rate

Disables VP3 based video tracks and allows
playback of other tracks without PCR pollution.
And fix some overflows.

6 years agodemux: ogg: fix empty page bug after seek
Francois Cartegnie [Mon, 3 Mar 2014 21:32:22 +0000 (22:32 +0100)]
demux: ogg: fix empty page bug after seek

pagein() can't reload the same page, and will
append its packet on next valid pagein() call.

6 years agodemux: ogg: fix seeking bounds search
Francois Cartegnie [Mon, 3 Mar 2014 21:28:03 +0000 (22:28 +0100)]
demux: ogg: fix seeking bounds search

Might not have found lowest granule for vorbis/opus like codecs.

6 years agoaddons: add configure option
Francois Cartegnie [Thu, 6 Mar 2014 22:23:19 +0000 (23:23 +0100)]
addons: add configure option

6 years agoAdd transform helper functions.
Matthias Keiser [Thu, 6 Mar 2014 00:12:24 +0000 (01:12 +0100)]
Add transform helper functions.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
6 years agobuild system: fix object names for vout_ios2 and ios dialog provider
Felix Paul Kühne [Thu, 6 Mar 2014 20:56:12 +0000 (21:56 +0100)]
build system: fix object names for vout_ios2 and ios dialog provider

6 years agoMake most video filters bail if the inputand output orientation doesn't match.
Matthias Keiser [Thu, 6 Mar 2014 00:12:23 +0000 (01:12 +0100)]
Make most video filters bail if the inputand output orientation doesn't match.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
6 years agoaout: add rounding to playlist_VolumeUp
Alex Peak [Thu, 6 Mar 2014 00:49:44 +0000 (16:49 -0800)]
aout: add rounding to playlist_VolumeUp

Additional rounding step ensures that new volume is a multiple of the
"volume-step" as defined in libvlc-module.c.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
6 years agoxcb/glx: make context current as appropriate
Rémi Denis-Courmont [Thu, 6 Mar 2014 20:09:26 +0000 (22:09 +0200)]
xcb/glx: make context current as appropriate

6 years agogl: make/release current context as appropriate
Rémi Denis-Courmont [Thu, 6 Mar 2014 20:03:13 +0000 (22:03 +0200)]
gl: make/release current context as appropriate

6 years agoFreetype: do not ship dead code on WinRT dll
Jean-Baptiste Kempf [Thu, 6 Mar 2014 18:20:52 +0000 (19:20 +0100)]
Freetype: do not ship dead code on WinRT dll

This allows freetype.dll to pass WACK

6 years agoFreetype: allow to pass a font on WinRT
Jean-Baptiste Kempf [Thu, 6 Mar 2014 17:33:13 +0000 (18:33 +0100)]
Freetype: allow to pass a font on WinRT

6 years agoUpdate NEWS and module list
Felix Paul Kühne [Thu, 6 Mar 2014 15:29:02 +0000 (16:29 +0100)]
Update NEWS and module list

6 years agoAdd basic iOS dialog provider
Felix Paul Kühne [Thu, 6 Mar 2014 14:06:23 +0000 (15:06 +0100)]
Add basic iOS dialog provider

There is no support for progress dialogs so far

6 years agoaudioqueue: fix compilation when enabled with --enable-audioqueue
David Fuhrmann [Thu, 6 Mar 2014 15:18:47 +0000 (16:18 +0100)]
audioqueue: fix compilation when enabled with --enable-audioqueue

6 years agoavcodec:multichannel encoding support
Ilkka Ollakka [Sun, 2 Mar 2014 11:06:54 +0000 (13:06 +0200)]
avcodec:multichannel encoding support

Make some assumptions on channels, like 6 channels is 5.1 etc.

Ref #1897

6 years agotranscode: add more channels on audio
Ilkka Ollakka [Sun, 2 Mar 2014 11:07:44 +0000 (13:07 +0200)]
transcode: add more channels on audio

Assume that 3 channels is 2.1 instead of 3 front channels,
also 6 is 5.1.

Ref #1897

6 years agoextras/macosx: remove dropped options from configure script
Felix Paul Kühne [Thu, 6 Mar 2014 14:49:04 +0000 (15:49 +0100)]
extras/macosx: remove dropped options from configure script

6 years agoextras/ios: remove dropped configure options from build script and disable audioqueue...
Felix Paul Kühne [Thu, 6 Mar 2014 14:47:12 +0000 (15:47 +0100)]
extras/ios: remove dropped configure options from build script and disable audioqueue aout

6 years agoconfigure: fix compilation on non-Darwin platforms
Felix Paul Kühne [Thu, 6 Mar 2014 14:19:25 +0000 (15:19 +0100)]
configure: fix compilation on non-Darwin platforms

6 years agobuild system: add conditional variables to differenciate between iOS and OS X
Felix Paul Kühne [Thu, 6 Mar 2014 12:19:24 +0000 (13:19 +0100)]
build system: add conditional variables to differenciate between iOS and OS X

This allows automagic enabling and disabling of the needed and useful aout and vout modules

6 years agomacosx dialog provider: relicense to LGPLv2.1+ for use within VLCKit
Felix Paul Kühne [Wed, 5 Mar 2014 17:21:40 +0000 (18:21 +0100)]
macosx dialog provider: relicense to LGPLv2.1+ for use within VLCKit

Agreed by Pierre d'Herbemont, Sebastian Zwickert, Rémi Denis-Courmont, Jean-Baptiste Kempf and me