]>
git.sesse.net Git - vlc/log
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>
Thomas Guillem [Wed, 10 Dec 2014 17:19:51 +0000 (18:19 +0100)]
dsm/sd: discover in a separate thread
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Wed, 10 Dec 2014 17:19:50 +0000 (18:19 +0100)]
Require libdsm >= 0.0.3
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Wed, 10 Dec 2014 17:19:49 +0000 (18:19 +0100)]
contrib: update libdsm to 0.0.3
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Wed, 10 Dec 2014 17:19:48 +0000 (18:19 +0100)]
contrib: fix libdsm and libtasn1 rules
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Wed, 10 Dec 2014 17:19:47 +0000 (18:19 +0100)]
dsm: don't use netbios struct members directly
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Felix Paul Kühne [Tue, 9 Dec 2014 21:13:08 +0000 (22:13 +0100)]
lib/media player: inherit vbi-page to achieve correct variable value on first use
Diego Biurrun [Tue, 9 Dec 2014 15:58:08 +0000 (16:58 +0100)]
libmp4: Move variable declaration to avoid unused variable warning
demux/mp4/libmp4.c:858:12: warning: variable ‘translate’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Diego Biurrun [Tue, 9 Dec 2014 15:58:07 +0000 (16:58 +0100)]
H.264 packetizer: Drop unused variable
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Tue, 9 Dec 2014 17:49:10 +0000 (18:49 +0100)]
Koreus: fix lua escaping
Jean-Baptiste Kempf [Tue, 9 Dec 2014 17:38:22 +0000 (18:38 +0100)]
Koreus: improve description parsing (support spoilers) and https
Jean-Baptiste Kempf [Tue, 9 Dec 2014 10:07:01 +0000 (11:07 +0100)]
Contribs: update autoconf files for zvbi
Ludovic Fauvet [Tue, 9 Dec 2014 09:48:01 +0000 (10:48 +0100)]
mpg123: simplify error handling and fix leak
Felix Paul Kühne [Mon, 8 Dec 2014 22:50:32 +0000 (23:50 +0100)]
contrib/vpx: fix compilation for AArch64 with the updated iOS build script
Felix Paul Kühne [Mon, 8 Dec 2014 22:50:04 +0000 (23:50 +0100)]
contrib/ffmpeg: minor cleanup
Felix Paul Kühne [Mon, 8 Dec 2014 22:48:52 +0000 (23:48 +0100)]
contrib: don't treat AArch64 as ARMv7 for iOS
Felix Paul Kühne [Mon, 8 Dec 2014 22:48:12 +0000 (23:48 +0100)]
ios build script: adapt to the Android style of compiling for AArch64
Fabian Yamaguchi [Fri, 5 Dec 2014 12:52:42 +0000 (13:52 +0100)]
demux: mp4: fix buffer overflow in parsing of string boxes.
We ensure that pbox->i_size is never smaller than 8 to avoid an
integer underflow in the third argument of the subsequent call to
memcpy. We also make sure no truncation occurs when passing values
derived from the 64 bit integer p_box->i_size to arguments of malloc
and memcpy that may be 32 bit integers on 32 bit platforms.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Uwe L. Korn [Fri, 5 Dec 2014 19:11:06 +0000 (20:11 +0100)]
taglib: Support reading of DiscNumber from ID3v2 and Xiph tags
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Uwe L. Korn [Fri, 5 Dec 2014 19:11:05 +0000 (20:11 +0100)]
input: Add support for DiscNumber meta
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Tristan Matthews [Sun, 7 Dec 2014 16:45:38 +0000 (11:45 -0500)]
Revert "contrib: use speexdsp 1.2rc2"
This reverts commit
67066bf6dccc61ff15b6385dd80451a025a5217d and
1a2780cbbc0ab64dacfedd132f1d95aecf3df45d as there are still some
upstream issues to resolve.
Felix Paul Kühne [Sun, 7 Dec 2014 15:39:32 +0000 (16:39 +0100)]
contrib/speexdsp: fix compilation broken in
67066bf6dc
Tristan Matthews [Sat, 6 Dec 2014 23:08:35 +0000 (18:08 -0500)]
contrib: use speexdsp 1.2rc2
Tristan Matthews [Sat, 6 Dec 2014 22:40:25 +0000 (17:40 -0500)]
contrib: use speex 1.2rc2
Rémi Denis-Courmont [Fri, 5 Dec 2014 18:05:16 +0000 (20:05 +0200)]
configure: fix FAAD linking test (-lm) and clean up
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Jean-Baptiste Kempf [Sat, 6 Dec 2014 14:18:31 +0000 (15:18 +0100)]
Vobsub: better debug message
Jean-Baptiste Kempf [Fri, 5 Dec 2014 22:18:09 +0000 (23:18 +0100)]
RTP: remove trailing spaces
Fabian Yamaguchi [Fri, 5 Dec 2014 14:37:05 +0000 (15:37 +0100)]
codec: dmo: avoid null-pointer dereference.
Check the return value of malloc to avoid a null-pointer dereference.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Fabian Yamaguchi [Fri, 5 Dec 2014 14:18:22 +0000 (15:18 +0100)]
codec: schroedinger: fix potential buffer overflow.
The variable len is a raw 32 bit value read using GetDWBE. If this
value is larger than UINT32_MAX - sizeof(eos), this will cause an
integer overflow in the subsequent call to malloc, and finally a
buffer overflow when calling memcpy. We fix this by checking len
accordingly.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Ludovic Fauvet [Fri, 5 Dec 2014 11:28:05 +0000 (12:28 +0100)]
mpg123: missing p_block release
Ilkka Ollakka [Thu, 4 Dec 2014 14:45:36 +0000 (16:45 +0200)]
livehttp: don't remove previous playlist on open if segment-number is given
If we provide initial segment-number, most likely we want to continue
where we have left of, so leave old playlist-file there and just
overwrite it when we updated it.
default initial-segment-number is 1 so don't test against 0
Ilkka Ollakka [Thu, 4 Dec 2014 14:50:38 +0000 (16:50 +0200)]
livehttp: add DISCONTINUITY on playlist if we have restarted stream
If provided initial-segment-number option, signal discontinuity so
player knows to reset timestamps etc for new segments.
Ilkka Ollakka [Sat, 27 Sep 2014 13:45:15 +0000 (16:45 +0300)]
transcode: give proper src fmt for subtitle overlay
Ilkka Ollakka [Sat, 27 Sep 2014 13:44:24 +0000 (16:44 +0300)]
avcodec: set absolute/ephemer comments/values correctly
Thomas Guillem [Wed, 3 Dec 2014 16:27:57 +0000 (17:27 +0100)]
mediacodec: add rotation support for opaque
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>