]>
git.sesse.net Git - vlc/log
Francois Cartegnie [Thu, 11 Dec 2014 20:38:10 +0000 (21:38 +0100)]
stream_filter: dash: build urls using class
We'll need this for templates
Francois Cartegnie [Thu, 4 Dec 2014 14:15:29 +0000 (15:15 +0100)]
vlc_demux: add defines for pf_demux return values
Francois Cartegnie [Wed, 10 Dec 2014 12:36:15 +0000 (13:36 +0100)]
strings: use US locale to parse ISO_8601 time format
Or fails on PT123.123S
Francois Cartegnie [Wed, 10 Dec 2014 13:47:02 +0000 (14:47 +0100)]
stream_filter: dash: evaluate correctly live stream
Live profile can be replayed as static after broadcast.
Francois Cartegnie [Wed, 10 Dec 2014 11:36:55 +0000 (12:36 +0100)]
stream_filter: dash: add support for SegmentLess representations
Francois Cartegnie [Fri, 5 Dec 2014 15:59:09 +0000 (16:59 +0100)]
stream_filter: dash: get rid of the useless thread_sys
Francois Cartegnie [Thu, 4 Dec 2014 15:18:43 +0000 (16:18 +0100)]
stream_filter: dash: ensure chunks have hostname and fully chain build url
Otherwise, connection can never be reused, and late url fix is ugly
Francois Cartegnie [Wed, 3 Dec 2014 11:50:08 +0000 (12:50 +0100)]
stream_filter: dash: refactor adaptation logic classes
and clean useless includes
Francois Cartegnie [Mon, 1 Dec 2014 17:16:29 +0000 (18:16 +0100)]
stream_filter: dash: drop MPGManager{Factory,}
Was useless proxy for periods
Francois Cartegnie [Mon, 1 Dec 2014 16:36:47 +0000 (17:36 +0100)]
stream_filter: dash: add segment start time
Francois Cartegnie [Sun, 30 Nov 2014 14:41:10 +0000 (15:41 +0100)]
stream_filter: dash: split all logic and queues by stream type
Francois Cartegnie [Sun, 30 Nov 2014 14:38:36 +0000 (15:38 +0100)]
stream_filter: dash: Split monolithic segments using index
Francois Cartegnie [Fri, 28 Nov 2014 16:55:43 +0000 (17:55 +0100)]
stream_filter: dash: add classId to segments
Francois Cartegnie [Sun, 23 Nov 2014 11:46:23 +0000 (12:46 +0100)]
stream_filter: dash: add MP4 atoms reader
Francois Cartegnie [Thu, 27 Nov 2014 14:35:53 +0000 (15:35 +0100)]
stream_filter: dash: add alwayslowest bitrate logic
Francois Cartegnie [Thu, 27 Nov 2014 11:27:11 +0000 (12:27 +0100)]
stream_filter: dash: return lowest representation if none match bw
Francois Cartegnie [Thu, 27 Nov 2014 10:39:54 +0000 (11:39 +0100)]
stream_filter: dash: remove vlc object ref from adaptationlogic
Francois Cartegnie [Thu, 27 Nov 2014 10:29:33 +0000 (11:29 +0100)]
stream_filter: dash: remove duplicate member
Francois Cartegnie [Wed, 26 Nov 2014 21:25:04 +0000 (22:25 +0100)]
stream_filter: dash: use dedicated segment classes and improve debug
Francois Cartegnie [Tue, 25 Nov 2014 12:15:24 +0000 (13:15 +0100)]
stream_filter: dash: simplify MPD factory
Francois Cartegnie [Tue, 25 Nov 2014 12:14:11 +0000 (13:14 +0100)]
stream_filter: dash: have vlc_object accessible from, at least, segments
Francois Cartegnie [Tue, 25 Nov 2014 08:20:51 +0000 (09:20 +0100)]
stream_filter: dash: rewrite the http connection and remove double queuing
Ahead chunks now equals network-caching
Francois Cartegnie [Mon, 24 Nov 2014 12:18:49 +0000 (13:18 +0100)]
stream_filter: dash: bytes to read != length
Francois Cartegnie [Mon, 24 Nov 2014 11:58:58 +0000 (12:58 +0100)]
stream_filter: dash: don't store http reply as member
Francois Cartegnie [Sun, 23 Nov 2014 22:56:02 +0000 (23:56 +0100)]
stream_filter: dash: fix double buffer alloc
Francois Cartegnie [Sun, 23 Nov 2014 19:18:23 +0000 (20:18 +0100)]
stream_filter: dash: handle segments through interface
Francois Cartegnie [Sun, 23 Nov 2014 17:44:56 +0000 (18:44 +0100)]
stream_filter: dash: add segment chunk class
Francois Cartegnie [Sun, 23 Nov 2014 17:32:33 +0000 (18:32 +0100)]
stream_filter: dash: add callback method on chunk download
Francois Cartegnie [Sun, 23 Nov 2014 13:20:09 +0000 (14:20 +0100)]
stream_filter: dash: add subsegments
We'll need to split single file, ranged chunks
Francois Cartegnie [Sat, 22 Nov 2014 10:21:05 +0000 (11:21 +0100)]
stream_filter: dash: simplify next chunk condition
Francois Cartegnie [Thu, 20 Nov 2014 22:01:09 +0000 (23:01 +0100)]
stream_filter: dash: get mimeType() from representations
Francois Cartegnie [Thu, 20 Nov 2014 17:13:23 +0000 (18:13 +0100)]
stream_filter: dash: add User-Agent
Francois Cartegnie [Thu, 20 Nov 2014 17:01:36 +0000 (18:01 +0100)]
stream_filter: dash: move out include from header
Francois Cartegnie [Thu, 20 Nov 2014 17:00:15 +0000 (18:00 +0100)]
stream_filter: dash: refactor the HTTP thing
Francois Cartegnie [Thu, 20 Nov 2014 15:24:13 +0000 (16:24 +0100)]
stream_filter: dash: remove useless includes
Francois Cartegnie [Thu, 20 Nov 2014 13:52:56 +0000 (14:52 +0100)]
stream_filter: dash: factorize http header stuff
Francois Cartegnie [Thu, 20 Nov 2014 13:28:49 +0000 (14:28 +0100)]
stream_filter: dash: fix byte range signedness and simplify
Francois Cartegnie [Thu, 20 Nov 2014 13:28:19 +0000 (14:28 +0100)]
stream_filter: dash: fix memleak
Francois Cartegnie [Thu, 20 Nov 2014 12:09:14 +0000 (13:09 +0100)]
stream_filter: dash: support Base/Range only segments
Francois Cartegnie [Thu, 20 Nov 2014 11:26:27 +0000 (12:26 +0100)]
stream_filter: dash: add init flag on segments
Francois Cartegnie [Wed, 19 Nov 2014 17:20:57 +0000 (18:20 +0100)]
stream_filter: dash: build URL hierarchically
Francois Cartegnie [Wed, 19 Nov 2014 12:49:38 +0000 (13:49 +0100)]
stream_filter: dash: fix endless loop on thread early cancellation
Francois Cartegnie [Tue, 18 Nov 2014 22:35:32 +0000 (23:35 +0100)]
stream_filter: dash: remove unused member and methods
Francois Cartegnie [Tue, 18 Nov 2014 22:31:54 +0000 (23:31 +0100)]
stream_filter: dash: simplify getting duration
Francois Cartegnie [Tue, 18 Nov 2014 22:19:11 +0000 (23:19 +0100)]
stream_filter: dash: remove double initialization
Francois Cartegnie [Tue, 18 Nov 2014 22:10:24 +0000 (23:10 +0100)]
stream_filter: dash: merge managers
Francois Cartegnie [Wed, 10 Dec 2014 13:12:05 +0000 (14:12 +0100)]
stream_filter: dash: add missing includes
Francois Cartegnie [Tue, 18 Nov 2014 21:58:33 +0000 (22:58 +0100)]
stream_filter: dash: move representation selection into logic
Francois Cartegnie [Tue, 18 Nov 2014 15:43:21 +0000 (16:43 +0100)]
stream_filter: dash: always get segments through representation
Francois Cartegnie [Tue, 18 Nov 2014 15:20:01 +0000 (16:20 +0100)]
stream_filter: dash: simplify getBestRepresentation
Francois Cartegnie [Tue, 18 Nov 2014 15:06:31 +0000 (16:06 +0100)]
stream_filter: dash: switch default parser
Francois Cartegnie [Tue, 18 Nov 2014 14:30:59 +0000 (15:30 +0100)]
stream_filter: dash: add representation baseurl
Francois Cartegnie [Tue, 18 Nov 2014 14:25:37 +0000 (15:25 +0100)]
stream_filter: dash: don't try to close invalid fd
Francois Cartegnie [Tue, 18 Nov 2014 13:16:02 +0000 (14:16 +0100)]
stream_filter: dash: remove unused segment methods
Francois Cartegnie [Mon, 17 Nov 2014 21:42:10 +0000 (22:42 +0100)]
stream_filter: dash: fix iteration on different lists
List was not returned by reference
Francois Cartegnie [Mon, 17 Nov 2014 19:00:04 +0000 (20:00 +0100)]
stream_filter: dash: update profiles
Ludovic Fauvet [Thu, 18 Dec 2014 13:59:13 +0000 (14:59 +0100)]
main: remove extraneous subcategory (fixes #13111)
Ludovic Fauvet [Wed, 17 Dec 2014 13:26:50 +0000 (14:26 +0100)]
Fix broken NowPlaying (close #9960, #11796, #12850)
Prevent the es_out from overriding the NowPlaying state by splitting
the meta into NowPlaying and ESNowPlaying.
The function input_item_GetNowPlayingFb can be used to return the
preferred meta value.
Rafaël Carré [Wed, 17 Dec 2014 17:39:29 +0000 (18:39 +0100)]
ncurses: fix exit
Closes #11877
Thomas Guillem [Tue, 16 Dec 2014 12:02:27 +0000 (12:02 +0000)]
swscale: fix memory corruption when i_extend_factor != 1
This led to a random crash when resizing video on a small display (or when
resizing small video).
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 16 Dec 2014 18:42:49 +0000 (19:42 +0100)]
android/surface: fix prototype
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Wed, 17 Dec 2014 09:29:09 +0000 (10:29 +0100)]
mediacodec: fix deprecated calls if API >= 21
Use getInputBuffer and getOutputBuffer instead of getInputBuffers and
getOutputBuffers.
see http://developer.android.com/reference/android/media/MediaCodec.html
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 16 Dec 2014 18:42:47 +0000 (19:42 +0100)]
mediacodec: add member.critical
Fail only if a critical method is not found.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 16 Dec 2014 18:42:46 +0000 (19:42 +0100)]
mediacodec: lock InsertInflightPicture
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 16 Dec 2014 18:42:45 +0000 (19:42 +0100)]
mediacodec: use a dynamic array for inflight pictures.
Starting API 21, the way to know the number of output buffers is deprecated.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Mon, 15 Dec 2014 18:46:34 +0000 (19:46 +0100)]
Contrib: update upnp win32 patch
Mostly to remove "#include <iphlpapi.h>" which is unecessary, and can
break
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Felix Paul Kühne [Sun, 14 Dec 2014 16:54:46 +0000 (17:54 +0100)]
contrib: allow RECONF without depending on gettext/autopoint on iOS
Rémi Denis-Courmont [Tue, 16 Dec 2014 17:59:57 +0000 (19:59 +0200)]
es_format: avoid copy in video_format_IsSimilar() if possible
Rémi Denis-Courmont [Mon, 15 Dec 2014 17:24:25 +0000 (19:24 +0200)]
playlist: automatically resume from pause when uncorked
Rémi Denis-Courmont [Mon, 15 Dec 2014 17:22:46 +0000 (19:22 +0200)]
playlist: use the new playlist_Pause() where appropriate
This fixes corking especially.
Rémi Denis-Courmont [Mon, 15 Dec 2014 17:21:58 +0000 (19:21 +0200)]
playlist: use playlist_TogglePause() directly, fix minor races
This function already starts playback if stopped (and as far as I know
it always has).
Rémi Denis-Courmont [Mon, 15 Dec 2014 17:20:29 +0000 (19:20 +0200)]
playlist: use playlist_Play() directly, fix minor races
This function already checks if the playlist is running internally,
in which case it has no effects.
Rémi Denis-Courmont [Mon, 15 Dec 2014 17:07:24 +0000 (19:07 +0200)]
playlist: add (proper) playlist_Pause() and playlist_Resume()
Those two functions have no effects if the playlist is stopped.
Otherwise they force the playlist to playing ("running") or paused
state respectively.
As a reminder, the existing playlist_Play() forces the playlist into
running state (unless it is empty), and playlist_Stop() forces the
playlist into stopped state (unless the input thread refuses to die).
There are no functions to force the playlist to paused state.
Rémi Denis-Courmont [Mon, 15 Dec 2014 17:03:59 +0000 (19:03 +0200)]
playlist: remove status.i_status
Rémi Denis-Courmont [Mon, 15 Dec 2014 16:29:50 +0000 (18:29 +0200)]
playlist: remove request.i_status
Rémi Denis-Courmont [Mon, 15 Dec 2014 15:45:55 +0000 (17:45 +0200)]
playlist: rename playlist_Pause() to playlist_TogglePause()
The behaviour is unchanged:
- if stopped: starts playing,
- if playing: pauses playing,
- if paused: resumes playing.
Rémi Denis-Courmont [Mon, 15 Dec 2014 15:41:16 +0000 (17:41 +0200)]
playlist: remove unused return value from playlist_Control()
Rémi Denis-Courmont [Mon, 15 Dec 2014 15:39:39 +0000 (17:39 +0200)]
lua/playlist: do not handle impossible error
Jean-Baptiste Kempf [Mon, 15 Dec 2014 15:49:01 +0000 (16:49 +0100)]
Win32: don't build NPAPI in package-win-common
Many people don't care about NPAPI and it's hard to build
Rémi Denis-Courmont [Sun, 14 Dec 2014 16:59:54 +0000 (18:59 +0200)]
playlist: move playlist controls to vlc_playlist.h
Tristan Matthews [Mon, 15 Dec 2014 04:50:03 +0000 (23:50 -0500)]
Revert "faad: drop byte of padding for raw streams"
This reverts commit
937911d559051522554ac6f0d6d35fc0836d541a which was
obsoleted by commit
0fd580b8c0f1590d2b01a5062b4a1d616cd80e1c .
Tristan Matthews [Mon, 15 Dec 2014 03:33:57 +0000 (22:33 -0500)]
faad: always drop byte of padding (fixes #5257)
Also covers #2575 and #11514
Jean-Baptiste Kempf [Sun, 14 Dec 2014 21:48:33 +0000 (22:48 +0100)]
Qt: avoid crash in resume dialog
I don't really see how this can happen, but it should fix it.
Close #13190
Felix Paul Kühne [Wed, 12 Mar 2014 13:48:12 +0000 (14:48 +0100)]
contrib/harfbuzz: work-around build system stupidity breaking clang compilation
Felix Paul Kühne [Sun, 14 Dec 2014 12:17:07 +0000 (13:17 +0100)]
extras: fix iOS prefix for AArch64
Jean-Baptiste Kempf [Sat, 13 Dec 2014 16:09:49 +0000 (17:09 +0100)]
Qt: fix frame around time in toolbar editor
Close #12888
Jean-Baptiste Kempf [Sat, 13 Dec 2014 15:37:15 +0000 (16:37 +0100)]
Qt: frame around speed selector is unnecessary
Or just ugly in some themes
Rémi Denis-Courmont [Fri, 12 Dec 2014 16:41:18 +0000 (18:41 +0200)]
swscale: scale within the crop area, not top-left (really fixes #12085)
Unfortunately, this can cause a slight offset of the colour planes if the
top/left crop offset is not a multiple of the subsampling ratio.
Rémi Denis-Courmont [Fri, 12 Dec 2014 15:35:24 +0000 (17:35 +0200)]
Revert "swscale: scale the whole picture (fixes #12085)"
This reverts commit
44d4685b1ca4d1b58c4ce77d479103d482be5d14 .
When using a scaling algorithm other than nearest neighbor, this change
caused the picture padding to be scaled with the video.
Rémi Denis-Courmont [Fri, 12 Dec 2014 16:06:13 +0000 (18:06 +0200)]
swscale: remove constant parameter
Rémi Denis-Courmont [Fri, 12 Dec 2014 15:54:28 +0000 (17:54 +0200)]
XCB/XVideo: add a TODO
Rémi Denis-Courmont [Fri, 12 Dec 2014 15:26:55 +0000 (17:26 +0200)]
vout: update priority rules to account for SPU blending
This moves Direct3D on Windows (with no effects on actual order) and
OpenGL on Linux/BSD (now exceeding XVideo thanks shaders and blending).
It remains to be decided whether OpenGL should be increased on Windows;
in principles, it should have a higher priority than D2D and DDraw.
Rémi Denis-Courmont [Fri, 12 Dec 2014 15:22:53 +0000 (17:22 +0200)]
Wayland/SHM: fix priority
Rémi Denis-Courmont [Fri, 12 Dec 2014 15:11:22 +0000 (17:11 +0200)]
vout: document the priority rules
Rémi Denis-Courmont [Fri, 12 Dec 2014 15:02:45 +0000 (17:02 +0200)]
XCB/XVideo: request correct picture format from the adaptor
This is bug compatibility for XVideo drivers that scale the whole
picture rather than the source rectangle (the XVideo 2 specification
does not really state which behaviour is correct).
This works because the video output core only applies crop parameters
*after* the vout display plugin is activated. This is brittle though:
the A/R and crop parameters should probably be passed as configuration
like zoom.
KO Myung-Hun [Mon, 8 Dec 2014 02:58:18 +0000 (11:58 +0900)]
access_mms: fix linkage on OS/2
-----
CCLD libaccess_mms_plugin.la
weakld: error: Unresolved symbol (UNDEF) '_vlc_poll'.
weakld: info: The symbol is referenced by:
P:\tmp\ldconv_libaccess_mms_plugin_la-mmstu_38da54703f4316fd10.obj
Ignoring unresolved externals reported from weak prelinker.
Error! E2028: _vlc_poll is an undefined reference
file P:/tmp\ldconv_libaccess_mms_plugin_la-mmstu_38da54703f4316fd10.obj(ldconv_libaccess_mms_plugin_la-mmstu_38da54703f4316fd10.obj): undefined symbol _vlc_poll
-----
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Thomas Guillem [Fri, 12 Dec 2014 11:38:54 +0000 (12:38 +0100)]
mediacodec: fix jni LocalRef leaks
We can only have 512 LocalRefs, so don't leak them.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Wed, 10 Dec 2014 21:13:45 +0000 (22:13 +0100)]
Contribs: fix zvbi compilation for Android
Fabian Yamaguchi [Fri, 5 Dec 2014 12:58:24 +0000 (13:58 +0100)]
stream_out: rtp: don't use VLA for user controlled data
It should fix a possible invalid memory access
When streaming ogg-files via rtp, an ogg-file can trigger an invalid
write access using an overly long 'configuration' string.
The original code attemps to allocate space to hold the string on the stack
and hence, cannot verify if allocation succeeds. Instead, we now allocate the
buffer on the heap and return if allocation fails.
In detail, rtp_packetize_xiph_config allocates a buffer on the stack at (1) where
the size depends on the local variable 'len'. The variable 'len' is
calculated at (0) to be the length of a string contained in a specially
crafted Ogg Vorbis file, and therefore, it is attacker-controlled.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Fabian Yamaguchi [Sat, 6 Dec 2014 12:12:38 +0000 (13:12 +0100)]
misc: update: fix buffer overflow in updater
On 32 bit builds, parsing of update status files with a size of
4294967295 or more lead to an integer truncation in a call to malloc
and a subsequent buffer overflow. This happened prior to checking the
files' signature. The commit fixes this by disallowing overly large
status files (above 65k in practice)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>