]>
git.sesse.net Git - vlc/log
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>
Rémi Denis-Courmont [Mon, 2 Mar 2015 18:28:14 +0000 (20:28 +0200)]
Revert "--stats: default to false" (fixes #14035)
This reverts commit
c24ea5fb3af17c08ea12d94a106577d06e9f4870 .
Signed-off-by: Rafaël Carré <funman@videolan.org>
Rémi Denis-Courmont [Mon, 9 Mar 2015 16:46:00 +0000 (18:46 +0200)]
qt: fix recent input item usage
- Fix encoding (fixes #14123)
- Fix data race on URI
- Avoid useless variable retrievals
- Avoid upcasting to double precision
Francois Cartegnie [Mon, 9 Mar 2015 16:00:15 +0000 (17:00 +0100)]
codec: lpcm: reorder channels only after decoding (fix #14114)
24bit LPCM is packed and can't be reordered without introducing
clipping issues.
Jean-Baptiste Kempf [Mon, 9 Mar 2015 14:17:55 +0000 (15:17 +0100)]
Add TTML FourCC
Martell Malone [Wed, 24 Dec 2014 16:37:27 +0000 (16:37 +0000)]
d3d11 vout plugin
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Martell Malone [Wed, 18 Feb 2015 15:28:58 +0000 (15:28 +0000)]
MEDIASUBTYPE_I420 is in add wmcodecdsp.h
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Ian Chamberlain [Sun, 1 Mar 2015 07:02:22 +0000 (07:02 +0000)]
Fixed warning for uninitialized variable
This was an uninitialized variable, as far as I could tell there was no reason not to initialize it to NULL in these two cases.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Mon, 2 Mar 2015 08:15:57 +0000 (08:15 +0000)]
MKV: MKV_DEBUG is a define to set, not a particular value
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Mon, 2 Mar 2015 08:09:27 +0000 (08:09 +0000)]
MKV: do not hard define MKV_DEBUG
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Zoran Turalija [Sun, 8 Mar 2015 15:35:33 +0000 (15:35 +0000)]
gestures: fix: allow gesture to be triggered
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
David Fuhrmann [Sun, 8 Mar 2015 16:49:01 +0000 (17:49 +0100)]
macosx: fix initialization of nonembedded window
David Fuhrmann [Sun, 8 Mar 2015 16:14:53 +0000 (17:14 +0100)]
macosx: playlist: catch update events for metadata and info
Playlist view gets updated to display new information.
Info dialog gets updates (shows only information about currently
played input at the moment).
close #13729
David Fuhrmann [Sat, 7 Mar 2015 12:10:37 +0000 (13:10 +0100)]
macosx: playlist: update sidebar badge after playlist changed
David Fuhrmann [Sat, 7 Mar 2015 12:09:52 +0000 (13:09 +0100)]
macosx: playlist: deselect item after changing categories
David Fuhrmann [Sat, 7 Mar 2015 11:37:31 +0000 (12:37 +0100)]
macosx: remove remnants of old playlist update mechanism
David Fuhrmann [Sat, 7 Mar 2015 11:05:18 +0000 (12:05 +0100)]
macosx: playlist: simplify deletion code
David Fuhrmann [Sat, 7 Mar 2015 10:05:46 +0000 (11:05 +0100)]
macosx: select currently played item
And expand outline view tree if necessary.
Hannes Domani [Fri, 6 Mar 2015 13:43:45 +0000 (14:43 +0100)]
contrib: gme: don't skip negative (fixes #14088)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jed Smith [Sun, 8 Mar 2015 02:02:03 +0000 (18:02 -0800)]
qtcapture: Clarify help text for qtcapture args
The maximum resolution encouraged in the help text for the qtcapture
arguments is 1280x480, which doesn't make sense. The patch author
intended to imply 720p but appears to have forgotten the height
dimension. In addition, clean up the help text a bit.
--qtcapture-height works with 720, anyway, so it's just a doc issue.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Sat, 7 Mar 2015 18:03:55 +0000 (19:03 +0100)]
demux: mp4: add dts/pts index entries count guards (fix #14047)
Francois Cartegnie [Sat, 7 Mar 2015 18:00:59 +0000 (19:00 +0100)]
demux: mp4: fix memleak on error
Francois Cartegnie [Sat, 7 Mar 2015 17:26:31 +0000 (18:26 +0100)]
demux: mp4: fix memleak on error
Francois Cartegnie [Sat, 7 Mar 2015 10:52:28 +0000 (11:52 +0100)]
demux: ts: send discontinuity flagged block to es on seek
Francois Cartegnie [Fri, 6 Mar 2015 21:36:25 +0000 (22:36 +0100)]
demux: ts: filter out es according to selection
All ES packets are gathered if there's no access control/dvb
filtering, adding lots of memcopy/realloc operations for packets
which will be discarded later by ES out.
Francois Cartegnie [Fri, 6 Mar 2015 21:30:40 +0000 (22:30 +0100)]
demux: ts: don't delete unknown group
Francois Cartegnie [Fri, 6 Mar 2015 12:37:41 +0000 (13:37 +0100)]
demux: ts: describe unknown es
Francois Cartegnie [Thu, 5 Mar 2015 14:28:12 +0000 (15:28 +0100)]
demux: ts: SetPIDFilter: pass by pid
Rafaël Carré [Fri, 6 Mar 2015 18:36:40 +0000 (19:36 +0100)]
HLS: store IVs per segment
David Fuhrmann [Thu, 5 Mar 2015 18:13:58 +0000 (19:13 +0100)]
macosx: Fix index out of bound crash in open dialog
This happend when multiple audio devices with the same name are
connected.
Thomas Guillem [Thu, 5 Mar 2015 18:03:33 +0000 (19:03 +0100)]
audiotrack: Fix deadlock with Android 4.4.2, 4.4.3 and 4.4.4
see https://code.google.com/p/android/issues/detail?id=65807
see https://code.google.com/p/android/issues/detail?id=70877
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Thu, 5 Mar 2015 18:03:32 +0000 (19:03 +0100)]
audiotrack: wait more when internal buffer is full
Less CPU usage.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Thu, 5 Mar 2015 18:03:31 +0000 (19:03 +0100)]
audiotrack: fix play wait delay
Don't postpone delay when a command is received.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Thu, 5 Mar 2015 18:03:30 +0000 (19:03 +0100)]
audiotrack: move variable in good scope
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Thu, 5 Mar 2015 16:17:50 +0000 (17:17 +0100)]
audiotrack: fix crash
Create the thread after p_aout->sys is set.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 3 Mar 2015 17:05:40 +0000 (18:05 +0100)]
audiotrack: deactivate getTimestamp
It is maybe miss used, but the delay reported by this function is not coherent.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 3 Mar 2015 17:05:39 +0000 (18:05 +0100)]
audiotrack: add WriteV21 (for Lollipop)
There is a new write method that can be non blocking and that can use a direct
ByteBuffer (no memcpy between java and jni).
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 3 Mar 2015 18:00:55 +0000 (19:00 +0100)]
audiotrack: fix too unstable delay and write taking too much time
- All JNIThread commands are now executed in a locked state.
- The delay (audiotrack delay + queue delay) is now calculated inside JNIThread.
- Write is now non-blocking and return almost immediately (it takes between 5us
and 100us). Indeed when audiotrack internal buffer was full, write method was
taking way too much time, therefore others commands were not processed in
time (like TIME_GET).
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 3 Mar 2015 17:05:37 +0000 (18:05 +0100)]
audiotrack: check init state
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Rémi Denis-Courmont [Tue, 3 Mar 2015 21:24:55 +0000 (23:24 +0200)]
vdpau: make version requirements more explicit (fixes #14070)
Rémi Denis-Courmont [Tue, 3 Mar 2015 20:22:24 +0000 (22:22 +0200)]
vlc_path2uri: remove no-op
Rémi Denis-Courmont [Tue, 3 Mar 2015 20:18:48 +0000 (22:18 +0200)]
vlc_path2uri: allow file names starting with a pair of backslashes
Rémi Denis-Courmont [Mon, 2 Mar 2015 22:10:34 +0000 (00:10 +0200)]
po: update POTFILES.in
Francois Cartegnie [Tue, 3 Mar 2015 16:18:09 +0000 (17:18 +0100)]
demux: ts: correctly swap es id on restart
and missing extra es
Francois Cartegnie [Tue, 3 Mar 2015 16:17:33 +0000 (17:17 +0100)]
demux: ts: fix mpeg4desc leak
Francois Cartegnie [Tue, 3 Mar 2015 15:33:57 +0000 (16:33 +0100)]
demux: ts: ts_pid_t packing
From 56 to 40 bytes on 64bit systems, saves 128KB
Francois Cartegnie [Tue, 3 Mar 2015 12:45:47 +0000 (13:45 +0100)]
demux: libmp4: enforce bounds reading container