Marvin Scholz [Fri, 16 Oct 2015 16:42:23 +0000 (18:42 +0200)]
contrib/growl: Add growl patch that comments out logging
The patch comments out logging which causes a warning log message
when setting the growl bridge delegate to nil. This is a problem,
as we need to set it to nil, so that the growl bridge will release
our delegate. Else it will never be released and dealloc will
not get called.
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Marvin Scholz [Fri, 16 Oct 2015 22:25:52 +0000 (00:25 +0200)]
growl: Add OS X user notifications as fallback to Growl notifications
This adds native OS X user notifications as fallback, if Growl is
currently not running. Those native notifications are only available
on 10.8+, therefore some preprocessor conditionals prevent that this
breaks 10.7 compilation.
There is no explicit check if the class is available as it should be
on all 10.8 systems.
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Felix Paul Kühne [Wed, 14 Oct 2015 15:10:17 +0000 (17:10 +0200)]
UPnP discovery: add support for SAT>IP servers (closes #11929, closes #15540)
Some servers don't provide a playlist of their channels, so we need to download the list for the chosen satellite from the web and process it accordingly
Pierre Ynard [Fri, 16 Oct 2015 22:35:26 +0000 (00:35 +0200)]
doc: install liveleak.lua sample script instead of soundcloud.lua
soundcloud.lua is no longer the trivial example it was before
Pierre Ynard [Fri, 16 Oct 2015 22:22:22 +0000 (00:22 +0200)]
soundcloud.lua: rewrite for changes
Complete rewrite due to website changes.
Based on reverse engineering by Daniel Ekmann, thanks!
Francois Cartegnie [Fri, 16 Oct 2015 17:54:10 +0000 (19:54 +0200)]
demux: mp4: missing temp box parenting
Otherwise fails special parenting checks
ex: in ATOM_meta reads
Petri Hintukainen [Fri, 16 Oct 2015 16:03:57 +0000 (19:03 +0300)]
bluray: use input attachment for album art
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Petri Hintukainen [Fri, 16 Oct 2015 16:01:58 +0000 (19:01 +0300)]
bluray: split blurayDemux()
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Petri Hintukainen [Fri, 16 Oct 2015 16:01:00 +0000 (19:01 +0300)]
Add configure check for sapi.h
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Fri, 16 Oct 2015 17:15:20 +0000 (19:15 +0200)]
libVLC: Expose DiscTotal meta
Jean-Baptiste Kempf [Fri, 16 Oct 2015 17:03:46 +0000 (19:03 +0200)]
Taglib: use new method for Vorbis Comments TRACKNUMBER parsing
Because of course TRACKNUMBER can be xx or xx/xx, and then depending on
the result we need TRACKTOTAL and TOTALTRACKS
Jean-Baptiste Kempf [Fri, 16 Oct 2015 17:00:42 +0000 (19:00 +0200)]
Taglib: extract DiscNumber/DiscTotal from ID3v2
Jean-Baptiste Kempf [Fri, 16 Oct 2015 17:00:09 +0000 (19:00 +0200)]
Taglib: extract first value only if couple is incomplete
Jean-Baptiste Kempf [Fri, 16 Oct 2015 16:18:35 +0000 (18:18 +0200)]
Taglib: rename extraction function
Jean-Baptiste Kempf [Fri, 16 Oct 2015 16:17:04 +0000 (18:17 +0200)]
Taglib: generalize the couple-in-string extraction
Jean-Baptiste Kempf [Fri, 16 Oct 2015 16:31:29 +0000 (18:31 +0200)]
Meta: add DiscTotal
Jean-Baptiste Kempf [Fri, 16 Oct 2015 16:12:06 +0000 (18:12 +0200)]
Qt: expose disc number in the extra info panel
Jean-Baptiste Kempf [Thu, 15 Oct 2015 22:44:45 +0000 (00:44 +0200)]
Add RebeccaPurple color
Jean-Baptiste Kempf [Thu, 15 Oct 2015 21:17:34 +0000 (23:17 +0200)]
Win32 debug: reindent
Thomas Guillem [Thu, 15 Oct 2015 12:02:55 +0000 (14:02 +0200)]
libvlc_media_player: fix unused warning
Thomas Guillem [Thu, 15 Oct 2015 07:43:28 +0000 (09:43 +0200)]
tizen_audio: use new 2.4 functions dynamically
Ludovic Fauvet [Wed, 14 Oct 2015 16:23:16 +0000 (18:23 +0200)]
mpg123: lower the verbosity for MPG123_NEED_MORE
Francois Cartegnie [Wed, 14 Oct 2015 15:29:08 +0000 (17:29 +0200)]
demux: mp4: s/file/media
Francois Cartegnie [Wed, 14 Oct 2015 15:27:41 +0000 (17:27 +0200)]
demux: mp4: remove dash flag
Francois Cartegnie [Wed, 14 Oct 2015 15:24:05 +0000 (17:24 +0200)]
demux: mp4: remove legacy dash probe prevention (fix #15412)
Francois Cartegnie [Wed, 14 Oct 2015 15:15:13 +0000 (17:15 +0200)]
demux: mp4: fix uninitialized vars on failure handling
Francois Cartegnie [Wed, 14 Oct 2015 15:10:48 +0000 (17:10 +0200)]
demux: mp4: missing initializer
Francois Cartegnie [Wed, 14 Oct 2015 14:52:23 +0000 (16:52 +0200)]
demux: mp4: don't seek to mdat after each probing
Francois Cartegnie [Wed, 14 Oct 2015 14:51:24 +0000 (16:51 +0200)]
demux: libmp4: don't seek to end of container on conditional stop
Francois Cartegnie [Sun, 11 Oct 2015 20:28:03 +0000 (22:28 +0200)]
demux: mp4: split fragment related code
Francois Cartegnie [Mon, 12 Oct 2015 14:18:42 +0000 (16:18 +0200)]
libmp4: add scaled time alias
Ilkka Ollakka [Tue, 13 Oct 2015 20:38:17 +0000 (23:38 +0300)]
libvpx: fix vpx compile for previous revert.
Ilkka Ollakka [Tue, 13 Oct 2015 20:30:46 +0000 (23:30 +0300)]
Revert "codec: don't drop discontinue blocks"
This reverts commit
5e36cb2c1485830cf152c05767301a6732b08297.
Ilkka Ollakka [Tue, 13 Oct 2015 20:29:15 +0000 (23:29 +0300)]
Revert "codec: don't drop blocks marked BLOCK_FLAG_DISCONTINUITY"
This reverts commit
48a867c768aeddcd2756c49960eaa2eb42629fbe.
Revert for futher checking
Felix Paul Kühne [Tue, 13 Oct 2015 16:32:46 +0000 (18:32 +0200)]
videotoolbox: reject non-video ES
Jean-Paul Saman [Tue, 14 Jul 2015 14:20:12 +0000 (16:20 +0200)]
input stats: handle malloc error
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Felix Paul Kühne [Tue, 13 Oct 2015 16:02:03 +0000 (18:02 +0200)]
videotoolbox: don't modify the decoder's input structure
Felix Paul Kühne [Tue, 13 Oct 2015 13:22:50 +0000 (15:22 +0200)]
ass: auto-detect font-provider
Jean-Paul Saman [Fri, 18 Sep 2015 12:45:33 +0000 (15:45 +0300)]
codec: don't drop blocks marked BLOCK_FLAG_DISCONTINUITY
If blocks are marked BLOCK_FLAG_DISCONTINUITY then do not drop them,
unless BLOCK_FLAGS_CORRUPTED is set. Instead flush old blocks from decoder
queue and restart at this new stream access point (new timeline).
Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
Ilkka Ollakka [Sat, 19 Sep 2015 15:00:41 +0000 (18:00 +0300)]
packetizer: don't drop blocks with DISCONTINUITY
Do not drop blocks with BLOCK_FLAG_DISCONTINUITY, but do drop blocks with BLOCK_FLAG_CORRUPTED.
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
Jean-Paul Saman [Sun, 20 Sep 2015 10:52:37 +0000 (12:52 +0200)]
codec/vpx.c: do not leak memory.
Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
Ilkka Ollakka [Fri, 18 Sep 2015 12:45:33 +0000 (15:45 +0300)]
codec: don't drop discontinue blocks
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
Jean-Paul Saman [Sun, 20 Sep 2015 09:11:13 +0000 (11:11 +0200)]
qt4: discontinuity stats signal timeline changes in the content
Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
Jean-Paul Saman [Sun, 20 Sep 2015 08:59:11 +0000 (10:59 +0200)]
ts demuxer: Passthrough timeline discontinuity
Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
Jean-Paul Saman [Sun, 20 Sep 2015 08:27:43 +0000 (10:27 +0200)]
avcodec/video.c: do not drop good data on discontinuity but only on data corruption.
Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
Jean-Paul Saman [Sun, 20 Sep 2015 08:37:57 +0000 (10:37 +0200)]
vlc_block.h: Clarify usage of BLOCK_FLAG_DISCONTINUITY
The BLOCK_FLAG_DISCONTINUITY signals timeline changes from the source content or due to seeking.
BLOCK_FLAG_CORRUPTION signals data corruption due to corrupted or dropped packets, this includes
transport stream continuity counter mismatches.
Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
Felix Paul Kühne [Mon, 12 Oct 2015 16:46:32 +0000 (18:46 +0200)]
macosx: fix compilation with Xcode 6.3
Marvin Scholz [Fri, 9 Oct 2015 16:02:58 +0000 (18:02 +0200)]
macosx: Rename the Playlist related class files to match the class name
This renames the playlist related class files to match the class name,
which makes it easier to find the which belongs to a certain class and
follows common Cocoa/Obj C file naming conventions.
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Julian Scheel [Fri, 9 Oct 2015 08:07:08 +0000 (10:07 +0200)]
mmal: Fix picture passing through mmal
Assign the picture pointer to mmal buffers user_data right before passing it
into mmal instead of doing it in mmal_picture_lock. This is necessary, because
the picture pointer used to call mmal_picture_lock points to the original
picture instance, while the picture handed to the plugins from
picture_pool_Get is a clone of the original picture. Assigning the picture in
user_data caused picture_Release to be called on the original instead of the
clone. Since commit
22e61f10 this is fatal as the pf_destroy pointer is not
pointing to picture_pool_ReleasePicture anymore.
Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Julian Scheel [Fri, 9 Oct 2015 08:07:07 +0000 (10:07 +0200)]
mmal: Add missing vlc_atomic.h includes
Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Moti Zilberman [Mon, 12 Oct 2015 09:55:58 +0000 (12:55 +0300)]
SAPI: Fix an off-by-one error in voice selection
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Marvin Scholz [Fri, 9 Oct 2015 15:29:37 +0000 (17:29 +0200)]
macosx: Add todo comment about deprecated method useOptimizedDrawing
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Felix Paul Kühne [Mon, 12 Oct 2015 14:27:23 +0000 (16:27 +0200)]
videotoolbox: slightly improved error handling
Error 8973 is triggered if the number of open HW decoding sessions is > than the number of available HW decoders
Further, a failing session creation should not invalidate the entire video decoding chain but just trigger the fallback
Jean-Baptiste Kempf [Mon, 12 Oct 2015 14:04:38 +0000 (16:04 +0200)]
TTML: remove trailing space
Francois Cartegnie [Sun, 11 Oct 2015 22:30:52 +0000 (00:30 +0200)]
demux: hls: hardcode formats depending on codecs/extension
Francois Cartegnie [Sun, 11 Oct 2015 22:26:43 +0000 (00:26 +0200)]
demux: adaptative: fix skipped line in reply header
Jean-Baptiste Kempf [Sun, 11 Oct 2015 21:49:52 +0000 (23:49 +0200)]
SAPI: fix leaks, cosmetics and simplify
Jean-Baptiste Kempf [Sun, 11 Oct 2015 16:26:11 +0000 (18:26 +0200)]
Add a SAPI synthetizer for Windows
This is the work from Moti Zilberman, modified by me to build and
integrate in-tree
It's heavily inspired on the OS X one.
Be careful: you need a very recent Mingw-W64 to hope to compile it.
Ref #11893
David Fuhrmann [Sat, 10 Oct 2015 14:58:01 +0000 (16:58 +0200)]
macosx: disable native fullscreen on El Capitan
Native fullscreen seems to be on by default on El Capitan, even
if the corresponding flag is not set.
This implicitely disables the new split view feature if native
fullscreen is disabled.
close #15491
David Fuhrmann [Sat, 10 Oct 2015 14:54:34 +0000 (16:54 +0200)]
macosx: Introduce OSX_EL_CAPITAN runtime check
David Fuhrmann [Sat, 10 Oct 2015 14:46:36 +0000 (16:46 +0200)]
macosx: disable fullscreen hack on yosemite and higher
It seems that Apple fixed this issue starting with Yosemite.
Hugo Beauzée-Luyssen [Fri, 9 Oct 2015 12:43:43 +0000 (14:43 +0200)]
contribs: taglib: Fix invalid atomic support check
Ilkka Ollakka [Fri, 9 Oct 2015 17:48:17 +0000 (20:48 +0300)]
livehttp: use ChainLastAppend and remove ChainGather to gain speed
ChainGather in this case would make high amount of small memcopies which
kill performance quite nicely. Also ChainAppend would seek long list of
blocks everytime.
This basicly reverts
609a5fe2b4cdd2cca8bdd99e917ddd4d377bc6e6 and adds
ChainLastAppend. Overall speeding up livehttp-output quite a lot.
Reported-by: JEEB
Francois Cartegnie [Fri, 9 Oct 2015 18:37:31 +0000 (20:37 +0200)]
Francois Cartegnie [Fri, 9 Oct 2015 13:52:00 +0000 (15:52 +0200)]
demux: adaptative: fix warning
Francois Cartegnie [Fri, 9 Oct 2015 13:46:49 +0000 (15:46 +0200)]
demux: adaptative: change fmt compatibility checks
nal based codecs should be able to restart by themselves.
aac needs rate checking wich isn't specified by demuxer
Francois Cartegnie [Thu, 8 Oct 2015 10:11:18 +0000 (12:11 +0200)]
demux: adaptative: missing virtual destructor
Francois Cartegnie [Wed, 7 Oct 2015 22:27:33 +0000 (00:27 +0200)]
demux: adaptative: remove unused streamType
Jean-Baptiste Kempf [Fri, 9 Oct 2015 12:25:00 +0000 (14:25 +0200)]
OSX: build the contribs in a tripleted folder
Jean-Baptiste Kempf [Fri, 9 Oct 2015 12:18:57 +0000 (14:18 +0200)]
gitignore: Be more lax with the build folders
Marvin Scholz [Thu, 8 Oct 2015 13:11:49 +0000 (15:11 +0200)]
macosx: Rewrote the About window auto-scroll behavior
It was impossible to scroll in the About Scroll Views as the code
was doing automatic scrolling. This patch removes all the related
code and introduces a new NSClipView subclass that handles the
automatic scrolling. If it detects that the user scrolls, the
animation is stopped and the user can scroll it as he wishes.
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Marvin Scholz [Wed, 7 Oct 2015 18:18:29 +0000 (20:18 +0200)]
macosx: Remove wrong "Change" button behavior in simple shortcut prefs
Remove the primary state of the "Change" button in the simple preferences
shotcut view, as the window already has a primary button, which is the one
to apply the settings. Having two buttons as primary buttons is bad UX
and very confusing as it's unclear which button will be triggered when
hitting the enter key.
Given that the "Change" button was not triggered by the enter key anyway,
this should not cause any app behavior changes.
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Jean-Baptiste Kempf [Thu, 8 Oct 2015 13:40:57 +0000 (15:40 +0200)]
Extras tools: use bz2 for the protobuf
Jean-Baptiste Kempf [Thu, 8 Oct 2015 13:25:31 +0000 (15:25 +0200)]
Contribs: libass, fix compilation on broken OSes
Francois Cartegnie [Wed, 7 Oct 2015 19:14:19 +0000 (21:14 +0200)]
demux: dash: fix playback with implicit init segments
Francois Cartegnie [Wed, 7 Oct 2015 18:09:54 +0000 (20:09 +0200)]
demux: dash: add support for timed text
Francois Cartegnie [Wed, 7 Oct 2015 18:42:45 +0000 (20:42 +0200)]
demux: ttml: fix endless loops on broken charset
Francois Cartegnie [Wed, 7 Oct 2015 18:19:29 +0000 (20:19 +0200)]
vlc_xml: handle error return code
Francois Cartegnie [Wed, 7 Oct 2015 17:59:00 +0000 (19:59 +0200)]
playlist: wpl: probe without using xml reader
Francois Cartegnie [Wed, 7 Oct 2015 17:53:03 +0000 (19:53 +0200)]
Revert "wpl/ttml: use similar logic that subtitle_helper has for xml probing"
We can't use stream_Memory as xmlreader backend if we don't load the whole
file into memory, and that's not possible because we're probing.
(xmlread can't load incomplete documents)
This reverts commit
7ce48b0dd1bb160572a3b81e07d12379693c0a98.
Francois Cartegnie [Wed, 7 Oct 2015 17:38:25 +0000 (19:38 +0200)]
compat: fix strnstr
need to wake up sometimes :/
Francois Cartegnie [Tue, 6 Oct 2015 14:28:42 +0000 (16:28 +0200)]
demux: dash: add support for WebVTT
Francois Cartegnie [Wed, 7 Oct 2015 16:11:04 +0000 (18:11 +0200)]
demux: adaptative: add support for slave demuxers
Francois Cartegnie [Wed, 7 Oct 2015 15:14:52 +0000 (17:14 +0200)]
demux: dash: name stream as mimetype for debug
Francois Cartegnie [Tue, 6 Oct 2015 18:14:09 +0000 (20:14 +0200)]
demux: adaptative: commit queued commands on demuxer Open()
Francois Cartegnie [Tue, 6 Oct 2015 17:43:40 +0000 (19:43 +0200)]
demux: adaptative: don't call method in constructor
Francois Cartegnie [Tue, 6 Oct 2015 14:15:55 +0000 (16:15 +0200)]
demux: adaptative: pass demux target time to demuxer call
Francois Cartegnie [Fri, 11 Sep 2015 14:32:10 +0000 (16:32 +0200)]
demux: ttml: probe without creating xmlreader
we need to peek only
Francois Cartegnie [Fri, 11 Sep 2015 13:18:41 +0000 (15:18 +0200)]
demux: itml: fix false positive with xml files
Francois Cartegnie [Mon, 14 Sep 2015 12:23:06 +0000 (14:23 +0200)]
compat: add strnstr
Francois Cartegnie [Wed, 7 Oct 2015 13:26:14 +0000 (15:26 +0200)]
demux: ts: use tristate for PAT fix
As callback does not provide return status, we
need to prevent fix retries.
Francois Cartegnie [Wed, 7 Oct 2015 12:05:46 +0000 (14:05 +0200)]
demux: mp4: fix mvhd duration debug string
Sean McGovern [Wed, 7 Oct 2015 03:43:46 +0000 (23:43 -0400)]
extras/tools: edit libtool bitcode patch to work with other versions of patch(1)
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Emeric Grange [Tue, 6 Oct 2015 12:55:07 +0000 (14:55 +0200)]
macosx: add a 'rebuild' option to MacOSX build.sh script, triggering a rebuild for tools, contribs, and VLC
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Rémi Denis-Courmont [Tue, 6 Oct 2015 14:56:23 +0000 (17:56 +0300)]
include: fix out-of-tree plugins w/o complete meta infos
Jean-Baptiste Kempf [Tue, 6 Oct 2015 14:05:14 +0000 (16:05 +0200)]
Contribs: Update libass to 0.13.0
Jean-Baptiste Kempf [Tue, 6 Oct 2015 14:06:02 +0000 (16:06 +0200)]
Contribs: remove strings.h hack for libass
The correct way is to fix the toolchain
Steve Lhomme [Mon, 14 Sep 2015 11:30:32 +0000 (13:30 +0200)]
direct3d11: avoid crashing when we can't allocate the picture pool
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Tue, 29 Sep 2015 13:06:37 +0000 (15:06 +0200)]
demux: adaptative: rewrite using synchronous demuxers
Can now flush buffers on demux restart.
Do align pcr after sending to decoders instead of always incrementing
by the target value (avoid dropping blocks across segments on restart).
Always issue a fakees to demuxer, then recycle on execution.
Avoids double deletion with duplicate Del commands (demuxer 0..n+self n).
Can now handle HLS discontinuities.
Drops the streamoutput layer.
Francois Cartegnie [Tue, 6 Oct 2015 10:52:03 +0000 (12:52 +0200)]
demux: adaptative: add debug helper