]>
git.sesse.net Git - vlc/log
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>
Thomas Guillem [Fri, 13 Mar 2015 08:40:47 +0000 (09:40 +0100)]
mediacodec: factorize exception check
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Thu, 12 Mar 2015 18:47:16 +0000 (19:47 +0100)]
demux: ts: memleak due missing psi pkt release
Jean-Baptiste Kempf [Thu, 12 Mar 2015 17:26:55 +0000 (18:26 +0100)]
Revert "Fixed warning for uninitialized variable"
This reverts commit
14f739a56a0515da2905eb7f591fe9ad55f4a040 .
Petri Hintukainen [Thu, 12 Mar 2015 13:03:23 +0000 (15:03 +0200)]
sftp: error out if net_Connect fails
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Petri Hintukainen [Thu, 12 Mar 2015 12:26:49 +0000 (14:26 +0200)]
sftp: close sockets
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Petri Hintukainen [Thu, 12 Mar 2015 12:49:39 +0000 (14:49 +0200)]
sftp: close sftp handle in error path
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Thu, 12 Mar 2015 12:05:19 +0000 (13:05 +0100)]
mediacodec: fix rotation before API 21
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Petri Hintukainen [Thu, 12 Mar 2015 12:31:08 +0000 (14:31 +0200)]
bluray: remove unused include
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Thu, 12 Mar 2015 12:58:36 +0000 (13:58 +0100)]
audiotrack: don't use FLOAT, it breaks 5.1/7.1
Since 5.1 or 7.1 Float is down sampled to Stereo Float.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Thu, 12 Mar 2015 13:12:52 +0000 (14:12 +0100)]
update NEWS
Francois Cartegnie [Thu, 12 Mar 2015 13:07:49 +0000 (14:07 +0100)]
codec: lpcm: fix multi groups reading
p_out need to increment after all groups.
refs DVD-A_6ChannelID_16bit48000Hz2group6ch.AOB
Jean-Baptiste Kempf [Thu, 12 Mar 2015 10:16:58 +0000 (11:16 +0100)]
Update MODULES_LIST to please the alphabetically order of the script
My OCD will be happy...
Jean-Baptiste Kempf [Thu, 12 Mar 2015 10:12:45 +0000 (11:12 +0100)]
Remove ZPL demuxer
This is confusing with Zune Playlists and those are extremely rare
Felix Paul Kühne [Wed, 11 Mar 2015 21:22:54 +0000 (22:22 +0100)]
ios vout: don't cancel touches in vout
Steve Lhomme [Wed, 11 Mar 2015 12:27:16 +0000 (13:27 +0100)]
Make sure the avparser is used for VP9 rather than the Copy Packetizer
Fixes #11690 which didn't work with avcodec
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Wed, 11 Mar 2015 14:51:07 +0000 (15:51 +0100)]
audiotrack: move error check to good scope
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Wed, 11 Mar 2015 14:51:06 +0000 (15:51 +0100)]
audiotrack: fix error when writing buffer of size 0
It happens when time streching is enabled
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Wed, 11 Mar 2015 14:51:05 +0000 (15:51 +0100)]
audiotrack: re-init offset after a flush too
fix crash after a flush
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Hugo Beauzée-Luyssen [Tue, 10 Mar 2015 17:52:44 +0000 (18:52 +0100)]
UPnP: important rewrite
This is splitting the UPnP module in 2 parts:
- A service discovery module that is solely responsible for discovering
UPnP devices on the network
- An access module that will leverage the recently introduced
pf_readdir callback to list directories.
This removes the need for recursion and handling of all the items from
within the SD module.
Jean-Baptiste Kempf [Wed, 11 Mar 2015 14:28:38 +0000 (15:28 +0100)]
Contribs: disabling decoders is not a great idea
Especially since libavcodec DTS is soon going to be way better than
libdca
Jean-Baptiste Kempf [Wed, 11 Mar 2015 14:25:14 +0000 (15:25 +0100)]
AudioTrack: fix typo while squashing commits
Thomas Guillem [Wed, 11 Mar 2015 14:00:50 +0000 (15:00 +0100)]
audiotrack: add AC3 passthrough support
Try to configure AudioTrack with AC3 passthrough after Android Lollipop. If it
fails, fallback to PCM 5.1. If it fails again, fallback to PCM stereo.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Wed, 11 Mar 2015 14:00:49 +0000 (15:00 +0100)]
audiotrack: finish float support
You have to call the write method with float array (starting API 21)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Wed, 11 Mar 2015 14:00:48 +0000 (15:00 +0100)]
audiotrack: refactor Write
Don't change p_buffer internal values, but use a local offset to know the
position.
The main advantage is that we can use this offset with the Android write method
in order to avoid a Java copy when you call Write several time for the same
p_buffer.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Wed, 11 Mar 2015 14:00:47 +0000 (15:00 +0100)]
audiotrack: fix deadlock if JNIThread has an error
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Wed, 11 Mar 2015 14:00:46 +0000 (15:00 +0100)]
audiotrack: don't re-init to NULL
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Wed, 11 Mar 2015 14:00:45 +0000 (15:00 +0100)]
audiotrack: refactor Configure and Start
Rename JNIThread_Configure into JNIThread_NewAudioTrack. This function doesn't
touch any vlc format anymore, it does only Android AudioTrack configuration.
The VLC init part is done by the Start function. JNIThread_NewAudioTrack can be
called up to 3 times by Start with different channels and format until if find
a working configuration. Indeed some devices don't support 5.1, or FL32.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Tue, 10 Mar 2015 18:05:22 +0000 (19:05 +0100)]
demux: lpcm: fix AOB decoding (fix #11936)
Fixes endianness and aout 16/32 bits.
AOB channels are split into 2 groups, with only one
that might be in use. They both can differ in
resolution and sampling rate.
We have to set output buffer to max bits of those two
and adapt reads accordingly to each group.
We'll reject only different group sampling rates
(missing spec about interleaving).
Hugo Beauzée-Luyssen [Wed, 11 Mar 2015 09:35:22 +0000 (10:35 +0100)]
Reimplement NumInRange without strtol
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Wed, 11 Mar 2015 09:22:31 +0000 (10:22 +0100)]
Relicense duplicate to LGPL
Jean-Baptiste Kempf [Wed, 11 Mar 2015 09:20:20 +0000 (10:20 +0100)]
Duplicate: destroy the NumInRange implementation
!!! This code is now BROKEN.
This remove the code from Andy Chenee
Christoph Miebach [Tue, 10 Mar 2015 20:13:52 +0000 (16:13 -0400)]
Remove duplicate translator entry per request
Hugo Beauzée-Luyssen [Tue, 10 Mar 2015 14:45:03 +0000 (15:45 +0100)]
Add vlc_UrlParse tests
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Hugo Beauzée-Luyssen [Tue, 10 Mar 2015 14:45:04 +0000 (15:45 +0100)]
text: url: Fix options parsing
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Christoph Miebach [Tue, 10 Mar 2015 18:14:08 +0000 (14:14 -0400)]
Change translator name per request
Thomas Guillem [Tue, 10 Mar 2015 13:58:00 +0000 (13:58 +0000)]
audiotrack: simplify channel reordering
And do it for every channels configuration.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 10 Mar 2015 13:59:41 +0000 (13:59 +0000)]
audiotrack: fix typo
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 10 Mar 2015 13:59:40 +0000 (13:59 +0000)]
audiotrack: use VLC_CLIP
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Tue, 10 Mar 2015 10:48:47 +0000 (10:48 +0000)]
MKV: VP9 has incremental frames, no B-frames
Fixes #11690
#11690 still fails to play with avcodec after that fix but is fine with libvpx
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Tue, 10 Mar 2015 14:33:49 +0000 (15:33 +0100)]
codec: lpcm: convert endianness for 16bits AOB
refs #11936 http://mpchc.omertabeyond.com/incorrect_audio_stream.AOB
Hugo Beauzée-Luyssen [Tue, 10 Mar 2015 13:33:26 +0000 (14:33 +0100)]
dsm: Fix leak
Hugo Beauzée-Luyssen [Fri, 6 Mar 2015 14:12:41 +0000 (15:12 +0100)]
dsm: sd: Check for malloc failure
Francois Cartegnie [Tue, 10 Mar 2015 13:18:32 +0000 (14:18 +0100)]
demux: ts: remove PES full header check
Some full headers (including filling) are more than 34 bytes.
Now fail late parsing it, and relegate header>packet size check
to caller.
Petri Hintukainen [Tue, 10 Mar 2015 09:03:23 +0000 (11:03 +0200)]
sftp: fix read
libssh2_sftp_read may return less than requested.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Mon, 9 Mar 2015 16:48:22 +0000 (17:48 +0100)]
audiotrack: add 5.1 and 7.1 support
Works with SPDIF and HDMI audio output. Android will downmix to stereo if the
audio output is stereo.
7.1 support was added since Android 5.0.
5.1 support was added since the beginning but doesn't work on old devices.
That's why we fallback to stereo if AudioTrack fails to init with more than 2
channels.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Mon, 9 Mar 2015 15:11:31 +0000 (16:11 +0100)]
Win32 Vout: if a crop/aspect ratio is received, force the texture update
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Mon, 9 Mar 2015 15:35:34 +0000 (16:35 +0100)]
Direct3D vout: more debugging info
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>