vlc.git
6 years agomacosx: Replace method of auto-expanding all items in the Source List
Marvin Scholz [Wed, 23 Sep 2015 16:48:57 +0000 (18:48 +0200)]
macosx: Replace method of auto-expanding all items in the Source List

This replaces the iteration over all items and expanding them with a
single call to the expand method, passing nil for the item, which
causes all items to expand.
This works since OS X 10.5.

Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
6 years agoauhal: do not add long latency to time_get callback
David Fuhrmann [Wed, 23 Sep 2015 19:49:40 +0000 (21:49 +0200)]
auhal: do not add long latency to time_get callback

Currently, the VLC code cannot cope with big audio device
latencies as reported by airplay devices. Thus disable the
latency calculation for those devices for now.

refs #14042

6 years agodemux: adaptative: remove self used method
Francois Cartegnie [Wed, 23 Sep 2015 19:04:27 +0000 (21:04 +0200)]
demux: adaptative: remove self used method

6 years agodemux: adaptative: fix mp4 seek after streamdemux restart
Francois Cartegnie [Wed, 23 Sep 2015 19:02:45 +0000 (21:02 +0200)]
demux: adaptative: fix mp4 seek after streamdemux restart

6 years agodemux: adaptative: convert tracker to use getNextSegment
Francois Cartegnie [Wed, 23 Sep 2015 16:18:21 +0000 (18:18 +0200)]
demux: adaptative: convert tracker to use getNextSegment

6 years agodemux: adaptative: set template sequence number to startnumber
Francois Cartegnie [Wed, 23 Sep 2015 16:10:09 +0000 (18:10 +0200)]
demux: adaptative: set template sequence number to startnumber

6 years agodemux: adaptative: remove unused member
Francois Cartegnie [Wed, 23 Sep 2015 14:08:32 +0000 (16:08 +0200)]
demux: adaptative: remove unused member

6 years agodemux: adaptative: encap demuxers in class
Francois Cartegnie [Wed, 23 Sep 2015 13:21:06 +0000 (15:21 +0200)]
demux: adaptative: encap demuxers in class

6 years agodemux: adaptative: recycle output on format change
Francois Cartegnie [Wed, 23 Sep 2015 11:05:19 +0000 (13:05 +0200)]
demux: adaptative: recycle output on format change

avoids dropping current command queue and not recycling
compatible es

6 years agodemux: adaptative: add streamoutput recycling
Francois Cartegnie [Wed, 23 Sep 2015 11:02:00 +0000 (13:02 +0200)]
demux: adaptative: add streamoutput recycling

6 years agodemux: adaptative: add tracker listeners interface
Francois Cartegnie [Tue, 22 Sep 2015 20:47:30 +0000 (22:47 +0200)]
demux: adaptative: add tracker listeners interface

6 years agodemux: adaptative: add setPosition by segment number
Francois Cartegnie [Tue, 22 Sep 2015 20:47:04 +0000 (22:47 +0200)]
demux: adaptative: add setPosition by segment number

6 years agodemux: adaptative: add segment by position
Francois Cartegnie [Tue, 22 Sep 2015 20:14:14 +0000 (22:14 +0200)]
demux: adaptative: add segment by position

6 years agodemux: adaptative: flag template segments
Francois Cartegnie [Wed, 23 Sep 2015 15:48:28 +0000 (17:48 +0200)]
demux: adaptative: flag template segments

6 years agomacosx: Remove simple Settings shortcut list click action
Marvin Scholz [Tue, 22 Sep 2015 16:19:35 +0000 (18:19 +0200)]
macosx: Remove simple Settings shortcut list click action

This removes the simple settings shortcut list click action,
as it causes the Change Shortcut dialog to open even when clicking
on the list header. Additonally it feels weird to trigger this
dialog with just a single click.

Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
6 years agodemux: asf: ignore pts when no delta specified (fix #15090)
Francois Cartegnie [Tue, 22 Sep 2015 09:21:46 +0000 (11:21 +0200)]
demux: asf: ignore pts when no delta specified (fix #15090)

6 years agodemux: hls: add missing ctime header
Francois Cartegnie [Mon, 21 Sep 2015 22:44:31 +0000 (00:44 +0200)]
demux: hls: add missing ctime header

6 years agodemux: hls: don't compute duration from unloaded playlists
Francois Cartegnie [Mon, 21 Sep 2015 22:32:55 +0000 (00:32 +0200)]
demux: hls: don't compute duration from unloaded playlists

6 years agodemux: adaptative: reset PCR when switching output
Francois Cartegnie [Mon, 21 Sep 2015 20:01:54 +0000 (22:01 +0200)]
demux: adaptative: reset PCR when switching output

Otherwise the timeshift waits timeoffset

6 years agodemux: hls: move updates to local playlists with lazy loading
Francois Cartegnie [Mon, 21 Sep 2015 19:02:20 +0000 (21:02 +0200)]
demux: hls: move updates to local playlists with lazy loading

6 years agodemux: adaptative: change relative playbackoffset to absolute
Francois Cartegnie [Mon, 21 Sep 2015 16:01:52 +0000 (18:01 +0200)]
demux: adaptative: change relative playbackoffset to absolute

6 years agodemux: adaptative: add element number to timelines
Francois Cartegnie [Mon, 21 Sep 2015 12:57:16 +0000 (14:57 +0200)]
demux: adaptative: add element number to timelines

6 years agodemux: adaptative: add sequence number to all segments
Francois Cartegnie [Thu, 17 Sep 2015 17:49:52 +0000 (19:49 +0200)]
demux: adaptative: add sequence number to all segments

6 years agodemux: hls: reject subtitles
Francois Cartegnie [Wed, 16 Sep 2015 21:22:46 +0000 (23:22 +0200)]
demux: hls: reject subtitles

We have no demuxer for it

6 years agodemux: adaptative: always fallback on representation format
Francois Cartegnie [Wed, 16 Sep 2015 21:19:22 +0000 (23:19 +0200)]
demux: adaptative: always fallback on representation format

6 years agodemux: adaptative: add missing adaptationSet by ID
Francois Cartegnie [Wed, 16 Sep 2015 13:40:14 +0000 (15:40 +0200)]
demux: adaptative: add missing adaptationSet by ID

6 years agodemux: adaptative: merge content by ID
Francois Cartegnie [Wed, 16 Sep 2015 13:39:10 +0000 (15:39 +0200)]
demux: adaptative: merge content by ID

6 years agodemux: adaptative: allow to refresh segments
Francois Cartegnie [Tue, 15 Sep 2015 22:36:10 +0000 (00:36 +0200)]
demux: adaptative: allow to refresh segments

6 years agodemux: hls: modify sub/playlist parsing for lazy loading
Francois Cartegnie [Tue, 15 Sep 2015 21:45:54 +0000 (23:45 +0200)]
demux: hls: modify sub/playlist parsing for lazy loading

6 years agodemux: adaptative: merge segment info on double set
Francois Cartegnie [Wed, 16 Sep 2015 14:30:46 +0000 (16:30 +0200)]
demux: adaptative: merge segment info on double set

6 years agodemux: adaptative: fix mismatched destructor
Francois Cartegnie [Tue, 15 Sep 2015 21:41:31 +0000 (23:41 +0200)]
demux: adaptative: fix mismatched destructor

at least, valgrind complains

6 years agodemux: adaptative: unify and make default id local to parent node
Francois Cartegnie [Tue, 15 Sep 2015 17:00:08 +0000 (19:00 +0200)]
demux: adaptative: unify and make default id local to parent node

6 years agodemux: adaptative: refactor a bit commands
Francois Cartegnie [Tue, 15 Sep 2015 10:26:28 +0000 (12:26 +0200)]
demux: adaptative: refactor a bit commands

6 years agodemux: hls: EXTINF as modifier tag, and add URI
Francois Cartegnie [Wed, 16 Sep 2015 20:14:50 +0000 (22:14 +0200)]
demux: hls: EXTINF as modifier tag, and add URI

Otherwise breaks if modifiers between EXTINF and
uri value line.

6 years agodemux: dash: create virtual segment for subtitles
Francois Cartegnie [Fri, 11 Sep 2015 08:57:03 +0000 (10:57 +0200)]
demux: dash: create virtual segment for subtitles

6 years agodemux: dash: fix onDemand regression
Francois Cartegnie [Mon, 14 Sep 2015 19:20:40 +0000 (21:20 +0200)]
demux: dash: fix onDemand regression

We need to send segment index for segment splitting.
regression by c1591aa1246bcc1c0dd292d64c2757443d2a354d

6 years agodemux: adaptative: avoid 1st segment loop on dead demux
Francois Cartegnie [Sat, 12 Sep 2015 21:03:03 +0000 (23:03 +0200)]
demux: adaptative: avoid 1st segment loop on dead demux

6 years agodemux: adaptative: don't set playlist url as baseurl
Francois Cartegnie [Fri, 11 Sep 2015 09:18:08 +0000 (11:18 +0200)]
demux: adaptative: don't set playlist url as baseurl

We need playlist url as another extra level as some playlists have
the good idea to set baseurl to relative path :/

6 years agodemux: subtitle: dont break non-seekable streams
Francois Cartegnie [Thu, 10 Sep 2015 20:54:33 +0000 (22:54 +0200)]
demux: subtitle: dont break non-seekable streams

6 years agomacosx: fix reversed order of advanced prefs items (close #15493)
David Fuhrmann [Sun, 20 Sep 2015 13:30:28 +0000 (15:30 +0200)]
macosx: fix reversed order of advanced prefs items (close #15493)

This reverts code which was deleted for no reason. :-)

6 years agomacosx: fix double free in advanced preferences dialog
David Fuhrmann [Sun, 20 Sep 2015 12:32:07 +0000 (14:32 +0200)]
macosx: fix double free in advanced preferences dialog

6 years agomacosx: fix warning about missing method implementation
David Fuhrmann [Sun, 20 Sep 2015 12:19:40 +0000 (14:19 +0200)]
macosx: fix warning about missing method implementation

6 years agomacosx: use var_Inherit* for large text setting
David Fuhrmann [Sun, 20 Sep 2015 12:19:18 +0000 (14:19 +0200)]
macosx: use var_Inherit* for large text setting

6 years agolibvlc.sym: add missing libvlc_media_player_set_android_context
Thomas Guillem [Thu, 17 Sep 2015 15:47:06 +0000 (17:47 +0200)]
libvlc.sym: add missing  libvlc_media_player_set_android_context

6 years agompeg_audio: fix build without HAVE_MPGA_FILTER
Thomas Guillem [Thu, 17 Sep 2015 12:53:26 +0000 (14:53 +0200)]
mpeg_audio: fix build without HAVE_MPGA_FILTER

Fixes #15476

6 years agodecoder: reset b_error when unloading a module
Thomas Guillem [Wed, 16 Sep 2015 16:28:52 +0000 (18:28 +0200)]
decoder: reset b_error when unloading a module

6 years agompeg_audio: don't send invalid data on drain
Thomas Guillem [Wed, 16 Sep 2015 16:22:18 +0000 (18:22 +0200)]
mpeg_audio: don't send invalid data on drain

6 years agomepg_audio: fix p_sys not initialized
Thomas Guillem [Wed, 16 Sep 2015 15:16:38 +0000 (17:16 +0200)]
mepg_audio: fix p_sys not initialized

6 years agompeg_audio: remove unused variable
Thomas Guillem [Wed, 16 Sep 2015 15:15:49 +0000 (17:15 +0200)]
mpeg_audio: remove unused variable

6 years agoMove HTML color handling to text_style
Hugo Beauzée-Luyssen [Wed, 16 Sep 2015 09:03:13 +0000 (11:03 +0200)]
Move HTML color handling to text_style

6 years agottml: Basic styling support
Sushma Reddy [Wed, 16 Sep 2015 08:07:35 +0000 (10:07 +0200)]
ttml: Basic styling support

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 years agocontrib: fix live555 usage on Windows App Store builds
Steve Lhomme [Mon, 14 Sep 2015 12:40:43 +0000 (14:40 +0200)]
contrib: fix live555 usage on Windows App Store builds

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agocontrib: iconv can use GetACP() that is simulated on WinRT builds
Steve Lhomme [Mon, 14 Sep 2015 12:40:42 +0000 (14:40 +0200)]
contrib: iconv can use GetACP() that is simulated on WinRT builds

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agocontrib: don't build the tests and doc for gnutls
Steve Lhomme [Mon, 14 Sep 2015 12:40:41 +0000 (14:40 +0200)]
contrib: don't build the tests and doc for gnutls

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agodirect3d11: handle picture cropping using RSSetViewports()
Steve Lhomme [Mon, 14 Sep 2015 09:23:03 +0000 (11:23 +0200)]
direct3d11: handle picture cropping using RSSetViewports()

fixes the cropping of offset_test.ogv

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agodirect3d11: code cleaning
Steve Lhomme [Mon, 14 Sep 2015 09:35:22 +0000 (11:35 +0200)]
direct3d11: code cleaning

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoiOS vout: re-use existing OpenGL context if available and compatible
Felix Paul Kühne [Mon, 14 Sep 2015 12:32:59 +0000 (14:32 +0200)]
iOS vout: re-use existing OpenGL context if available and compatible

6 years agovideotoolbox: fix crash if timestamps array is empty
Tobias Conradi [Fri, 11 Sep 2015 21:17:08 +0000 (23:17 +0200)]
videotoolbox: fix crash if timestamps array is empty

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
6 years agovmem: fix NULL dereference
Thomas Guillem [Fri, 11 Sep 2015 16:57:36 +0000 (18:57 +0200)]
vmem: fix NULL dereference

6 years agoiOS build script: enable gcrypt
Felix Paul Kühne [Fri, 11 Sep 2015 14:43:29 +0000 (16:43 +0200)]
iOS build script: enable gcrypt

6 years agocontrib/gcrypt: disable doc compilation
Felix Paul Kühne [Sun, 7 Dec 2014 19:02:18 +0000 (20:02 +0100)]
contrib/gcrypt: disable doc compilation

6 years agocontrib/gcrypt: disable tests compilation
Felix Paul Kühne [Fri, 11 Sep 2015 14:43:11 +0000 (16:43 +0200)]
contrib/gcrypt: disable tests compilation

6 years agoios build script: add support for tvOS
Felix Paul Kühne [Fri, 11 Sep 2015 10:42:32 +0000 (12:42 +0200)]
ios build script: add support for tvOS

6 years agoios build script: add support for tvOS
Felix Paul Kühne [Fri, 11 Sep 2015 10:42:32 +0000 (12:42 +0200)]
ios build script: add support for tvOS

6 years agocontrib: enable support for custom SDKROOTs without messing with the system and add...
Felix Paul Kühne [Fri, 11 Sep 2015 10:38:40 +0000 (12:38 +0200)]
contrib: enable support for custom SDKROOTs without messing with the system and add support for tvOS

6 years agodecomp filter: disable for tvOS
Felix Paul Kühne [Fri, 11 Sep 2015 10:41:37 +0000 (12:41 +0200)]
decomp filter: disable for tvOS

6 years agoaout iOS: enable for tvOS
Felix Paul Kühne [Fri, 11 Sep 2015 10:41:20 +0000 (12:41 +0200)]
aout iOS: enable for tvOS

6 years agovout iOS: enable for tvOS
Felix Paul Kühne [Fri, 11 Sep 2015 10:41:09 +0000 (12:41 +0200)]
vout iOS: enable for tvOS

6 years agoconfigure: add header check for VideoToolbox
Felix Paul Kühne [Fri, 11 Sep 2015 10:39:36 +0000 (12:39 +0200)]
configure: add header check for VideoToolbox

This fixes compilation for Darwin platforms without this framework

6 years agoconfigure: add detection for tvOS
Felix Paul Kühne [Fri, 11 Sep 2015 10:37:41 +0000 (12:37 +0200)]
configure: add detection for tvOS

6 years agoAudioUnit: fix compilation for tvOS
Felix Paul Kühne [Thu, 10 Sep 2015 18:04:50 +0000 (20:04 +0200)]
AudioUnit: fix compilation for tvOS

6 years agobluray: emit empty frame when there's no background video
Petri Hintukainen [Thu, 10 Sep 2015 08:13:41 +0000 (11:13 +0300)]
bluray: emit empty frame when there's no background video

Required for BD-J menus without background video.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agolibvlc media list player: add getter for player instance
Felix Paul Kühne [Thu, 10 Sep 2015 11:43:36 +0000 (13:43 +0200)]
libvlc media list player: add getter for player instance

6 years agoD3D11: include assert.h for vlc_assert_unreachable()
Jean-Baptiste Kempf [Thu, 10 Sep 2015 16:14:08 +0000 (18:14 +0200)]
D3D11: include assert.h for vlc_assert_unreachable()

6 years agocontribs: only force ass optimizations when WITH_OPTIMIZATION is set
Steve Lhomme [Fri, 31 Jul 2015 14:54:54 +0000 (16:54 +0200)]
contribs: only force ass optimizations when WITH_OPTIMIZATION is set

otherwise bring the debug symbols

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agocontribs: disable harfbuzz for WinRT
Steve Lhomme [Fri, 31 Jul 2015 14:54:53 +0000 (16:54 +0200)]
contribs: disable harfbuzz for WinRT

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agocontribs: libass, only include strings.h if it's available
Steve Lhomme [Fri, 31 Jul 2015 14:54:52 +0000 (16:54 +0200)]
contribs: libass, only include strings.h if it's available

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agod3d11va: use the same output format order as the vout for safer compatibility
Steve Lhomme [Fri, 31 Jul 2015 14:54:46 +0000 (16:54 +0200)]
d3d11va: use the same output format order as the vout for safer compatibility

in debug builds log all the support DXGI output formats

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agodirect3d11: only change the pixel shader if the first output texture is DXGI_FORMAT_R...
Steve Lhomme [Fri, 31 Jul 2015 14:54:45 +0000 (16:54 +0200)]
direct3d11: only change the pixel shader if the first output texture is DXGI_FORMAT_R8_UNORM

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agolibvlc media list player: attach observer after player instance creation
Felix Paul Kühne [Thu, 10 Sep 2015 11:40:26 +0000 (13:40 +0200)]
libvlc media list player: attach observer after player instance creation

6 years agovideotoolbox: fix variable inheritance
Felix Paul Kühne [Thu, 10 Sep 2015 14:34:15 +0000 (16:34 +0200)]
videotoolbox: fix variable inheritance

6 years agolib/media player: remove remnant
Felix Paul Kühne [Thu, 10 Sep 2015 14:35:57 +0000 (16:35 +0200)]
lib/media player: remove remnant

6 years agodirect3d11: fix subpictures textures not always mapped the same between calls
Steve Lhomme [Fri, 31 Jul 2015 14:54:49 +0000 (16:54 +0200)]
direct3d11: fix subpictures textures not always mapped the same between calls

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agocodec: subs: apply default styles to regions on update
Francois Cartegnie [Thu, 10 Sep 2015 12:03:01 +0000 (14:03 +0200)]
codec: subs: apply default styles to regions on update

6 years agotext_style: fix text_segment_Copy
Francois Cartegnie [Thu, 10 Sep 2015 12:01:11 +0000 (14:01 +0200)]
text_style: fix text_segment_Copy

6 years agotext_style: fix text_segment_Copy() when there's no next segment
Steve Lhomme [Thu, 10 Sep 2015 11:39:19 +0000 (13:39 +0200)]
text_style: fix text_segment_Copy() when there's no next segment

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
6 years agoSFTP: use the correct variable types
Jean-Baptiste Kempf [Thu, 10 Sep 2015 12:02:43 +0000 (14:02 +0200)]
SFTP: use the correct variable types

6 years agosftp: remove unused sftp-readsize
Petri Hintukainen [Thu, 10 Sep 2015 07:41:29 +0000 (10:41 +0300)]
sftp: remove unused sftp-readsize

6 years agomacosx: update code-signing script for the future
Felix Paul Kühne [Wed, 9 Sep 2015 15:08:11 +0000 (17:08 +0200)]
macosx: update code-signing script for the future

6 years agoD3D: the surface allocated for the pool needs to have the decoder size
Steve Lhomme [Wed, 9 Sep 2015 12:32:04 +0000 (14:32 +0200)]
D3D: the surface allocated for the pool needs to have the decoder size

in the case of direct rendering picture_CopyPixels is used to transfer from
the decoder to the display and requires the same surface properties

the planes now have the same lines/pixels as the decoder, not just the visible ones

fixes #14531

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agocontrib: fix eof not detected when looking for an ID size
Steve Lhomme [Fri, 21 Aug 2015 11:49:29 +0000 (13:49 +0200)]
contrib: fix eof not detected when looking for an ID size

do use the data in memory that wasn't actually read

Close #14783

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agodirect3d11: fix the subpictures position on Winstore apps
Steve Lhomme [Fri, 28 Aug 2015 07:17:28 +0000 (09:17 +0200)]
direct3d11: fix the subpictures position on Winstore apps

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoaout: fix use after free
Hannes Domani [Thu, 27 Aug 2015 14:18:26 +0000 (16:18 +0200)]
aout: fix use after free

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agodirect3d9: the surface allocated from the pool needs to have the decoder size
Steve Lhomme [Mon, 7 Sep 2015 12:40:47 +0000 (14:40 +0200)]
direct3d9: the surface allocated from the pool needs to have the decoder size

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agodemux: adaptative: fix chained initializations bug
Francois Cartegnie [Wed, 9 Sep 2015 09:41:25 +0000 (11:41 +0200)]
demux: adaptative: fix chained initializations bug

Since the bw adaptation can go really fast now,
we need to be sure to send at least 1 data segment
before switching to another.
Otherwise we'll have multiple moov bug and can
also never get any data outside of init segments.

6 years agodemux: mp4: ensure to load fragmented index
Francois Cartegnie [Wed, 9 Sep 2015 09:10:16 +0000 (11:10 +0200)]
demux: mp4: ensure to load fragmented index

Could be skipped as we stop parsing on moov
and index can live between moov and moof

6 years agodemux: mp4: fix leak
Francois Cartegnie [Tue, 8 Sep 2015 17:22:39 +0000 (19:22 +0200)]
demux: mp4: fix leak

6 years agodemux: mp4: remove unused param in MP4_Free
Francois Cartegnie [Tue, 8 Sep 2015 17:17:41 +0000 (19:17 +0200)]
demux: mp4: remove unused param in MP4_Free

6 years agodemux: mp4: add check for reversed moov/mdat order with non seekable files
Francois Cartegnie [Tue, 8 Sep 2015 14:53:33 +0000 (16:53 +0200)]
demux: mp4: add check for reversed moov/mdat order with non seekable files

6 years agodemux: libmp4: rewrite nextbox/container reading
Francois Cartegnie [Tue, 8 Sep 2015 14:42:57 +0000 (16:42 +0200)]
demux: libmp4: rewrite nextbox/container reading