]>
git.sesse.net Git - vlc/log
Tristan Matthews [Sun, 2 Nov 2014 22:51:30 +0000 (17:51 -0500)]
demux: ogg: avoid use-after-free
Rémi Denis-Courmont [Sun, 2 Nov 2014 15:06:40 +0000 (17:06 +0200)]
httpcookies: fix heap read overflow (fixes #12674)
Cc: Antti Ajanki <antti.ajanki@iki.fi>
Francois Cartegnie [Sun, 2 Nov 2014 14:12:22 +0000 (15:12 +0100)]
demux: avi: set PCR on seek
Francois Cartegnie [Sun, 2 Nov 2014 13:18:00 +0000 (14:18 +0100)]
codec: avcodec: simplify clock set condition
date is always >= VLC_TS_INVALID
Francois Cartegnie [Sun, 2 Nov 2014 13:15:55 +0000 (14:15 +0100)]
codec: avcodec: use TS_INVALID for 0 time init
Rémi Denis-Courmont [Sun, 2 Nov 2014 10:08:56 +0000 (12:08 +0200)]
trivial_mixer: try to fix dual-mono (fixes #12673)
Original channels is under-specified in my opinion. If you know where
the design documentation is, please tell me.
Rémi Denis-Courmont [Sun, 2 Nov 2014 09:35:16 +0000 (11:35 +0200)]
PulseAudio: clobber original channels (refs #12673)
Do like the other outputs do.
Rémi Denis-Courmont [Sun, 2 Nov 2014 09:07:55 +0000 (11:07 +0200)]
trivial_mixer: specialize filter callbacks directly
Rémi Denis-Courmont [Sun, 2 Nov 2014 08:52:19 +0000 (10:52 +0200)]
trivial_mixer: select conversion in Create(), not DoWork()
Rémi Denis-Courmont [Sun, 2 Nov 2014 08:16:49 +0000 (10:16 +0200)]
trivial_mixer: cosmetics
Jean-Baptiste Kempf [Sat, 1 Nov 2014 18:17:24 +0000 (19:17 +0100)]
DVDnav: remove unused includes
Sean McGovern [Sat, 1 Nov 2014 14:43:37 +0000 (10:43 -0400)]
tools: build protoc support libraries as static
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Sat, 1 Nov 2014 17:24:41 +0000 (18:24 +0100)]
Contribs: disable aribb25 until MacOS is supported
Jean-Baptiste Kempf [Sat, 1 Nov 2014 16:34:59 +0000 (17:34 +0100)]
Kate: fix typo
Rémi Denis-Courmont [Sat, 1 Nov 2014 16:30:39 +0000 (18:30 +0200)]
decoder: remove decoder_DeleteSubpicture() and fix a leak
Rémi Denis-Courmont [Sat, 1 Nov 2014 16:26:26 +0000 (18:26 +0200)]
es_out: unused variable
Rémi Denis-Courmont [Sat, 1 Nov 2014 16:20:35 +0000 (18:20 +0200)]
decoder: fix comment
Sean McGovern [Sat, 1 Nov 2014 13:43:08 +0000 (13:43 +0000)]
cmake: bump to version 3.0.2
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Wed, 29 Oct 2014 15:38:09 +0000 (15:38 +0000)]
libmp4: fix segfault
Le 28/10/2014 23:11, Frédéric Yhuel a écrit :
> static int MP4_NextBox( stream_t *p_stream, MP4_Box_t *p_box )
> {
> - MP4_Box_t box;
> + MP4_Box_t box = {0};
>
> if( !p_box )
> {
>
Better fail early. (untested, no sample)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Antti Ajanki [Wed, 29 Oct 2014 17:04:28 +0000 (17:04 +0000)]
hds: Implement STREAM_GET_POSITION and STREAM_GET_SIZE
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Rémi Denis-Courmont [Sat, 1 Nov 2014 13:59:55 +0000 (15:59 +0200)]
vout: fix picture lock/unlock with private pool
Rémi Denis-Courmont [Sat, 1 Nov 2014 13:58:51 +0000 (15:58 +0200)]
picture_pool: fix prototype, fix warnings
Rémi Denis-Courmont [Sat, 1 Nov 2014 12:56:13 +0000 (14:56 +0200)]
picture_pool: partly fix integer overflow
picture_pool_NonEmpty() still won´t work quite right when the overflow
happens, but that function is a horrible dysfunctional hack anyway.
Jean-Baptiste Kempf [Sat, 1 Nov 2014 12:54:40 +0000 (13:54 +0100)]
Win32: we don't need libstdc++-6.dll or libwinpthread-1.dll
libgcc_s is still needed, for C++ modules
Gotta love libtool
Ref #12620
Rémi Denis-Courmont [Sat, 1 Nov 2014 12:46:48 +0000 (14:46 +0200)]
picture_pool: remove ..._Delete(), use ..._Release() directly
Jean-Baptiste Kempf [Sat, 1 Nov 2014 12:42:08 +0000 (13:42 +0100)]
lib: use app-icon-name for libvlc_set_app_id
Rémi Denis-Courmont [Wed, 29 Oct 2014 14:46:02 +0000 (16:46 +0200)]
vout: print error if the decoder leaked pictures
Konstantin K. Beliak [Sat, 1 Nov 2014 12:34:03 +0000 (13:34 +0100)]
BDA: support for DVB-T2
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Rémi Denis-Courmont [Sat, 1 Nov 2014 12:29:20 +0000 (14:29 +0200)]
avcodec: simplify picture references
Rémi Denis-Courmont [Sat, 1 Nov 2014 12:25:50 +0000 (14:25 +0200)]
decoder: remove decoder_UnlinkPicture() and decoder_DeletePicture()
Use picture_Release() directly.
Rémi Denis-Courmont [Sat, 1 Nov 2014 12:17:01 +0000 (14:17 +0200)]
vout: remove vout_ReleasePicture()
Rémi Denis-Courmont [Sat, 1 Nov 2014 12:11:34 +0000 (14:11 +0200)]
vout: remove the picture lock (fixes #11669)
This is no longer necessary as picture pools are locked internally.
Rémi Denis-Courmont [Sat, 1 Nov 2014 08:10:37 +0000 (10:10 +0200)]
picture_pool: no longer muck with the reference counts, fix races
Rémi Denis-Courmont [Sat, 1 Nov 2014 08:02:33 +0000 (10:02 +0200)]
picture_pool: simplify and clean-up pool deletion
Rémi Denis-Courmont [Sat, 1 Nov 2014 09:08:19 +0000 (11:08 +0200)]
picture_pool: simplify and clean-up reserve pool
Rémi Denis-Courmont [Sat, 1 Nov 2014 10:00:14 +0000 (12:00 +0200)]
picture_pool: wrap pooled pictures
The pool can now have its own independent garbage collector, that no
longer clobbers the original garbage collector.
Rémi Denis-Courmont [Sat, 1 Nov 2014 11:25:36 +0000 (13:25 +0200)]
vout: destroy the private pool while resetting the decoder pool
Otherwise picture references from the private pool get clobbered.
Yuudai Yamashigi [Sat, 1 Nov 2014 12:26:21 +0000 (13:26 +0100)]
stream_filter: aribcam: fix old library path
That fork uses a different path to avoid problems
Jean-Baptiste Kempf [Sat, 1 Nov 2014 12:13:51 +0000 (13:13 +0100)]
Qt: prevent focus stealing on seekbar tooltip
Why be consistent, Qt?
Close #12671
David Fuhrmann [Sat, 1 Nov 2014 11:26:48 +0000 (12:26 +0100)]
macosx: Fix resume playback in certain situations
For resumption we need to rely on the "time" variable instead of
"position", as the total duration of the file might not have been
set yet.
Also simplifies the code.
close #11981
David Fuhrmann [Thu, 30 Oct 2014 21:39:26 +0000 (22:39 +0100)]
macosx: do not use the cone as sidebar icons
The cone does not really fit and looks ugly. Instead, use the
broadcast icon for all internet-related sd's and local icon for
devices category.
Rémi Denis-Courmont [Sat, 1 Nov 2014 09:41:12 +0000 (11:41 +0200)]
decoder: stray declaration
Rémi Denis-Courmont [Sat, 1 Nov 2014 09:02:00 +0000 (11:02 +0200)]
picture_pool_NewFromFormat: improve error handling
Rémi Denis-Courmont [Sat, 1 Nov 2014 08:59:44 +0000 (10:59 +0200)]
picture_pool: fix prototypes
Thomas Guillem [Fri, 31 Oct 2014 16:30:39 +0000 (17:30 +0100)]
picture_pool: fix refcount leak if pic_lock fails.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rémi Denis-Courmont [Thu, 30 Oct 2014 21:05:51 +0000 (23:05 +0200)]
decoder: remove decoder_LinkPicture()
Rémi Denis-Courmont [Thu, 30 Oct 2014 21:00:11 +0000 (23:00 +0200)]
vout: remove vout_HoldPicture()
Rémi Denis-Courmont [Thu, 30 Oct 2014 20:57:51 +0000 (22:57 +0200)]
vout: remove unncessary lock in vout_HoldPicture()
picture_Hold() is reentrant anyway. The vout picture lock protects
the decoder pool. The decoder pool may be modified by picture_Release()
but not by picture_Hold().
Rémi Denis-Courmont [Thu, 30 Oct 2014 20:55:27 +0000 (22:55 +0200)]
vout: remove unnecessary lock around the picture FIFO
The picture FIFO has a lock internally to protect its internal state
while picture references protect the pictures.
There is no need to protect the FIFO usage with the picture lock.
At this point, the picture lock is only protected the decoder pool.
Rémi Denis-Courmont [Thu, 30 Oct 2014 20:44:42 +0000 (22:44 +0200)]
vout_ReleasePicture: do not wake up the video output thread
The video output thread never allocates pictures from the decoder
thread. It uses the reserve private pool and, when if not rendering
directly, the display pool. Thus it has nothing particular to do when
a decoder pool picture is released.
(vout_PutPicture() wakes the thread up to kick rendering.)
Tristan Matthews [Fri, 31 Oct 2014 20:58:25 +0000 (16:58 -0400)]
contrib: add JACK
Default disabled for now.
Thomas Guillem [Fri, 31 Oct 2014 16:17:23 +0000 (17:17 +0100)]
android/opaque: fix crash on Close with subtitles
The pixels allocated from picture_NewFromFormat were replaced (and leaked) by
pixels allocated by android native windows. This also leaded to a crash on
Close when subtitles_picture was freed.
Use picture_NewFromResource with an empty to resource in order to don't
allocate any pixels.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Fri, 31 Oct 2014 16:17:22 +0000 (17:17 +0100)]
android/opaque: check if subtitles_picture is not NULL
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Fri, 31 Oct 2014 16:17:21 +0000 (17:17 +0100)]
android/opaque: fix indent
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Thu, 30 Oct 2014 01:25:52 +0000 (02:25 +0100)]
Win32: copy the BD-J jar to the release folder
Rémi Denis-Courmont [Thu, 30 Oct 2014 19:11:39 +0000 (21:11 +0200)]
doc: make libvlc_audio_set_volume_callback() dependency explicit
Rémi Denis-Courmont [Thu, 30 Oct 2014 19:02:43 +0000 (21:02 +0200)]
picture_Hold: add an assertion
Rémi Denis-Courmont [Thu, 30 Oct 2014 16:54:34 +0000 (18:54 +0200)]
Wayland/SHM: fix memory leak
Rémi Denis-Courmont [Thu, 30 Oct 2014 16:02:27 +0000 (18:02 +0200)]
picture: separate destroy callbacks
Use a separate callback for pictures allocated in heap and pictures
allocated from video output buffers.
Rémi Denis-Courmont [Thu, 30 Oct 2014 15:25:25 +0000 (17:25 +0200)]
spu: remove filter_DeleteSubpicture()
This is only used in error corner cases, and is always the same as
calling subpicture_Delete() directly.
Rémi Denis-Courmont [Thu, 30 Oct 2014 15:18:53 +0000 (17:18 +0200)]
filter: remove filter_DeletePicture()
All variants of the filter_t.video.buffer_del callback invoke
picture_Release() - possibly through recursion.
Most filters used picture_Release() directly already.
Thomas Guillem [Thu, 30 Oct 2014 14:16:13 +0000 (15:16 +0100)]
decoder: separate vout initialization from buffer allocation
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rémi Denis-Courmont [Thu, 30 Oct 2014 14:04:16 +0000 (16:04 +0200)]
OpenGL: simplify pool creation
Rémi Denis-Courmont [Thu, 30 Oct 2014 14:03:59 +0000 (16:03 +0200)]
MSW/GDI: simplify pool creation
Yuudai Yamashigi [Thu, 30 Oct 2014 06:51:44 +0000 (07:51 +0100)]
contrib: aribb25: dist source doesn't need bootstrap
Rémi Denis-Courmont [Tue, 28 Oct 2014 19:30:02 +0000 (21:30 +0200)]
picture_pool: fix race condition
This makes picture_pool_Get() reentrant.
Rémi Denis-Courmont [Wed, 29 Oct 2014 19:25:44 +0000 (21:25 +0200)]
Unexport picture_pool_NonEmpty()
Rémi Denis-Courmont [Mon, 27 Oct 2014 17:54:15 +0000 (19:54 +0200)]
pool: move lock/unlock callbacks to picture_pool_t
This reduces the size of picture_gc_sys_t. The callbacks are always the
same for all pictures in a given pool.
Rémi Denis-Courmont [Wed, 29 Oct 2014 14:43:38 +0000 (16:43 +0200)]
picture_pool: split picture_pool_NonEmpty and picture_pool_Reset
Rémi Denis-Courmont [Mon, 27 Oct 2014 19:16:09 +0000 (21:16 +0200)]
pool: keep reference to pool in each picture
Rémi Denis-Courmont [Mon, 27 Oct 2014 19:05:00 +0000 (21:05 +0200)]
picture_pool: remove unnecessary special case
We can offload the picture deletion to Destroy() in all cases.
David Fuhrmann [Wed, 29 Oct 2014 19:00:51 +0000 (20:00 +0100)]
macosx: Add own callback path for item-change
The item-change callback might be called very often, and thus an
own code path is better, with only necessary updates.
Additionally, this fixes multiple resume playback dialogs occuring
at once when starting playback in certain situations.
refs #11981
Yuudai Yamashigi [Tue, 21 Oct 2014 21:11:48 +0000 (23:11 +0200)]
contribs: add aribb25
Yuudai Yamashigi [Tue, 21 Oct 2014 20:26:36 +0000 (22:26 +0200)]
demux: ts: add support for ARIB STD-B25
Yuudai Yamashigi [Tue, 21 Oct 2014 20:17:27 +0000 (22:17 +0200)]
stream_filter: add ARIB STD-B25 virtual cam module
Francois Cartegnie [Wed, 29 Oct 2014 10:47:41 +0000 (11:47 +0100)]
stream_filter: smooth: missing terminating zero
Francois Cartegnie [Wed, 29 Oct 2014 10:47:03 +0000 (11:47 +0100)]
stream_filter: smooth: server does control pace in live mode
Francois Cartegnie [Wed, 29 Oct 2014 10:46:31 +0000 (11:46 +0100)]
stream_filter: smooth: live mode must download all incoming chunks
Francois Cartegnie [Wed, 29 Oct 2014 10:42:17 +0000 (11:42 +0100)]
stream_filter: smooth: fix int overflows reading xml
Francois Cartegnie [Wed, 29 Oct 2014 10:33:07 +0000 (11:33 +0100)]
stream_filter: smooth: handle live max lookahead
Francois Cartegnie [Wed, 29 Oct 2014 09:45:16 +0000 (10:45 +0100)]
stream_filter: smooth: missing full cleanup/fix leak
Francois Cartegnie [Tue, 28 Oct 2014 20:46:00 +0000 (21:46 +0100)]
stream_filter: smooth: fix url template token replacement
Also handles CustomAttributes
Francois Cartegnie [Tue, 28 Oct 2014 18:15:26 +0000 (19:15 +0100)]
stream_filter: smooth: handle quality custom attributes
Rafaël Carré [Tue, 28 Oct 2014 16:32:32 +0000 (17:32 +0100)]
Fix protoc check
Francois Cartegnie [Tue, 28 Oct 2014 14:10:47 +0000 (15:10 +0100)]
stream_filter: smooth: allow pausing
Francois Cartegnie [Tue, 28 Oct 2014 14:07:12 +0000 (15:07 +0100)]
stream_filter: smooth: fix always zero get_lead()
Was downloading regardless of consumer
Francois Cartegnie [Tue, 28 Oct 2014 13:13:04 +0000 (14:13 +0100)]
stream_filter: smooth: non live streams can control pace
Fixes most of glitches for non live streams, especially on
quality change.
Francois Cartegnie [Tue, 28 Oct 2014 12:46:08 +0000 (13:46 +0100)]
stream_filter: smooth: fix unwanted padding in error string
Francois Cartegnie [Mon, 27 Oct 2014 21:48:30 +0000 (22:48 +0100)]
stream_filter: smooth: fix signedness
Francois Cartegnie [Mon, 27 Oct 2014 21:43:57 +0000 (22:43 +0100)]
stream_filter: smooth: fix warnings for non bw adapt mode
Francois Cartegnie [Mon, 27 Oct 2014 20:25:22 +0000 (21:25 +0100)]
demux: mp4: fix PTS delta
CTTS value can be negative on version 0, and match the not found
return value used in GetPTSDelta.
ex: Sintel Smooth Streaming sample
Rémi Denis-Courmont [Mon, 27 Oct 2014 20:30:55 +0000 (22:30 +0200)]
picture_pool: add test case
Jean-Baptiste Kempf [Mon, 27 Oct 2014 19:50:17 +0000 (20:50 +0100)]
Contribs: disable vpx encoders with --disable-sout
Jean-Baptiste Kempf [Mon, 27 Oct 2014 19:49:56 +0000 (20:49 +0100)]
Contribs: disable vpx docs
Jean-Baptiste Kempf [Mon, 27 Oct 2014 19:39:11 +0000 (20:39 +0100)]
Contribs: don't disable VP8 decoder
Martin Storsjö [Mon, 27 Oct 2014 19:05:51 +0000 (21:05 +0200)]
mft: Use the right index for IMFSample_GetBufferByIndex
The input stream id is completely unrelated to the input
sample buffer index - the sample allocated in AllocateInputSample
contains one single media buffer, at index 0.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Felix Paul Kühne [Mon, 27 Oct 2014 19:09:56 +0000 (12:09 -0700)]
swscale: fix compilation if avcodec and avformat are disabled
Felix Paul Kühne [Mon, 27 Oct 2014 18:29:58 +0000 (11:29 -0700)]
extras/ios: add a new flag to compile a limited set of non-scary codecs only
Jean-Baptiste Kempf [Mon, 27 Oct 2014 18:54:28 +0000 (19:54 +0100)]
Contribs: disable speex NEON on aarch64
Jean-Baptiste Kempf [Mon, 27 Oct 2014 18:54:03 +0000 (19:54 +0100)]
Configure: swscale needs libavutil headers