]>
git.sesse.net Git - vlc/log
Steinar H. Gunderson [Sun, 29 Mar 2015 19:30:22 +0000 (21:30 +0200)]
Fix Metacube header handling with multiple header blocks.
Some muxes, e.g. MP4, will send multiple header blocks. These are
merged by the HTTP server to a single header which is sent out to
the beginning of each client. However, they are _also_ sent out
directly on the wire to any client that connected before the first
block. In this case, we would send two separate Metacube header
blocks, which would have Cubemap (correctly) discard the first and
set only the second as header.
This would make us send only part of the MP4 header when sending
through Cubemap, if Cubemap connected before the first non-header
block, which would in turn confuse Chrome on Android (although not
Chrome on e.g. Linux). As Cubemap is pretty aggressive about
reconnecting (trying every 200 ms), this could easily happen in practice.
Steinar H. Gunderson [Fri, 16 Aug 2013 14:42:55 +0000 (16:42 +0200)]
Revert "deinterlace: add basic support for YUY2 and NV12 (fixes #2206)"
This commit breaks the
cc4f3ed functionality, since it makes YUY2 fall back
to the non-framedoubling deinterlacers.
Steinar H. Gunderson [Fri, 16 Aug 2013 14:42:44 +0000 (16:42 +0200)]
Fix deinterlacing of packed YUV formats.
If adding the deinterlacer filter fails, try conversion filters
until we try something the deinterlacer wants, and then try again.
This fixes the problem where the input from the decklink module
(at least with --no-decklink-tenbits) is UYVY, while the deinterlacer only
wants planar formats.
Another possibility would be going straight for the format the
encoder wants, but often, this would be a 4:2:0 format, and 4:2:0
is pretty bad to deinterlace in, since the vertical chroma resolution
is gone already (the chroma interlacing in 4:2:0 is rather odd).
Rémi Denis-Courmont [Sat, 28 Mar 2015 17:15:35 +0000 (19:15 +0200)]
qt4: fix duplicate symbol
Rémi Denis-Courmont [Sat, 28 Mar 2015 14:30:47 +0000 (16:30 +0200)]
qt4: fix COM leak and handle errors
Francois Cartegnie [Fri, 27 Mar 2015 00:38:22 +0000 (01:38 +0100)]
demux: ts: parse SL config
Francois Cartegnie [Thu, 26 Mar 2015 22:13:41 +0000 (23:13 +0100)]
demux: ts: rewrite/split IOD parsing
Fixes read overflows.
Francois Cartegnie [Thu, 26 Mar 2015 12:24:44 +0000 (13:24 +0100)]
demux: ts: fix SL/FMC descriptors handling
Thomas Guillem [Wed, 25 Mar 2015 15:39:54 +0000 (15:39 +0000)]
mediacodec: remove debug log
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Wed, 25 Mar 2015 14:46:25 +0000 (14:46 +0000)]
libvlc_MetaRequest: increment item i_preparse_depth
libvlc_MetaRequest comes from the user, so we can increment i_preparse_depth to
force a preparsing.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Petri Hintukainen [Thu, 26 Mar 2015 08:36:51 +0000 (08:36 +0000)]
Add bluray to GuessType()
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Wed, 25 Mar 2015 22:04:53 +0000 (23:04 +0100)]
demux: ts: reset mpeg4desc/iod pointer on PMT update
Francois Cartegnie [Wed, 25 Mar 2015 22:01:12 +0000 (23:01 +0100)]
demux: ts: remove old struct
Francois Cartegnie [Wed, 25 Mar 2015 21:57:27 +0000 (22:57 +0100)]
Revert "demux: ts: fix mpeg4desc leak"
Points to PMT's IOD
This reverts commit
6d35a852a8d1a655670ec3aca909cd574e253162 .
Francois Cartegnie [Wed, 25 Mar 2015 21:38:24 +0000 (22:38 +0100)]
demux: ts: ensure iod is present when looking for SLDesc
Rémi Denis-Courmont [Wed, 25 Mar 2015 20:30:32 +0000 (22:30 +0200)]
configure: simplify maintainer mode and rectify default in help
Aleksandr Pasechnik [Fri, 13 Mar 2015 01:49:52 +0000 (01:49 +0000)]
added start playback in paused mode (#2936)
Added a boolean Playlist preference called start-pause.
Setting the preference causes the src/input/input.c Run function to call the
ControlPause function after Init finishes successfully.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Wed, 25 Mar 2015 14:40:52 +0000 (15:40 +0100)]
Qt: avoid redefine warning
Thomas Guillem [Tue, 24 Mar 2015 16:31:21 +0000 (16:31 +0000)]
input: drop ITEM_TYPE_CDDA
Since it's not used anymore.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 24 Mar 2015 16:22:20 +0000 (16:22 +0000)]
libvlc: add libvlc_media_get_type
Get the type of the media.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 24 Mar 2015 16:22:19 +0000 (16:22 +0000)]
input: handle recursive parsing in preparser
Add i_preparse_depth in input_item to handle how many level of sub items can be
parsed.
The "recursive" option is now moved from access/file to the playlist category.
You can now abort a long local directory opening.
NET items won't be parsed recursively since playlist_preparser_Push is not
called with the META_REQUEST_OPTION_SCOPE_NETWORK argument.
Fixes #13850
Fixes #11921
Fixes #13872
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 24 Mar 2015 16:22:18 +0000 (16:22 +0000)]
sftp: change item b_net
Set b_net to true.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 24 Mar 2015 16:22:17 +0000 (16:22 +0000)]
upnp: change item b_net and i_type
Set b_net to true, and set ITEM_TYPE_DIRECTORY if the item is a share of a
directory.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 24 Mar 2015 16:22:16 +0000 (16:22 +0000)]
dsm: change item b_net and i_type
Set b_net to true, and set ITEM_TYPE_DIRECTORY if the item is a share of a
directory.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 24 Mar 2015 16:22:15 +0000 (16:22 +0000)]
input: add b_net variable in item
When an item was a NET/STREAM type, there was no way to distinguish if the item
was a file, a playlist or directory.
Add a new variable, b_net in addition to i_type. This variable is automatically
set when creating a new Item (set to true for ITEM_TYPE_STREAM). It can be
overridden via the new input_item_NewWithTypeExt function. This new function
will allow accesses to create FILE, or DIRECTORY items with b_net set to true.
Unless forced, the preparser won't parse items with b_net == true.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 24 Mar 2015 16:22:14 +0000 (16:22 +0000)]
input: replace ITEM_TYPE_NET by ITEM_TYPE_STREAM
This type is set for streams (rtsp, httplive, mms...).
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Wed, 25 Mar 2015 14:07:54 +0000 (15:07 +0100)]
Contribs: update dvdread to 5.0.3
Thomas Guillem [Wed, 25 Mar 2015 13:41:06 +0000 (14:41 +0100)]
dvdnav: add Demux submodule
It allows to use dvdnav via a VLC access using new dvdnav stream callbacks.
When using a VLC access, dvdnav readahead flag is disabled in order to read
small chunk of data from pf_demux (that is 2kB).
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Tue, 24 Mar 2015 19:57:07 +0000 (20:57 +0100)]
demux: ts: remove pid array
Few PID in the whole range are really used.
Minus pointers and alignment, should save ~320KBytes
in most cases.
Steve Lhomme [Tue, 24 Mar 2015 08:47:27 +0000 (08:47 +0000)]
direct3d11: support more pixel formats
list of possible formats https://msdn.microsoft.com/en-us/library/windows/desktop/
bb173059 %28v=vs.85%29.aspx
the ones marked BROKEN_PIXEL are not writing pixels properly, not knowing much
about pixel shaders, I'm not the best qualified to handle this
the ones marked UNTESTED means my Win8 machine doesn't support them
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Tue, 24 Mar 2015 09:17:37 +0000 (09:17 +0000)]
Contrib: allow building contribs with no optimization
--
uses the same flag logic as --disable-gpl
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Tue, 24 Mar 2015 12:00:54 +0000 (13:00 +0100)]
direct3d11: catch texture mapping errors
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Tue, 24 Mar 2015 15:03:10 +0000 (16:03 +0100)]
D3D11: use defines for DXGI
Jean-Baptiste Kempf [Tue, 24 Mar 2015 14:54:51 +0000 (15:54 +0100)]
Direct3D11: rework Open function
Eugen Geist [Mon, 23 Mar 2015 17:35:55 +0000 (17:35 +0000)]
Improved recognition of selected bookmarks for deletion.
Removed FIXME annotation and fixed the recognition of selected rows in
bookmarklist.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 24 Mar 2015 09:34:58 +0000 (10:34 +0100)]
mediacodec: fix warning
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 24 Mar 2015 09:34:57 +0000 (10:34 +0100)]
mediacodec: Fix freeze when seeking on pause
See FIXME comment.
Fixes #12397
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 24 Mar 2015 09:34:56 +0000 (10:34 +0100)]
mediacodec: skip prerolled frames
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 24 Mar 2015 09:34:55 +0000 (10:34 +0100)]
mediacodec: don't loop in GetOutput
DecodeVideo is already looping.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 24 Mar 2015 09:34:54 +0000 (10:34 +0100)]
mediacodec: factorize release_output_buffer
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 24 Mar 2015 09:34:53 +0000 (10:34 +0100)]
mediacodec: handle error_state in one place
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 24 Mar 2015 09:34:52 +0000 (10:34 +0100)]
mediacodec: process input buffers in only one place
(behavior not changed)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Mon, 23 Mar 2015 22:38:12 +0000 (23:38 +0100)]
demux: avi: improve broken index offset heuristic (fix #14120)
Avoids using movi position as offset when the broken index refers
to beginning of file and the first sample size is exactly movi's
offset.
Rémi Denis-Courmont [Mon, 23 Mar 2015 21:31:53 +0000 (23:31 +0200)]
udp: fix locking (fixes #14234) and cancellation
Aleksandr Pasechnik [Sat, 21 Mar 2015 00:51:46 +0000 (20:51 -0400)]
enable the macosx GUI to handle negative stop-time
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Steve Lhomme [Mon, 23 Mar 2015 14:15:47 +0000 (15:15 +0100)]
direct3d11: implement the pixel format fallback
NV12 is not supported in Windows 7 [1] so we need to fallback to RGBA
1: https://msdn.microsoft.com/en-us/library/windows/desktop/
bb173059 %28v=vs.85%29.aspx#DXGI_FORMAT_NV12
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Mon, 23 Mar 2015 15:04:57 +0000 (16:04 +0100)]
direct3d11: don't crash when exiting with an error
It happens when opening the D3D11 device fails
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Mon, 23 Mar 2015 15:18:59 +0000 (16:18 +0100)]
direct3d11: code cleaning and typos
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Mon, 23 Mar 2015 16:30:40 +0000 (17:30 +0100)]
direct3d11: D3D11_CREATE_DEVICE_DEBUG requires VisualStudio or Windows SDK
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Mon, 23 Mar 2015 14:57:48 +0000 (15:57 +0100)]
demux: ts: only interpolate PCR on missing PCR
Because if the PCR exists and has an offset,
the first PCR update will be interpolated
and no following pcr/dts offset fixup will
work without delaying playback by the
real - interpolated pcr.
Francois Cartegnie [Sun, 22 Mar 2015 22:47:12 +0000 (23:47 +0100)]
demux: ts: correctly update current chain when dequeuing
Jean-Baptiste Kempf [Mon, 23 Mar 2015 13:57:50 +0000 (14:57 +0100)]
Upnp: remove trailing space
Jean-Baptiste Kempf [Mon, 23 Mar 2015 13:57:03 +0000 (14:57 +0100)]
LUA is still GPLv2+
Jean-Baptiste Kempf [Mon, 23 Mar 2015 13:48:49 +0000 (14:48 +0100)]
Remove bonjour in access_output
It's a great idea, but not the best implementation and broken since a
long time.
Steve Lhomme [Mon, 23 Mar 2015 09:28:52 +0000 (10:28 +0100)]
direct3d11: give enough room for the \0 in the string
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Mon, 23 Mar 2015 09:56:15 +0000 (10:56 +0100)]
Qt is GPLv2+
Tristan Matthews [Sun, 22 Mar 2015 22:01:26 +0000 (18:01 -0400)]
vpx: fix leak
Tristan Matthews [Sun, 22 Mar 2015 21:48:21 +0000 (17:48 -0400)]
RSS: remove no-op
"end" label is only reached if psz_eltname is NULL.
Tristan Matthews [Sun, 22 Mar 2015 21:42:19 +0000 (17:42 -0400)]
shine: avoid double free
If subsequent malloc or realloc failed, free would be called on a dangling
pointer.
Tristan Matthews [Sun, 22 Mar 2015 21:15:49 +0000 (17:15 -0400)]
access: archive: remove dead initialization
Tristan Matthews [Sun, 22 Mar 2015 21:13:45 +0000 (17:13 -0400)]
block_helper: remove dead assignments
David Fuhrmann [Sun, 22 Mar 2015 20:52:16 +0000 (21:52 +0100)]
macosx: video effects: fix threshold checkbox visibility
Rémi Denis-Courmont [Sun, 22 Mar 2015 20:04:27 +0000 (22:04 +0200)]
decoder: fix race / incorrect assertion
Rémi Denis-Courmont [Sun, 22 Mar 2015 12:31:39 +0000 (14:31 +0200)]
wasapi: add loopback mode
Rémi Denis-Courmont [Sun, 2 Mar 2014 15:04:35 +0000 (17:04 +0200)]
wasapi: audio capture client module (fixes #7205)
David Fuhrmann [Sun, 22 Mar 2015 18:02:28 +0000 (19:02 +0100)]
puzzle: fix error check, do not leak pictures on error
close #14006
Rémi Denis-Courmont [Sun, 22 Mar 2015 17:58:21 +0000 (19:58 +0200)]
Real RTSP: discard unsupported legacy username and password syntax
This is better than leaking them to the DNS resolver. This also avoids
confusing error messages if live555 is missing or failing.
Francois Cartegnie [Sun, 22 Mar 2015 15:18:20 +0000 (16:18 +0100)]
mux: mp4: handle box/bo failed alloc/realloc
refs #14193
Francois Cartegnie [Sat, 21 Mar 2015 18:29:35 +0000 (19:29 +0100)]
mux: avi: handle failed reallocs
refs #14193
Francois Cartegnie [Sat, 21 Mar 2015 18:27:53 +0000 (19:27 +0100)]
mux: avi: don't try to delete failed stream
Francois Cartegnie [Sat, 21 Mar 2015 17:48:06 +0000 (18:48 +0100)]
mux: avi: fix leak on format failure
Francois Cartegnie [Sat, 21 Mar 2015 14:08:16 +0000 (15:08 +0100)]
vlc_bits: use vlc_common and guards against failed realloc
refs #14193
Rémi Denis-Courmont [Sat, 21 Mar 2015 20:19:13 +0000 (22:19 +0200)]
decoder: reduce lock scope and cosmetic
p_owner->b_paused can only be written by the owner, so the owner thread
does not need to lock to read it. (However, locking is necessary to
write it from the owner thread, or to read it from the decoder thread.)
Rémi Denis-Courmont [Sat, 21 Mar 2015 20:02:42 +0000 (22:02 +0200)]
aout: remove aout_DecIsEmpty()
Rémi Denis-Courmont [Sat, 21 Mar 2015 19:59:58 +0000 (21:59 +0200)]
decoder: drain the audio output properly
Rémi Denis-Courmont [Sat, 21 Mar 2015 19:56:50 +0000 (21:56 +0200)]
aout: add wait parameter to aout_DecFlush()
Rémi Denis-Courmont [Sat, 21 Mar 2015 19:58:53 +0000 (21:58 +0200)]
decoder: cosmetic changes
Rémi Denis-Courmont [Sat, 21 Mar 2015 18:38:12 +0000 (20:38 +0200)]
decoder: inline DecoderSignalWait()
Rémi Denis-Courmont [Sat, 21 Mar 2015 18:43:33 +0000 (20:43 +0200)]
decoder: do not mix and match condidition variable and mutex pairings
Rémi Denis-Courmont [Sat, 21 Mar 2015 18:16:35 +0000 (20:16 +0200)]
decoder: do not wait for buffering when there is no data
This removes small hacks surrounding this corner case.
Rémi Denis-Courmont [Sat, 21 Mar 2015 18:06:26 +0000 (20:06 +0200)]
decoder: remove BLOCK_FLAG_CORE_EOS
Do not rely on allocating a block for draining the decoder and output.
Rémi Denis-Courmont [Sat, 21 Mar 2015 18:23:01 +0000 (20:23 +0200)]
fifo: fix FIFO bytes size computation
Rémi Denis-Courmont [Sat, 21 Mar 2015 17:47:18 +0000 (19:47 +0200)]
decoder: remove unnecessary special case
All audio decoders support the *pp_block == NULL case, and return NULL.
This enables audio decoders to drain cleanly.
Rémi Denis-Courmont [Sat, 21 Mar 2015 17:29:55 +0000 (19:29 +0200)]
decoder: simplify audio path
DecoderPlayAudio() has no effects with a NULL block.
David Fuhrmann [Sat, 21 Mar 2015 17:30:21 +0000 (18:30 +0100)]
macosx: fix main menu initialization order on startup
MainMenus p_intf can be already accessed before
applicationWillFinishLaunching was called.
This should fix quite some crashes reported by the users.
Rémi Denis-Courmont [Sat, 21 Mar 2015 17:09:45 +0000 (19:09 +0200)]
es_out: use input_DecoderDrain()
Rémi Denis-Courmont [Sat, 21 Mar 2015 17:09:31 +0000 (19:09 +0200)]
decoder: add input_DecoderDrain()
David Fuhrmann [Sat, 21 Mar 2015 17:04:09 +0000 (18:04 +0100)]
macosx: fix wrong ref counting in media info
Rémi Denis-Courmont [Sat, 21 Mar 2015 17:00:57 +0000 (19:00 +0200)]
decoder: factor some common code into DecoderUpdateFormatLocked()
Rémi Denis-Courmont [Sat, 21 Mar 2015 16:25:03 +0000 (18:25 +0200)]
decoder: reorder to avoid forward declation, no functional changes
Rémi Denis-Courmont [Sat, 21 Mar 2015 16:10:38 +0000 (18:10 +0200)]
decoder: fix data race in sout
Rémi Denis-Courmont [Sat, 21 Mar 2015 15:48:07 +0000 (17:48 +0200)]
decoder: merge b_exit into b_flushing
There is nothing special about exiting at this level. The decoder
should discard its buffers and return to reading the input FIFO at the
earliest (where it gets canceled). This is the same as flushing.
Rémi Denis-Courmont [Sat, 21 Mar 2015 16:03:33 +0000 (18:03 +0200)]
decoder: fix data race in input_DecoderChangePause()
See also
0fde3beaa85528e555bac9c1b327ba5a32da67e9 .
Rémi Denis-Courmont [Sat, 21 Mar 2015 15:59:20 +0000 (17:59 +0200)]
decoder: fix data race in input_DecoderFrameNext()
See also
0fde3beaa85528e555bac9c1b327ba5a32da67e9 .
Rémi Denis-Courmont [Sat, 21 Mar 2015 15:58:27 +0000 (17:58 +0200)]
es_out: do not start buffering when already buferring
This fixes an assertion failure.
Regression from
621400186a49b282197267e588a030b425829a64 .
Rémi Denis-Courmont [Sat, 21 Mar 2015 15:57:46 +0000 (17:57 +0200)]
decoder: add input_DecoderFlush()
David Fuhrmann [Sat, 21 Mar 2015 16:31:20 +0000 (17:31 +0100)]
macosx: Update progress dialog on the main thread, make check thread safe
This should fix some crashes as reported by the users.
Rémi Denis-Courmont [Sat, 21 Mar 2015 12:15:22 +0000 (14:15 +0200)]
vlc_plugin: fix non-LGPL plugins meta infos
Rémi Denis-Courmont [Sat, 21 Mar 2015 11:42:56 +0000 (13:42 +0200)]
vlc_plugin: allow overriding module meta-infos
Steve Lhomme [Thu, 19 Mar 2015 12:08:12 +0000 (12:08 +0000)]
directsound: fix TimeGet returning a positive value on error
Fixes #14186
a positive HRESULT means it succeeded.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>