]>
git.sesse.net Git - vlc/log
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>
Carlos Fenollosa [Wed, 18 Mar 2015 17:43:23 +0000 (18:43 +0100)]
Added forward and rewind (30s) buttons to mobile HTTP remote control
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Wed, 18 Mar 2015 09:16:44 +0000 (09:16 +0000)]
decoder: fix race in spu_new_buffer
There is a race when starting video with subtitles at a given position (via
--start-time).
If all decoders are flushed early, the video decoder may not have created the
Vout via the decoder_NewPicture call. In that case, spu_new_buffer will be
blocking for 6 seconds. Indeed, spu_new_buffer can block for maximum 6 seconds
when it's waiting for a Vout.
To solve this race, abort spu_new_buffer if decoder is flushing.
How to reproduce the race condition:
./vlc --start-time 3600 <video_with_subtitles>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Eugen Geist [Thu, 19 Mar 2015 16:57:05 +0000 (16:57 +0000)]
Update bookmark list before showing dialog.
Fixes #2100.
Override toggleVisible of BookmarkDialog to call update before using toggleVisible of QVLCFrame
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Steve Lhomme [Fri, 20 Mar 2015 08:07:05 +0000 (08:07 +0000)]
libass: use the visible area dimensions, not the input dimensions
Fixes incorrect offset when playing http://streams.videolan.org/misc/test-files-ccc/vsfilter_general_TestCase.mkv
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Miha Sokolov [Fri, 20 Mar 2015 09:38:51 +0000 (09:38 +0000)]
fix teletext framing code in DVB PES packets ignored
Check the teletext framing code in PES buffer for each of the received lines
and only copy those with correct framing code (p_block->p_buffer[3]) to the
p_sliced buffer that is later forwarded to ZVBI vbi_decode. Invalid lines
will not reach vbi_decode anymore.
When also packets with erroneous framing code are sent to vbi_decode (often
0x00 with some noise), in most cases those are decoded as packet 1/2,
causing the second text line on the teletext page to be overwritten with
spaces. So we need to avoid sending such packets with invalid framing code
to vbi_decode.
Close #14191
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Fri, 20 Mar 2015 14:47:04 +0000 (15:47 +0100)]
Win32: don't call setsockopt if compiling for Windows 8.0
Ilkka Ollakka [Thu, 19 Mar 2015 06:52:30 +0000 (08:52 +0200)]
udp: adjust receive buffer for windows 7 and earlier
Try to detect runtime what windows version it is running to see if
receive buffers should be increased or leave to OS handling.
Fixes #14200