vlc.git
4 years agomacOS: Add initialization of breakpad crash reporter
Marvin Scholz [Tue, 14 Feb 2017 22:50:29 +0000 (23:50 +0100)]
macOS: Add initialization of breakpad crash reporter

4 years agomacOS: Add breakpad to buildsystem
Marvin Scholz [Tue, 14 Feb 2017 22:49:17 +0000 (23:49 +0100)]
macOS: Add breakpad to buildsystem

4 years agocontribs: Add breakpad crash reporter to contribs
Marvin Scholz [Tue, 14 Feb 2017 19:07:45 +0000 (20:07 +0100)]
contribs: Add breakpad crash reporter to contribs

macOS only for the moment.

4 years agodemux: h26x: increment by field count
Francois Cartegnie [Fri, 17 Feb 2017 18:10:25 +0000 (19:10 +0100)]
demux: h26x: increment by field count

4 years agodemux: h26x: fix packetizer flushing
Francois Cartegnie [Fri, 17 Feb 2017 17:10:34 +0000 (18:10 +0100)]
demux: h26x: fix packetizer flushing

4 years agospeex: drop some unused defines
Tristan Matthews [Fri, 17 Feb 2017 13:39:17 +0000 (08:39 -0500)]
speex: drop some unused defines

4 years agovpx: update video resolution if it changes mid-stream.
Ronald S. Bultje [Thu, 16 Feb 2017 17:49:38 +0000 (12:49 -0500)]
vpx: update video resolution if it changes mid-stream.

Fixes playback of e.g. vp90-2-05-resize.ivf in conformance collection.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodemux: mpgv: fix potential null deref on missing decoder
Francois Cartegnie [Fri, 17 Feb 2017 10:59:30 +0000 (11:59 +0100)]
demux: mpgv: fix potential null deref on missing decoder

4 years agodemux: mpgv: properly flush packetizer
Francois Cartegnie [Fri, 17 Feb 2017 10:55:51 +0000 (11:55 +0100)]
demux: mpgv: properly flush packetizer

was always losing last frame(s)

4 years agopacketizer: mpegvideo: add dts/pts 'rebuild' mode for dvr-ms
Francois Cartegnie [Tue, 14 Feb 2017 12:40:10 +0000 (13:40 +0100)]
packetizer: mpegvideo: add dts/pts 'rebuild' mode for dvr-ms

Since we have only original pts and non monotonically increasing
dts (which is also pcr), we use first dts and rebuild all
timestamps for that special case.
refs #17959

4 years agodemux: asf: flag dvr ms as original codec
Francois Cartegnie [Fri, 17 Feb 2017 09:59:17 +0000 (10:59 +0100)]
demux: asf: flag dvr ms as original codec

4 years agopacketizer: mpegvideo: flag interlaced frames
Francois Cartegnie [Wed, 15 Feb 2017 18:37:15 +0000 (19:37 +0100)]
packetizer: mpegvideo: flag interlaced frames

4 years agopacketizer: mpegvideo: fix discontinuity handling
Francois Cartegnie [Wed, 15 Feb 2017 18:01:34 +0000 (19:01 +0100)]
packetizer: mpegvideo: fix discontinuity handling

4 years agopacketizer: mpegvideo: fix reading wrong color spaces
Francois Cartegnie [Thu, 16 Feb 2017 13:10:31 +0000 (14:10 +0100)]
packetizer: mpegvideo: fix reading wrong color spaces

4 years agopacketizer: mpegvideo: fix OOB read
Francois Cartegnie [Thu, 16 Feb 2017 13:03:22 +0000 (14:03 +0100)]
packetizer: mpegvideo: fix OOB read

4 years agoiOS vout: remove write-only variable
Jean-Baptiste Kempf [Fri, 17 Feb 2017 08:49:39 +0000 (09:49 +0100)]
iOS vout: remove write-only variable

4 years agovideotoolbox: remove ios hacks
Thomas Guillem [Thu, 16 Feb 2017 10:46:09 +0000 (11:46 +0100)]
videotoolbox: remove ios hacks

We don't have to force output chroma on any platforms (let the system decide
for the best chroma).

4 years agovideotoolbox: disable H263 decoding on iOS
Felix Paul Kühne [Thu, 22 Sep 2016 11:03:17 +0000 (13:03 +0200)]
videotoolbox: disable H263 decoding on iOS

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agoios2: remove zero copy GL code
Thomas Guillem [Thu, 16 Feb 2017 13:25:56 +0000 (14:25 +0100)]
ios2: remove zero copy GL code

It's now handled by the cvpx converter.

4 years agoopengl: cvpx: add ios support
Thomas Guillem [Wed, 15 Feb 2017 15:59:53 +0000 (16:59 +0100)]
opengl: cvpx: add ios support

Using CVOpenGLESTextureCache API.

4 years agoopengl: cvpx: use GL_RGB_422_APPLE for UYVY
Thomas Guillem [Thu, 16 Feb 2017 10:30:40 +0000 (11:30 +0100)]
opengl: cvpx: use GL_RGB_422_APPLE for UYVY

GL_YCBCR_422_APPLE is deprecated (and not supported by ios) and force a BT.601
color conversion.
With GL_RGB_422_APPLE, we can use our own yuv color conversion.

4 years agoopengl: converter: add tc->handle_texs_gen
Thomas Guillem [Thu, 16 Feb 2017 11:51:47 +0000 (12:51 +0100)]
opengl: converter: add tc->handle_texs_gen

Set it to true if textures are generated from pf_update(). This will be used
by the cvpx converter on ios that create textures for each picture upload.

4 years agoopengl: converter: handle packed yuv
Thomas Guillem [Thu, 16 Feb 2017 10:00:37 +0000 (11:00 +0100)]
opengl: converter: handle packed yuv

4 years agopuzzle: Drop duplicated check
Hugo Beauzée-Luyssen [Thu, 16 Feb 2017 13:28:35 +0000 (14:28 +0100)]
puzzle: Drop duplicated check

Fix #18023

4 years agochromecast: Fix new mediaSessionId log
Hugo Beauzée-Luyssen [Wed, 15 Feb 2017 15:37:47 +0000 (16:37 +0100)]
chromecast: Fix new mediaSessionId log

4 years agochromecast: Don't override the mediaSessionId after each received message
Hugo Beauzée-Luyssen [Wed, 15 Feb 2017 15:36:11 +0000 (16:36 +0100)]
chromecast: Don't override the mediaSessionId after each received message

4 years agochromecast: Don't transcode supported codecs
Hugo Beauzée-Luyssen [Wed, 15 Feb 2017 14:18:31 +0000 (15:18 +0100)]
chromecast: Don't transcode supported codecs

4 years agochromecast: Minor simplification
Hugo Beauzée-Luyssen [Wed, 15 Feb 2017 14:14:05 +0000 (15:14 +0100)]
chromecast: Minor simplification

4 years agochromecast: Pass the codec to check codec compatibility
Hugo Beauzée-Luyssen [Wed, 15 Feb 2017 14:12:53 +0000 (15:12 +0100)]
chromecast: Pass the codec to check codec compatibility

4 years agochromecast: Fix undefined behavior in case of error
Hugo Beauzée-Luyssen [Wed, 15 Feb 2017 14:03:20 +0000 (15:03 +0100)]
chromecast: Fix undefined behavior in case of error

Removing an element from a container and using the iterator pointing to
the removed element afterward is UB

4 years agochromecast: Log the generated sout chain
Hugo Beauzée-Luyssen [Wed, 15 Feb 2017 14:01:26 +0000 (15:01 +0100)]
chromecast: Log the generated sout chain

4 years agobridge: Don't assign a boolean to a pointer
Hugo Beauzée-Luyssen [Wed, 15 Feb 2017 13:28:45 +0000 (14:28 +0100)]
bridge: Don't assign a boolean to a pointer

Fix #18019

4 years agocontrib: Bump Qt to 5.6.2
Hugo Beauzée-Luyssen [Wed, 15 Feb 2017 13:24:32 +0000 (14:24 +0100)]
contrib: Bump Qt to 5.6.2

This improve quite a bit the aspect of the interface on HiDPI screens
refs #17484

4 years agoRevert "vlc.desktop: announce support for DVD ISOs"
Hugo Beauzée-Luyssen [Wed, 15 Feb 2017 13:09:38 +0000 (14:09 +0100)]
Revert "vlc.desktop: announce support for DVD ISOs"

This reverts commit 091b14d05e6623053d75b3d03cbf013769eb9a26.

application/x-cd-image is already present in the list

4 years agoyuvp: Work around alpha being ignored when scaling
Hugo Beauzée-Luyssen [Wed, 15 Feb 2017 10:13:34 +0000 (11:13 +0100)]
yuvp: Work around alpha being ignored when scaling

This is a not-so-great fix for #15983
When swscale will scale the subpicture, it will ignore the alpha
component when interpolation is performed.
In the case of dvbsub, this often causes the filling color to be rendered as
green on the edges of region subparts.

4 years agoContribs: update ASDCPlib .pc file to 2.7.19
Jean-Baptiste Kempf [Wed, 15 Feb 2017 13:34:51 +0000 (14:34 +0100)]
Contribs: update ASDCPlib .pc file to 2.7.19

4 years agoopengl: use OPENGL common rules for OSX
Thomas Guillem [Wed, 15 Feb 2017 11:07:19 +0000 (12:07 +0100)]
opengl: use OPENGL common rules for OSX

The caopengllayer plugin has now cvpx support.

4 years agoopengl: use OPENGL common rules for Android
Thomas Guillem [Wed, 1 Feb 2017 13:51:44 +0000 (14:51 +0100)]
opengl: use OPENGL common rules for Android

4 years agoopengl: rename OPENGL common rules
Thomas Guillem [Fri, 10 Feb 2017 10:05:49 +0000 (11:05 +0100)]
opengl: rename OPENGL common rules

4 years agodemux: mp4: override sample size of raw audio (fix #17938)
Francois Cartegnie [Wed, 15 Feb 2017 11:05:02 +0000 (12:05 +0100)]
demux: mp4: override sample size of raw audio (fix #17938)

4 years agodemux: mp4: remove indirect codec mapping
Francois Cartegnie [Wed, 15 Feb 2017 11:01:05 +0000 (12:01 +0100)]
demux: mp4: remove indirect codec mapping

4 years agodemux: ogg: fix broken fix
Francois Cartegnie [Wed, 15 Feb 2017 10:14:03 +0000 (11:14 +0100)]
demux: ogg: fix broken fix

vorbis structs being allocated by demux itself, now leaks

4 years agomkv: Check file extensions in a case insensitive way
Hugo Beauzée-Luyssen [Wed, 15 Feb 2017 09:58:39 +0000 (10:58 +0100)]
mkv: Check file extensions in a case insensitive way

Fix #18017

4 years agodemux: ogg: correctly free vorbis info (refs #18015)
Francois Cartegnie [Wed, 15 Feb 2017 09:57:01 +0000 (10:57 +0100)]
demux: ogg: correctly free vorbis info (refs #18015)

4 years agoopengl: allocate textures from New()
Thomas Guillem [Wed, 15 Feb 2017 09:45:25 +0000 (10:45 +0100)]
opengl: allocate textures from New()

4 years agoopengl: cvpx: fix return values on error
Thomas Guillem [Wed, 15 Feb 2017 09:03:01 +0000 (10:03 +0100)]
opengl: cvpx: fix return values on error

4 years agoopengl: remove textures argument from get_pool
Thomas Guillem [Wed, 15 Feb 2017 09:28:55 +0000 (10:28 +0100)]
opengl: remove textures argument from get_pool

4 years agoopengl: android: create the SurfaceTexture from pf_allocate_textures
Thomas Guillem [Tue, 14 Feb 2017 14:37:27 +0000 (15:37 +0100)]
opengl: android: create the SurfaceTexture from pf_allocate_textures

4 years agoopengl: refactor program link
Thomas Guillem [Tue, 14 Feb 2017 12:50:06 +0000 (13:50 +0100)]
opengl: refactor program link

One function to attach shaders and link main and sub programs.

4 years agocore: WINAPI should be set on the pointer
Steve Lhomme [Tue, 14 Feb 2017 12:25:56 +0000 (13:25 +0100)]
core: WINAPI should be set on the pointer

We'll be consistent with all the WINAPI function pointers throughout the code.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agocompat: the official way to include WSA functions is with winsock2.h
Steve Lhomme [Tue, 14 Feb 2017 12:21:19 +0000 (13:21 +0100)]
compat: the official way to include WSA functions is with winsock2.h

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoWin32 screen: Fix cursor rendering and multi-display support
Salah-Eddin Shaban [Tue, 14 Feb 2017 21:00:27 +0000 (23:00 +0200)]
Win32 screen: Fix cursor rendering and multi-display support

Close #5987, #5988, #6659, #6980, #8299, #8871, #8876, #8878

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agocodec: substtml: handle display attribute
Francois Cartegnie [Tue, 14 Feb 2017 15:27:56 +0000 (16:27 +0100)]
codec: substtml: handle display attribute

4 years agocodec: substtml: handle set node
Francois Cartegnie [Tue, 14 Feb 2017 14:12:54 +0000 (15:12 +0100)]
codec: substtml: handle set node

4 years agosubtitles: ttml: add comment
Francois Cartegnie [Tue, 14 Feb 2017 15:31:20 +0000 (16:31 +0100)]
subtitles: ttml: add comment

4 years agodemux: ttml: gen timings based on resolved info
Francois Cartegnie [Tue, 14 Feb 2017 10:35:12 +0000 (11:35 +0100)]
demux: ttml: gen timings based on resolved info

Otherwise no timings are output on duration only nodes

4 years agocodec: substtml: only handle absolute timings
Francois Cartegnie [Tue, 14 Feb 2017 12:39:37 +0000 (13:39 +0100)]
codec: substtml: only handle absolute timings

currently we only support media time or abs generated
from demux

4 years agomisc: vlc_html_color: add [a]rgb()
Francois Cartegnie [Tue, 14 Feb 2017 16:26:39 +0000 (17:26 +0100)]
misc: vlc_html_color: add [a]rgb()

4 years agomisc: fix vlc_html_colors
Francois Cartegnie [Tue, 14 Feb 2017 16:07:10 +0000 (17:07 +0100)]
misc: fix vlc_html_colors

4 years agovaapi: require 0.39.0 (1.7.0) for VP9-10bits
Jean-Baptiste Kempf [Tue, 14 Feb 2017 16:25:44 +0000 (17:25 +0100)]
vaapi: require 0.39.0 (1.7.0) for VP9-10bits

And require 0.38 to activate VAAPI for everyone (VP9&HEVC)

Close #18011

4 years agocontrib: asdcplib: Remove use of dirent_win.h
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 16:21:29 +0000 (17:21 +0100)]
contrib: asdcplib: Remove use of dirent_win.h

4 years agoDCP: compile for Windows
Jean-Baptiste Kempf [Wed, 18 Jan 2017 00:27:09 +0000 (01:27 +0100)]
DCP: compile for Windows

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 years agoContribs: update asdcplib to 2.7.9 and port to nettle
Jean-Baptiste Kempf [Tue, 17 Jan 2017 22:04:04 +0000 (23:04 +0100)]
Contribs: update asdcplib to 2.7.9 and port to nettle

This removes the OpenSSL dependency

Close #16999 and #17815

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 years agopicture_pool: Fix potential undefined bitshift operation
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 15:06:00 +0000 (16:06 +0100)]
picture_pool: Fix potential undefined bitshift operation

If the pool size is 64, then the bit shifting operation yields an
undefined behavior
CID #1402610

4 years agotranscode: video: Remove dead code
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 14:55:51 +0000 (15:55 +0100)]
transcode: video: Remove dead code

4 years agoPuzzle: increase the maximum size to 42x42
Jean-Baptiste Kempf [Tue, 14 Feb 2017 16:15:32 +0000 (17:15 +0100)]
Puzzle: increase the maximum size to 42x42

4 years agomicrodns: Remove useless check
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 14:32:01 +0000 (15:32 +0100)]
microdns: Remove useless check

CID #1402708

4 years agodshow: Check for NULLity before dereferencing
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 14:26:48 +0000 (15:26 +0100)]
dshow: Check for NULLity before dereferencing

CID #1402712

4 years agod3d11: Reorder initializations to avoid potential handle leak
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 14:24:36 +0000 (15:24 +0100)]
d3d11: Reorder initializations to avoid potential handle leak

CID #1402713

4 years agodirect3d9: Fix potential leak
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 14:05:59 +0000 (15:05 +0100)]
direct3d9: Fix potential leak

CID #1402721

4 years agoqt: Fix memory leak
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 14:02:25 +0000 (15:02 +0100)]
qt: Fix memory leak

CID #1402725

4 years agoqt: Use wide char to initialize a wchar array
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 13:39:22 +0000 (14:39 +0100)]
qt: Use wide char to initialize a wchar array

4 years agoqt: Fix GetLogicalDriveStrings usage
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 13:38:13 +0000 (14:38 +0100)]
qt: Fix GetLogicalDriveStrings usage

The buffer size is expressed in TCHAR, not bytes
CID #1402735

4 years agontservice: Don't attempt to concatenate with an empty string
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 13:30:13 +0000 (14:30 +0100)]
ntservice: Don't attempt to concatenate with an empty string

4 years agontservice: Fix potential buffer overflow
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 13:27:56 +0000 (14:27 +0100)]
ntservice: Fix potential buffer overflow

CID #1402742

4 years agontservice: Fix potential leak
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 13:23:43 +0000 (14:23 +0100)]
ntservice: Fix potential leak

4 years agodirectsound: Remove xrealloc/abort usages
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 13:16:56 +0000 (14:16 +0100)]
directsound: Remove xrealloc/abort usages

Also check for allocation failure before using the pointer
CID #1402750

4 years agodmo: Fix self-assignment
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 13:13:21 +0000 (14:13 +0100)]
dmo: Fix self-assignment

CID #1402754

4 years agodshow: CapturePin: Default initialize AM_MEDIA_TYPE
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 13:10:35 +0000 (14:10 +0100)]
dshow: CapturePin: Default initialize AM_MEDIA_TYPE

CID #1402768

4 years agodbargraph: Remove unused variable
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 13:03:50 +0000 (14:03 +0100)]
dbargraph: Remove unused variable

CID #1402771

4 years agodbargraph: Remove unused member variables
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 12:52:03 +0000 (13:52 +0100)]
dbargraph: Remove unused member variables

CID #1402778

4 years agodbargraph: Fix uninitialized refcount
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 12:51:47 +0000 (13:51 +0100)]
dbargraph: Fix uninitialized refcount

CID #1402778

4 years agodshow: Remove unused assignment
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 12:45:38 +0000 (13:45 +0100)]
dshow: Remove unused assignment

CID #1402779

4 years agodbagraph: Fix potential double free
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 12:42:04 +0000 (13:42 +0100)]
dbagraph: Fix potential double free

CID #1402780

4 years agoscreen: Fix potential use after free
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 10:49:18 +0000 (11:49 +0100)]
screen: Fix potential use after free

CID #1402783

4 years agodmo: Fix use after free
Hugo Beauzée-Luyssen [Tue, 14 Feb 2017 10:48:27 +0000 (11:48 +0100)]
dmo: Fix use after free

CID #1402784

4 years agoDon't check unsigned variables for negativeness
Hugo Beauzée-Luyssen [Mon, 13 Feb 2017 13:35:01 +0000 (14:35 +0100)]
Don't check unsigned variables for negativeness

4 years agocontrib: ffmpeg doesn't support --disable-decoder=libvpx
Hugo Beauzée-Luyssen [Mon, 13 Feb 2017 11:22:18 +0000 (12:22 +0100)]
contrib: ffmpeg doesn't support --disable-decoder=libvpx

4 years agoSupport m1v FourCC
Jean-Baptiste Kempf [Tue, 14 Feb 2017 12:48:40 +0000 (13:48 +0100)]
Support m1v FourCC

4 years agodemux: asf: check malloc
Francois Cartegnie [Mon, 13 Feb 2017 17:12:35 +0000 (18:12 +0100)]
demux: asf: check malloc

4 years agodemux: asf: the 'unknown' guid is binary media format
Francois Cartegnie [Mon, 13 Feb 2017 17:10:40 +0000 (18:10 +0100)]
demux: asf: the 'unknown' guid is binary media format

4 years agodemux: asf: disable the use of extension pts for dvr-ms
Francois Cartegnie [Mon, 13 Feb 2017 16:20:43 +0000 (17:20 +0100)]
demux: asf: disable the use of extension pts for dvr-ms

Breaks with offset pts recordings.
Better to stutter than not playing al all.
Until other solution is found.

4 years agodemux: libasf: check reads
Francois Cartegnie [Mon, 13 Feb 2017 16:04:56 +0000 (17:04 +0100)]
demux: libasf: check reads

4 years agodemux: libasf: fix invalid extension size on failed malloc
Francois Cartegnie [Mon, 13 Feb 2017 16:04:07 +0000 (17:04 +0100)]
demux: libasf: fix invalid extension size on failed malloc

4 years agodemux: asf: fix non packetized AC3 issues with DVR-MS
Francois Cartegnie [Mon, 13 Feb 2017 11:07:47 +0000 (12:07 +0100)]
demux: asf: fix non packetized AC3 issues with DVR-MS

4 years agodemux: libasf: handle failed read
Francois Cartegnie [Mon, 13 Feb 2017 15:52:14 +0000 (16:52 +0100)]
demux: libasf: handle failed read

and stupid peek ok = read ok

4 years agodemux: asf: fix extension boundary
Francois Cartegnie [Mon, 13 Feb 2017 15:47:19 +0000 (16:47 +0100)]
demux: asf: fix extension boundary

4 years agodemux: libasf: use helper for reader entries
Francois Cartegnie [Mon, 13 Feb 2017 15:18:39 +0000 (16:18 +0100)]
demux: libasf: use helper for reader entries

4 years agodemux: libasf: split object parenting
Francois Cartegnie [Mon, 13 Feb 2017 15:00:06 +0000 (16:00 +0100)]
demux: libasf: split object parenting

4 years agomacOS: fix distcheck
Jean-Baptiste Kempf [Mon, 13 Feb 2017 08:43:16 +0000 (09:43 +0100)]
macOS: fix distcheck