]>
git.sesse.net Git - vlc/log
Rémi Denis-Courmont [Tue, 17 Mar 2015 19:38:31 +0000 (21:38 +0200)]
es_out: remove tautology
es->p_dec is obviously non-NULL when the loop starts, and the loop
cannot change the value.
Rémi Denis-Courmont [Wed, 18 Mar 2015 21:29:30 +0000 (23:29 +0200)]
decoder: remove tautology, add asserts to waiting code
Rémi Denis-Courmont [Tue, 17 Mar 2015 20:41:46 +0000 (22:41 +0200)]
decoder: remove invalid call, fix races
Calling input_DecoderStopWait() from the decoder thread makes no sense
as it signals a condition variable that only the decoder thread itself
would ever wait on.
More importantly, the call breaks assumptions made by the input thread.
For instance, input_DecoderDecode() assumes p_owner->b_waiting is only
changed by the decoder owner (i.e. input) thread.
Francois Cartegnie [Thu, 19 Mar 2015 14:07:26 +0000 (15:07 +0100)]
vlc_bits: add bo_set_64_be
Francois Cartegnie [Thu, 19 Mar 2015 14:07:05 +0000 (15:07 +0100)]
vlc_bits: fix bo_set_32be
Francois Cartegnie [Wed, 18 Mar 2015 17:11:49 +0000 (18:11 +0100)]
demux: ts: fix IOD signedness/warning
Francois Cartegnie [Wed, 18 Mar 2015 16:52:28 +0000 (17:52 +0100)]
demux: ts: fix opus signedness/warning
Francois Cartegnie [Wed, 18 Mar 2015 16:51:01 +0000 (17:51 +0100)]
opus: fix duration signedness
Francois Cartegnie [Wed, 18 Mar 2015 16:45:37 +0000 (17:45 +0100)]
demux: ts: fix signedness/warnings
Steve Lhomme [Thu, 19 Mar 2015 13:12:37 +0000 (13:12 +0000)]
MKV: factorize the es_out_Send() and es_out_Control() calls
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Wed, 18 Mar 2015 10:05:55 +0000 (10:05 +0000)]
DirectX/GDI: use COINIT_MULTITHREADED instead of COINIT_APARTMENTTHREADED
The renderer may be updated in the DMO thread which uses COINIT_MULTITHREADED
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Wed, 18 Mar 2015 11:53:53 +0000 (11:53 +0000)]
MKV: packetized codec can use VLC_TS_INVALID as i_pts for extra Block frames
Fixes WMA 9.1 Lossless playback through avcodec
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Thu, 19 Mar 2015 10:06:30 +0000 (10:06 +0000)]
MKV: fix COOK/ATRAC3 seeking
Fixes #14210
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Wed, 18 Mar 2015 14:35:46 +0000 (14:35 +0000)]
MKV: fix ATRAC3 playback
Fixes #14205
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Wed, 18 Mar 2015 11:48:42 +0000 (11:48 +0000)]
MKV: A_MS/ACM is not packetized
Just like in AVI
See modules/demux/avi/avi.c l461
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Wed, 18 Mar 2015 09:57:55 +0000 (09:57 +0000)]
DMO: use COINIT_MULTITHREADED instead of COINIT_APARTMENTTHREADED
Fixes #14202
All the other CoInitializeEx() calls and now using multithreading, except for
this code which is called in UpdateRects()
See modules/video_output/msw/common.c l286
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Tue, 17 Mar 2015 13:10:14 +0000 (14:10 +0100)]
mux: mp4: handle both short and long NALU startcodes (fix #14185)
Francois Cartegnie [Tue, 17 Mar 2015 19:13:30 +0000 (20:13 +0100)]
Francois Cartegnie [Wed, 18 Mar 2015 11:56:15 +0000 (12:56 +0100)]
httplive: leaks on playlist reload/merge (fix #14171)
Francois Cartegnie [Tue, 17 Mar 2015 21:38:56 +0000 (22:38 +0100)]
demux: ts: gather data for uncreated es
should go to pre es queue otherwise first frames/gop are dropped
Gina Dobrescu [Tue, 17 Mar 2015 21:27:35 +0000 (21:27 +0000)]
Interface: HTTP server: set proper align when expanding menu buttons
Fixes #13855
The small menu buttons on the left doesn't move downwards anymore when
the menu is expanded
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Petri Hintukainen [Tue, 17 Mar 2015 18:51:10 +0000 (18:51 +0000)]
sftp: implement directory listing
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Wed, 18 Mar 2015 06:26:55 +0000 (06:26 +0000)]
MKV: use the more accurate i_pcr for GET_TIME and GET_POSITION
similar to what avformat does
I forgot to re-submit that one after the other commits went through.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Rémi Denis-Courmont [Tue, 17 Mar 2015 17:16:44 +0000 (19:16 +0200)]
block: simplify block_FifoRelease
Since the FIFO is being destroyed, there is no need to lock and to
update the FIFO internal state.
Rémi Denis-Courmont [Tue, 17 Mar 2015 17:41:04 +0000 (19:41 +0200)]
udp: avoid alloc/free on I/O error
Rémi Denis-Courmont [Tue, 17 Mar 2015 18:45:51 +0000 (20:45 +0200)]
decoder: fix data race in input_DecoderIsEmpty()
p_dec->fmt_out is owned by the decoder plugin, and can only safely be
accessed by the core from within decoder callbacks, notably the format
update callbacks.
Outside that context, p_owner->fmt has to be used. It contains a copy
of p_dec->fmt_out at the last format update.
Rémi Denis-Courmont [Tue, 17 Mar 2015 17:00:47 +0000 (19:00 +0200)]
decoder: remove redundant call to block_FifoEmpty()
block_FifoRelease() takes care of it.
Steve Lhomme [Tue, 17 Mar 2015 13:41:16 +0000 (13:41 +0000)]
Revert "MKV: Always set an i_pts in a lace otherwise it disturbs seeking performance"
This reverts commit
6a16055a3331a4022d12ba29ab002a3257e4c89c .
Fixes #14194
Vorbis doesn't work properly with forced bogus PTS.
The seek issue in #13575 is solved with the DirectSound fixes from #14186
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Petri Hintukainen [Tue, 17 Mar 2015 07:01:23 +0000 (07:01 +0000)]
do not install dsm plugin twice
On ma, 2015-03-16 at 13:59 +0300, Rémi Denis-Courmont wrote:
> Le 2015-03-16 13:24, Petri Hintukainen a écrit :
> > I tried to enable dsm access plugin in Linux (to get directory
> > browsing
> > support). But "make install" failed with error:
> >
> > libtool: install: error: cannot install `libdsm_plugin.la' to a
> > directory not ending in /usr/lib/vlc/plugins/services_discovery
> >
> > It looks like the module is installed twice: first to access/, then
> > to
> > services_discovery/. Installing it only to services_discovery/ seems
> > to
> > work.
>
> The (rest of the) Makefile rules are in access/ though...
Removing it from services_discovery/Makefile.am in commit
http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=
42350148049e6a91db1f6876d1e0765640da0f7d
didn't fix the problem with make install.
With
../configure --prefix=/usr --enable-dsm --disable-smb
make && sudo make install
I still get
libtool: install: error: cannot install `libdsm_plugin.la' to a
directory not ending in /usr/lib/vlc/plugins/services_discovery
Alternative patch attached.
(or maybe I have broken libtool ... ?)
>From
43e5502bb44f8611eb1d61cc8fa6c1c711dce32b Mon Sep 17 00:00:00 2001
From: Petri Hintukainen <phintuka@gmail.com>
Date: Tue, 17 Mar 2015 09:52:47 +0200
Subject: [PATCH] dsm: fix runtime library search path
Fixes "libtool: install: error: cannot install `libdsm_plugin.la'
to a directory not ending in /usr/lib/vlc/plugins/services_discovery"
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Mon, 16 Mar 2015 13:13:09 +0000 (13:13 +0000)]
MKV: fix a memory leak
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Tue, 17 Mar 2015 17:03:17 +0000 (18:03 +0100)]
Qt: do not emit signals from the MIM constructor
Should close #14162
Jean-Baptiste Kempf [Tue, 17 Mar 2015 16:23:54 +0000 (17:23 +0100)]
Qt: MIM: code cosmetics
Jean-Baptiste Kempf [Tue, 17 Mar 2015 16:21:58 +0000 (17:21 +0100)]
Qt: MIM initialize p_input through constructor parameter
Francois Cartegnie [Tue, 17 Mar 2015 15:57:10 +0000 (16:57 +0100)]
mux: mp4: fix NALU size endianness
Francois Cartegnie [Tue, 17 Mar 2015 15:03:44 +0000 (16:03 +0100)]
vlc_block: fix NULL dereference in block_ChainGather
Francois Cartegnie [Tue, 17 Mar 2015 14:59:41 +0000 (15:59 +0100)]
demux: mp4: don't NULL dereference on failed realloc
Francois Cartegnie [Tue, 17 Mar 2015 00:48:01 +0000 (01:48 +0100)]
demux: ts: set fmt id on all es and add collision avoidance for extra es
Hugo Beauzée-Luyssen [Tue, 17 Mar 2015 09:50:51 +0000 (10:50 +0100)]
direct3d11: Fix mingw build
Francois Cartegnie [Mon, 16 Mar 2015 23:38:46 +0000 (00:38 +0100)]
demux: ts: fix potential segfault
introduced by
1dec820c43290fe19ac8b291d70353943275b8fc
Francois Cartegnie [Mon, 16 Mar 2015 19:48:30 +0000 (20:48 +0100)]
demux: ts: fix uninitialized fields with teletext es
Francois Cartegnie [Mon, 16 Mar 2015 19:10:38 +0000 (20:10 +0100)]
demux: ts: update probing
fixes invalid length/time with arib
and handles shared pid
Jean-Baptiste Kempf [Mon, 16 Mar 2015 18:11:18 +0000 (19:11 +0100)]
MFT: GUID_AC3 should be defined in Mingw-w64 4.0
Of course, it's technically a GCC bug, because selectany is broken, but
there is no simple fix for that.
Rémi Denis-Courmont [Mon, 16 Mar 2015 18:04:33 +0000 (20:04 +0200)]
ALSA: log the device string that is actually opened
Rémi Denis-Courmont [Mon, 16 Mar 2015 18:01:05 +0000 (20:01 +0200)]
ALSA: only append AES parameters to iec958 and hdmi plugs
Other ALSA plugs do not support those parameters.
Regresion from
7a19c0b41e4c43392f423338d41b0bcebc3e5329 .
Diego Elio Pettenò [Sun, 15 Mar 2015 10:49:40 +0000 (10:49 +0000)]
build: check for gmtime_r and localtime_r with the new macro.
This makes sure that the two functions are found when building on mingw32,
as the functions are defined as static inline rather than as library
symbols.
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Diego Elio Pettenò [Sun, 15 Mar 2015 10:49:39 +0000 (10:49 +0000)]
build: create a macro to check for, and replace, possibly-inline functions.
mingw (both 32 and 64) provides a number of functions that have no C
linkage, but are only available as static inline. Define a macro that can
check for the function declaration but acts like AC_REPLACE_FUNC.
Use the new macro for asprintf/vasprintf (previously implemented in
configure.ac directly).
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rémi Denis-Courmont [Mon, 16 Mar 2015 17:20:44 +0000 (19:20 +0200)]
compat: fix localtime_r() replacement
- Do not clobber thread-specific state on Windows
- Be thread-safe on non-Windows
Rémi Denis-Courmont [Mon, 16 Mar 2015 17:03:02 +0000 (19:03 +0200)]
win32: add assertions for unchecked CoInitializeEx() calls
Rémi Denis-Courmont [Mon, 16 Mar 2015 17:00:53 +0000 (19:00 +0200)]
dmo: fix format string
Rémi Denis-Courmont [Mon, 16 Mar 2015 16:58:51 +0000 (18:58 +0200)]
dmo: avoid useless string conversion
Rémi Denis-Courmont [Mon, 16 Mar 2015 16:57:06 +0000 (18:57 +0200)]
dmo: fix invalid string casts
Rémi Denis-Courmont [Mon, 16 Mar 2015 16:24:07 +0000 (18:24 +0200)]
dtv: fix build with Linux DVB versions <= 5.8 (fixes #14156)
Francois Cartegnie [Mon, 16 Mar 2015 16:11:40 +0000 (17:11 +0100)]
ts: dvbpsi: don't spam with irrelevant errors
should be fixed from libdvbpsi >= 1.2.0
Jean-Baptiste Kempf [Mon, 16 Mar 2015 13:36:32 +0000 (14:36 +0100)]
SD: do not install dsm plugin twice
Steve Lhomme [Mon, 16 Mar 2015 09:45:54 +0000 (09:45 +0000)]
MKV: Always set an i_pts in a lace otherwise it disturbs seeking performance
Using VLC_PTS_INVALID disturbs seeking.
It only applies to audio frames which are meant to be contiguous.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Mon, 16 Mar 2015 09:41:09 +0000 (09:41 +0000)]
MKV: rename the Matroska timestamp fields to differentiate from VLC_TS ones
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jonathan McGowan [Mon, 16 Mar 2015 11:43:54 +0000 (11:43 +0000)]
Win32: Fix supported types not registered properly by NSIS installer
A bad parameter definition in function RegisterExtension resulted in the same value entry being written every time ("${EXT}"="").
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Hugo Beauzée-Luyssen [Mon, 16 Mar 2015 12:32:53 +0000 (13:32 +0100)]
subsusf: Remove unneeded initializations
Hugo Beauzée-Luyssen [Mon, 16 Mar 2015 12:29:00 +0000 (13:29 +0100)]
Add TTML fourcc
Jean-Baptiste Kempf [Mon, 16 Mar 2015 10:45:03 +0000 (11:45 +0100)]
Add tshd and rv64 FourCC for H264
Thomas Guillem [Mon, 16 Mar 2015 08:29:54 +0000 (08:29 +0000)]
mediacodec: add a function that checks if codec is blacklisted
This also fixes a crash because of a missing __MIN(strlen()) for MTK MPEG4.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Mon, 16 Mar 2015 09:02:05 +0000 (10:02 +0100)]
MKV: send the proper PCR before es_out_Send() of the packet
replaces previous similar patches, now with proper VLC_TS adjusting
Fixes #13575
Fixes #11847 which had time display issues
The new PCR logic is borrowed from
http://git.videolan.org/?p=vlc.git;a=blob;f=modules/demux/avformat/demux.c;hb=HEAD#l776
A PCR is always sent now, unless i_last_dts is not set, meaning the first
packet doesn't have a proper DTS (invalid data at the beggining)
The i_pts is not set to 0 anymore in a lace as it disturbs seeking performance
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Mon, 16 Mar 2015 08:20:47 +0000 (09:20 +0100)]
MKV: no need to shift the dts/pts twice in some cases anymore
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Mon, 16 Mar 2015 08:31:32 +0000 (09:31 +0100)]
MKV: force 64 bits constants the right way
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Mon, 16 Mar 2015 08:07:22 +0000 (09:07 +0100)]
MKV: fix mixup between VLC timestamps and Matroska timestamps
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Mon, 16 Mar 2015 08:17:18 +0000 (09:17 +0100)]
MKV: don't use i_last_dts if it's invalid
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Sun, 15 Mar 2015 21:27:05 +0000 (22:27 +0100)]
demux: ts: only set self pcr to its program
We can't support shared pid/pcr for now
Francois Cartegnie [Sun, 15 Mar 2015 16:34:30 +0000 (17:34 +0100)]
demux: ts: check other programs/shared pcr for PCRHandle
Francois Cartegnie [Sun, 15 Mar 2015 13:06:20 +0000 (14:06 +0100)]
demux: ts: reject shared pes for now
We need one ES by program
Francois Cartegnie [Sun, 15 Mar 2015 13:04:14 +0000 (14:04 +0100)]
demux: ts: fix wrong flush condition
Francois Cartegnie [Sat, 14 Mar 2015 23:58:46 +0000 (00:58 +0100)]
demux: ts: use a more sane default pcr pid
Francois Cartegnie [Sat, 14 Mar 2015 23:26:50 +0000 (00:26 +0100)]
demux: ts: do not create multiple stream filter
can happen with multiple arib programs
Francois Cartegnie [Fri, 13 Mar 2015 20:27:36 +0000 (21:27 +0100)]
demux: ts: apply pcr filter last and update it on fixup
Francois Cartegnie [Fri, 13 Mar 2015 20:10:13 +0000 (21:10 +0100)]
demux: ts: validate es from non filtered streams
Francois Cartegnie [Fri, 13 Mar 2015 20:02:45 +0000 (21:02 +0100)]
packetizer: mpeg4audio: don't spam with warnings
If frames have CRC, console is spammed.
CRC warning should happen only once.
Francois Cartegnie [Fri, 13 Mar 2015 16:45:56 +0000 (17:45 +0100)]
demux: ts: directly ignore scrambled content
Francois Cartegnie [Fri, 13 Mar 2015 15:47:05 +0000 (16:47 +0100)]
demux: ts: typo and add debug info
Francois Cartegnie [Fri, 13 Mar 2015 15:24:52 +0000 (16:24 +0100)]
demux: ts: fix delayed es creation after filtering
Francois Cartegnie [Fri, 13 Mar 2015 15:04:59 +0000 (16:04 +0100)]
demux: ts: update pid states before parsing data
David Fuhrmann [Sat, 14 Mar 2015 14:59:26 +0000 (15:59 +0100)]
macosx: fix video-wallpaper mode by ignoring core events
wallpaper mode is more complicated than setting fullscreen and
level values. Thus, it is implemented in the macosx UI, and we
need to ignore some core events for proper functioning.
close #14151
Jean-Baptiste Kempf [Sat, 14 Mar 2015 13:30:06 +0000 (14:30 +0100)]
Map Canopus HQX decoder
Jean-Baptiste Kempf [Sat, 14 Mar 2015 13:25:26 +0000 (14:25 +0100)]
Add Canopus HQX FourCC
Jean-Baptiste Kempf [Sat, 14 Mar 2015 13:22:30 +0000 (14:22 +0100)]
Map TDSC avcodec
Jean-Baptiste Kempf [Sat, 14 Mar 2015 13:22:15 +0000 (14:22 +0100)]
Add TDSC fourCC
Jean-Baptiste Kempf [Sat, 14 Mar 2015 10:45:39 +0000 (11:45 +0100)]
Update NEWS
Steve Lhomme [Fri, 13 Mar 2015 14:34:29 +0000 (14:34 +0000)]
MKV: avoid using the last_dts of a track we know is not used anymore
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Fri, 13 Mar 2015 17:27:32 +0000 (18:27 +0100)]
mediacodec: don't use MTK MPEG4 decoders
Fix a crash with android mediaserver
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Hannes Domani [Fri, 13 Mar 2015 17:01:23 +0000 (18:01 +0100)]
Win32: fix uninitialised variable and double free in drive letters mode
Close #14140
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Fri, 13 Mar 2015 15:01:17 +0000 (16:01 +0100)]
Consistent strings to avoid duplications
Petri Hintukainen [Fri, 13 Mar 2015 13:25:56 +0000 (15:25 +0200)]
sftp: add options for username and password
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Fri, 13 Mar 2015 14:32:07 +0000 (15:32 +0100)]
MKV: fix compilation
Steve Lhomme [Fri, 13 Mar 2015 12:13:22 +0000 (13:13 +0100)]
MKV: remove unused i_time_offset variable when seeking
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Fri, 13 Mar 2015 13:24:25 +0000 (14:24 +0100)]
MKV: no need to add VLC_TS_0 here, it's already shifted
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Fri, 13 Mar 2015 13:12:45 +0000 (14:12 +0100)]
MKV: init the index time to -1 as it was intended
As witnessed here git.videolan.org/?p=vlc.git;a=blob;f=modules/demux/mkv/matroska_segment.cpp;hb=HEAD#l1427
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Fri, 13 Mar 2015 13:37:50 +0000 (14:37 +0100)]
MKV: divide i_default_duration by 1000 once and for all
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Hugo Beauzée-Luyssen [Fri, 13 Mar 2015 14:28:33 +0000 (15:28 +0100)]
wpl: Remove debugging leftover
Hugo Beauzée-Luyssen [Fri, 13 Mar 2015 14:18:38 +0000 (15:18 +0100)]
playlist: Rewrite WPL module
It is now using our XML parser, and is licensed as LGPL
Hugo Beauzée-Luyssen [Fri, 13 Mar 2015 14:13:09 +0000 (15:13 +0100)]
Remove WPL module
Petri Hintukainen [Fri, 13 Mar 2015 09:04:48 +0000 (11:04 +0200)]
sftp: do not try to open directory as a file
Usually opening a directory as a file succeeds.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Fri, 13 Mar 2015 08:40:48 +0000 (09:40 +0100)]
mediacodec: check getOutputBuffers and getInputBuffers
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>