vlc.git
5 years agommal: Move codec plugin into hw/mmal module
Julian Scheel [Fri, 29 Aug 2014 07:09:34 +0000 (09:09 +0200)]
mmal: Move codec plugin into hw/mmal module

The mmal codec plugin is built as a part of the mmal module now. This drops
the ability to en-/disable codec support independently from the vout, but in
fact currently there is no mmal implementation which wouldn't support both
modules, so it seems sane to build them together as this unclutters the
configure scripts a little.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
5 years agommal: Move video_output plugin into hw/mmal module
Julian Scheel [Fri, 29 Aug 2014 07:09:33 +0000 (09:09 +0200)]
mmal: Move video_output plugin into hw/mmal module

As the mmal modules will require some shared code in the future move them out
of the split directory structure into a hw/mmal subdirectory, like it
is handled with vdpau plugins already.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
5 years agogestures: cosmetic
Rémi Denis-Courmont [Mon, 1 Sep 2014 15:51:06 +0000 (18:51 +0300)]
gestures: cosmetic

5 years agogestures: avoid undefined negative shift
Rémi Denis-Courmont [Mon, 1 Sep 2014 15:50:38 +0000 (18:50 +0300)]
gestures: avoid undefined negative shift

5 years agomacosx: contacting an app using SBApplication can fail, be a bit more conservative...
Felix Paul Kühne [Sun, 31 Aug 2014 21:57:36 +0000 (23:57 +0200)]
macosx: contacting an app using SBApplication can fail, be a bit more conservative to prevent runtime exceptions

5 years agounimotion: fix warning
Felix Paul Kühne [Sun, 31 Aug 2014 21:50:13 +0000 (23:50 +0200)]
unimotion: fix warning

5 years agomacosx: fix mediainfo appearance on future OS X releases (close #12066)
Felix Paul Kühne [Sun, 31 Aug 2014 21:49:57 +0000 (23:49 +0200)]
macosx: fix mediainfo appearance on future OS X releases (close #12066)

5 years agoconfigure: read_only_relocs is unnecessary on 64-bit OS X
Sean McGovern [Sun, 31 Aug 2014 20:17:48 +0000 (16:17 -0400)]
configure: read_only_relocs is unnecessary on 64-bit OS X

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
5 years agowl/shm: initial unaccelerated RGB video output
Rémi Denis-Courmont [Sun, 31 Aug 2014 11:40:09 +0000 (14:40 +0300)]
wl/shm: initial unaccelerated RGB video output

5 years agomacosx: Use floating window level for effects and other panels
David Fuhrmann [Sun, 31 Aug 2014 18:51:36 +0000 (20:51 +0200)]
macosx: Use floating window level for effects and other panels

All black-syle panels should get the floating window level.
This is normal behaviour of panels and has the positive side effect
that the panel also stays in front while vout window reconfigurations.

This level is also used for the preferences window, as this is sort
of a modal window which needs to be closed (in order to get settings
saved).

close #12063

5 years agomacosx: video effects: simplify restoring video-filter and sub-source
David Fuhrmann [Sun, 31 Aug 2014 13:28:26 +0000 (15:28 +0200)]
macosx: video effects: simplify restoring video-filter and sub-source

5 years agomacosx: video effects: only set video splitters when needed
David Fuhrmann [Sun, 31 Aug 2014 13:16:57 +0000 (15:16 +0200)]
macosx: video effects: only set video splitters when needed

Avoids setting this variable multiple times, as each time vout
restart is requested. Also avoids unnecessary vout restarts at
start and when changing profiles.

refs #12063

5 years agomac codesign: improve signing script
David Fuhrmann [Sat, 30 Aug 2014 14:32:23 +0000 (16:32 +0200)]
mac codesign: improve signing script

- add signing of sparkles autoupdate tool
- directly fail on error
- fix bug preventing signing of VLC binary
- rework validation steps so that it validates frameworks and autoupdate
  tool separately, but then the complete bundle like gatekeeper (using
  --deep option)

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
5 years agovdpau/display: do not set background colour
Rémi Denis-Courmont [Sun, 31 Aug 2014 08:14:33 +0000 (11:14 +0300)]
vdpau/display: do not set background colour

This interferes with overlay-based outputs, and serves no useful
purpose for VLC since the video frames are always fully opaque.

5 years agooss: attempt to fix the build
Rémi Denis-Courmont [Sat, 30 Aug 2014 21:21:56 +0000 (00:21 +0300)]
oss: attempt to fix the build

5 years agowl_shell_surface: fix dead lock when destroying thread
Rémi Denis-Courmont [Sat, 30 Aug 2014 20:33:12 +0000 (23:33 +0300)]
wl_shell_surface: fix dead lock when destroying thread

5 years agodecomp: fix heap overflow and cleanup (fixes #12052)
Rémi Denis-Courmont [Sat, 30 Aug 2014 13:34:39 +0000 (16:34 +0300)]
decomp: fix heap overflow and cleanup (fixes #12052)

5 years agoconfigure: simplify header tests
Rémi Denis-Courmont [Sat, 30 Aug 2014 12:20:29 +0000 (15:20 +0300)]
configure: simplify header tests

Remove unused checks for locale.h, machine/parm.h, scsi/scsi.h,
sys/time.h, and sys/ioctl.h. Simplify checks for net/if.h (this has no
dependency) and sys/mounth.h (sys/param.h).

5 years agognutls: fix flawed logic
Rémi Denis-Courmont [Sat, 30 Aug 2014 09:50:04 +0000 (12:50 +0300)]
gnutls: fix flawed logic

5 years agoaout: robustify channel reordering
Rémi Denis-Courmont [Sat, 30 Aug 2014 08:56:54 +0000 (11:56 +0300)]
aout: robustify channel reordering

5 years agomac packaging: preserve symlinks while creating VLC.app
David Fuhrmann [Sat, 30 Aug 2014 09:46:12 +0000 (11:46 +0200)]
mac packaging: preserve symlinks while creating VLC.app

mac frameworks use symlinks for their internal structure. This
reduces size of delivered framework folders by a factor of 3.

Also correctly clean the BGHUDAppkit ressources folder. Info.plist
must remain for proper code signing.

5 years agocontrib: preserve symlinks while installing Growl and BGHUDAppkit frameworks
David Fuhrmann [Sat, 30 Aug 2014 09:44:40 +0000 (11:44 +0200)]
contrib: preserve symlinks while installing Growl and BGHUDAppkit frameworks

5 years agosecuretransport: fix compilation
David Fuhrmann [Sat, 30 Aug 2014 09:43:43 +0000 (11:43 +0200)]
securetransport: fix compilation

5 years agognutls: fix minimum version
Rémi Denis-Courmont [Sat, 30 Aug 2014 09:15:28 +0000 (12:15 +0300)]
gnutls: fix minimum version

5 years agomux: mp4: add fragmented mp4 muxer
Francois Cartegnie [Wed, 11 Jun 2014 17:06:36 +0000 (19:06 +0200)]
mux: mp4: add fragmented mp4 muxer

mp4stream tries to build stream with 1.5sec runs.
mp4frag aims files by creating a compatible index.

Might need for transcode tests (fragments are 1.5 sec only).
--sout-x264-keyint=30 --sout-avcodec-strict=-2

Streaming done using http, with fragment start used as iframes.

5 years agodemux: ts: don't try to decode and warn on scrambled PES
Francois Cartegnie [Fri, 22 Aug 2014 09:09:42 +0000 (18:09 +0900)]
demux: ts: don't try to decode and warn on scrambled PES

5 years agoCue: don't round the start values
Jean-Baptiste Kempf [Sat, 30 Aug 2014 05:01:00 +0000 (07:01 +0200)]
Cue: don't round the start values

Close #11740

5 years agognutls: don't break if ALPN extension is not available
Francois Cartegnie [Sat, 30 Aug 2014 04:51:36 +0000 (13:51 +0900)]
gnutls: don't break if ALPN extension is not available

At least, fedora 20 doesn't enable it.

5 years agoContribs: fix GnuTLS linking on Win32
Jean-Baptiste Kempf [Sat, 30 Aug 2014 04:49:19 +0000 (06:49 +0200)]
Contribs: fix GnuTLS linking on Win32

5 years agodemux: mp4: do chan bitmap reordering (fix #12002)
Francois Cartegnie [Wed, 27 Aug 2014 11:54:46 +0000 (20:54 +0900)]
demux: mp4: do chan bitmap reordering (fix #12002)

5 years agodemux: mp4: add chan atom
Francois Cartegnie [Wed, 27 Aug 2014 11:00:09 +0000 (20:00 +0900)]
demux: mp4: add chan atom

5 years agoaout: assert only is not release proof
Francois Cartegnie [Fri, 29 Aug 2014 06:21:56 +0000 (15:21 +0900)]
aout: assert only is not release proof

Can still div by zero by pushing vbr codec

5 years agopacketizer: flac: fix memory leak
Hannes Domani [Fri, 29 Aug 2014 16:17:17 +0000 (18:17 +0200)]
packetizer: flac: fix memory leak

5 years agowl_shell_surface: basic Wayland shell surface window provider
Rémi Denis-Courmont [Wed, 27 Aug 2014 21:12:40 +0000 (00:12 +0300)]
wl_shell_surface: basic Wayland shell surface window provider

5 years agowindow: define Wayland surface type
Rémi Denis-Courmont [Wed, 27 Aug 2014 16:39:32 +0000 (19:39 +0300)]
window: define Wayland surface type

The convention used here matches with the Qt Wayland native platform,
and seems most generic. Note that Wayland does not allow "sharing"
surface handles between multiple display connections in general, and
multiple processes in particular.

5 years agofontconfig: fix memory leak
Hannes Domani [Thu, 28 Aug 2014 13:22:22 +0000 (15:22 +0200)]
fontconfig: fix memory leak

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
5 years agofilter_chain: fix memory leaks
Hannes Domani [Thu, 28 Aug 2014 11:25:37 +0000 (13:25 +0200)]
filter_chain: fix memory leaks

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
5 years agoDirect3D: fix memory leak
Hannes Domani [Thu, 28 Aug 2014 12:13:03 +0000 (14:13 +0200)]
Direct3D: fix memory leak

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
5 years agoDirectDraw/Direct3D: make a clean copy of the video-format
Hannes Domani [Thu, 28 Aug 2014 12:08:58 +0000 (14:08 +0200)]
DirectDraw/Direct3D: make a clean copy of the video-format

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoavcodec: fix memory leak
Hannes Domani [Thu, 28 Aug 2014 11:38:12 +0000 (13:38 +0200)]
avcodec: fix memory leak

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoWin32 threads: fix memory leak of detached thread
Hannes Domani [Thu, 28 Aug 2014 11:22:33 +0000 (13:22 +0200)]
Win32 threads: fix memory leak of detached thread

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agocompat: poll: fix compilation
KO Myung-Hun [Thu, 28 Aug 2014 10:15:58 +0000 (19:15 +0900)]
compat: poll: fix compilation

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoos2: getaddrinfo: fix typo
KO Myung-Hun [Thu, 28 Aug 2014 07:14:51 +0000 (16:14 +0900)]
os2: getaddrinfo: fix typo

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodaala: update NEWS, MODULES_LIST and POTFILES.in
Tristan Matthews [Thu, 28 Aug 2014 07:12:04 +0000 (03:12 -0400)]
daala: update NEWS, MODULES_LIST and POTFILES.in

5 years agodemux: ogg: daala support
Tristan Matthews [Thu, 21 Aug 2014 00:23:41 +0000 (17:23 -0700)]
demux: ogg: daala support

5 years agodaala: add decoder support
Tristan Matthews [Wed, 20 Aug 2014 21:27:04 +0000 (14:27 -0700)]
daala: add decoder support

5 years agoContribs: update Nettle to 2.7.1
Jean-Baptiste Kempf [Thu, 28 Aug 2014 06:36:30 +0000 (08:36 +0200)]
Contribs: update Nettle to 2.7.1

5 years agoFix issues with replaced compat functions in C++ modules
Jean-Baptiste Kempf [Tue, 26 Aug 2014 19:37:06 +0000 (19:37 +0000)]
Fix issues with replaced compat functions in C++ modules

Notably poll, inet*, swab, *rand48, and tsearch

5 years agoegl: revector
Rémi Denis-Courmont [Wed, 27 Aug 2014 19:57:58 +0000 (22:57 +0300)]
egl: revector

5 years agoContribs: update GnuTLS to 3.2.17
Jean-Baptiste Kempf [Mon, 25 Aug 2014 20:41:40 +0000 (22:41 +0200)]
Contribs: update GnuTLS to 3.2.17

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoContribs: Update Nettle to 2.7
Jean-Baptiste Kempf [Mon, 25 Aug 2014 20:48:45 +0000 (22:48 +0200)]
Contribs: Update Nettle to 2.7

This is required for gnutls 3.2.x+ building

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agolua: reactivate vlclua_net_poll() on windows
Hannes Domani [Sun, 17 Aug 2014 12:38:54 +0000 (14:38 +0200)]
lua: reactivate vlclua_net_poll() on windows

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agofilesystem: avoid potential qsort(NULL)
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:35:27 +0000 (21:35 +0300)]
filesystem: avoid potential qsort(NULL)

5 years agomkv: avoid potential NULL memory comparison
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:31:15 +0000 (21:31 +0300)]
mkv: avoid potential NULL memory comparison

memcmp(NULL, b, 0) and memcpy(a, NULL, 0) are undefined in ISO C.

5 years agovcd: fix NULL dereference on error
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:26:52 +0000 (21:26 +0300)]
vcd: fix NULL dereference on error

5 years agodvb scan: use unsigned indices (CID#1048723)
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:18:37 +0000 (21:18 +0300)]
dvb scan: use unsigned indices (CID#1048723)

5 years agoanaglyph: dead code
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:14:44 +0000 (21:14 +0300)]
anaglyph: dead code

5 years agosap: dead code
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:13:10 +0000 (21:13 +0300)]
sap: dead code

5 years agostream: remove tautology
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:07:32 +0000 (21:07 +0300)]
stream: remove tautology

p_current cannot be NULL.

5 years agoshoutcast: fix NULL deref on error
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:02:37 +0000 (21:02 +0300)]
shoutcast: fix NULL deref on error

5 years agohttpd: reject incoming requests bodies over 64k
Rémi Denis-Courmont [Mon, 25 Aug 2014 17:55:42 +0000 (20:55 +0300)]
httpd: reject incoming requests bodies over 64k

5 years agohttpd: reindent
Rémi Denis-Courmont [Mon, 25 Aug 2014 17:55:28 +0000 (20:55 +0300)]
httpd: reindent

5 years agooss: use software volume on non-FreeBSD targets (refs #11880)
Rémi Denis-Courmont [Mon, 25 Aug 2014 17:06:35 +0000 (20:06 +0300)]
oss: use software volume on non-FreeBSD targets (refs #11880)

5 years agomtime: fix signed integer overflow
Rémi Denis-Courmont [Mon, 25 Aug 2014 15:58:43 +0000 (18:58 +0300)]
mtime: fix signed integer overflow

5 years agoavcodec: disable frame multithreading with dxva2
Felix Abecassis [Mon, 25 Aug 2014 10:07:22 +0000 (12:07 +0200)]
avcodec: disable frame multithreading with dxva2

Fix #11930, #11693

5 years agodecoder: merge both private format structures
Rémi Denis-Courmont [Sun, 24 Aug 2014 18:59:37 +0000 (21:59 +0300)]
decoder: merge both private format structures

5 years agodecoder: merge aout/vout/sout format in private strucutre
Rémi Denis-Courmont [Sun, 24 Aug 2014 18:16:09 +0000 (21:16 +0300)]
decoder: merge aout/vout/sout format in private strucutre

Also fix free() of undefined pointer if sout packetizer is deleted
before it is fed any single block.

5 years agodecoder: inline one function
Rémi Denis-Courmont [Sun, 24 Aug 2014 17:58:46 +0000 (20:58 +0300)]
decoder: inline one function

5 years agognutls: fix compilation with 3.3.0+
Rémi Denis-Courmont [Sun, 24 Aug 2014 17:25:36 +0000 (20:25 +0300)]
gnutls: fix compilation with 3.3.0+

5 years agognutls: require version 3.1.11
Rémi Denis-Courmont [Sat, 23 Aug 2014 20:29:09 +0000 (23:29 +0300)]
gnutls: require version 3.1.11

5 years agohttp: negotiate HTTP/1.1 explicitly over TLS
Rémi Denis-Courmont [Sat, 23 Aug 2014 20:24:37 +0000 (23:24 +0300)]
http: negotiate HTTP/1.1 explicitly over TLS

5 years agohttpd: advertise HTTP/1.1 support over TLS
Rémi Denis-Courmont [Sat, 23 Aug 2014 20:15:02 +0000 (23:15 +0300)]
httpd: advertise HTTP/1.1 support over TLS

5 years agotls: add ALPN parameters
Rémi Denis-Courmont [Sat, 23 Aug 2014 20:10:50 +0000 (23:10 +0300)]
tls: add ALPN parameters

5 years agognutls: add parameter for Application Layer Protocol Negotiation
Rémi Denis-Courmont [Sat, 23 Aug 2014 19:42:50 +0000 (22:42 +0300)]
gnutls: add parameter for Application Layer Protocol Negotiation

5 years agosecuretransport: adapt to latest changes in tls core
David Fuhrmann [Sat, 23 Aug 2014 18:46:32 +0000 (20:46 +0200)]
securetransport: adapt to latest changes in tls core

5 years agognutls: fix memory leaks
Rémi Denis-Courmont [Sat, 23 Aug 2014 14:31:17 +0000 (17:31 +0300)]
gnutls: fix memory leaks

5 years agognutls: drop useless global mutex and init if version >= 3.3.0
Rémi Denis-Courmont [Sat, 23 Aug 2014 14:26:19 +0000 (17:26 +0300)]
gnutls: drop useless global mutex and init if version >= 3.3.0

5 years agognutls: update to version 3.1.9 and simplify
Rémi Denis-Courmont [Sat, 23 Aug 2014 10:42:37 +0000 (13:42 +0300)]
gnutls: update to version 3.1.9 and simplify

5 years agognutls: remove useless per-session structure
Rémi Denis-Courmont [Sat, 23 Aug 2014 10:05:54 +0000 (13:05 +0300)]
gnutls: remove useless per-session structure

5 years agognutls: reorder, inline and turn off server-side if !SOUT
Rémi Denis-Courmont [Sat, 23 Aug 2014 09:12:56 +0000 (12:12 +0300)]
gnutls: reorder, inline and turn off server-side if !SOUT

5 years agognutls: remove useless structure for client-side credentials
Rémi Denis-Courmont [Fri, 22 Aug 2014 22:31:01 +0000 (01:31 +0300)]
gnutls: remove useless structure for client-side credentials

5 years agognutls: move handshake callback to credentials (alongside open/close)
Rémi Denis-Courmont [Fri, 22 Aug 2014 22:15:23 +0000 (01:15 +0300)]
gnutls: move handshake callback to credentials (alongside open/close)

5 years agohttpd: dead code
Rémi Denis-Courmont [Fri, 22 Aug 2014 21:20:02 +0000 (00:20 +0300)]
httpd: dead code

5 years agognutls: remove client certificate support
Rémi Denis-Courmont [Fri, 22 Aug 2014 20:38:43 +0000 (23:38 +0300)]
gnutls: remove client certificate support

This was never used. The web interface requires a password instead.

5 years agognutls: simplify certificate verification
Rémi Denis-Courmont [Fri, 22 Aug 2014 20:32:48 +0000 (23:32 +0300)]
gnutls: simplify certificate verification

5 years agognutls: require version 3.1.4 or later
Rémi Denis-Courmont [Fri, 22 Aug 2014 20:07:07 +0000 (23:07 +0300)]
gnutls: require version 3.1.4 or later

5 years agognutls: fix flawed logic
Rémi Denis-Courmont [Fri, 22 Aug 2014 20:22:44 +0000 (23:22 +0300)]
gnutls: fix flawed logic

val is always zero in the removed code; the verification status is what
actually matters.

5 years agourl: fix out-of-bound read
Rémi Denis-Courmont [Fri, 22 Aug 2014 20:04:39 +0000 (23:04 +0300)]
url: fix out-of-bound read

...if *next is '\0'.

5 years agognutls: does not use sockets (directly)
Rémi Denis-Courmont [Fri, 22 Aug 2014 19:49:11 +0000 (22:49 +0300)]
gnutls: does not use sockets (directly)

5 years agolua: never change index of lua file descriptors
Hannes Domani [Fri, 22 Aug 2014 13:34:21 +0000 (15:34 +0200)]
lua: never change index of lua file descriptors

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
5 years agoEsOutDecodersStopBuffering: remove assert
Rafaël Carré [Fri, 22 Aug 2014 09:55:29 +0000 (11:55 +0200)]
EsOutDecodersStopBuffering: remove assert

The master program clock does not necessarily have a reference
A different program PCR can be issued first, and the assertion
would be triggered since c3bd897e586d906d631a1cdc51232f76ff1ca1fe

5 years agocontrib: x265 1.3
Rafaël Carré [Fri, 22 Aug 2014 06:38:31 +0000 (08:38 +0200)]
contrib: x265 1.3

5 years agoextras/macosx: update codesign script for GateKeeper v2 needed to support future...
Felix Paul Kühne [Thu, 21 Aug 2014 17:35:29 +0000 (19:35 +0200)]
extras/macosx: update codesign script for GateKeeper v2 needed to support future OS X releases

5 years agocontrib: libgcrypt 1.6.2
Rafaël Carré [Thu, 21 Aug 2014 13:56:40 +0000 (15:56 +0200)]
contrib: libgcrypt 1.6.2

5 years agoNow that sout-all is default, make --programs take precedence over it
Rafaël Carré [Thu, 21 Aug 2014 13:21:59 +0000 (15:21 +0200)]
Now that sout-all is default, make --programs take precedence over it

5 years agoQt: force XCB platform so we do not crash if QT_QPA_PLATFORM is set
Rémi Denis-Courmont [Wed, 20 Aug 2014 21:01:40 +0000 (00:01 +0300)]
Qt: force XCB platform so we do not crash if QT_QPA_PLATFORM is set

5 years agoadjust: cosmetics
Rémi Denis-Courmont [Wed, 20 Aug 2014 20:55:42 +0000 (23:55 +0300)]
adjust: cosmetics

5 years agops: fix double free
Rémi Denis-Courmont [Wed, 20 Aug 2014 18:35:07 +0000 (21:35 +0300)]
ps: fix double free

5 years agohds: fix stale pointer
Rémi Denis-Courmont [Wed, 20 Aug 2014 18:29:55 +0000 (21:29 +0300)]
hds: fix stale pointer

5 years agokeys: fix signed overflow
Rémi Denis-Courmont [Wed, 20 Aug 2014 18:19:52 +0000 (21:19 +0300)]
keys: fix signed overflow