]>
git.sesse.net Git - vlc/log
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>
Jean-Baptiste Kempf [Wed, 3 Dec 2014 13:47:42 +0000 (14:47 +0100)]
Winstore: allow SetThreadPriority call
This mandates 8.1 though
Thomas Guillem [Tue, 2 Dec 2014 09:33:49 +0000 (09:33 +0000)]
Messages: add AndroidPrintMsg cb for Android
On android 5.0, PrintMsg blocks on fprintf when stderr is locked by flockfile.
This commit adds a default log callback for android in order to fix this issue,
and in order to have early logs (before libvlc_log_set is called).
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Tue, 2 Dec 2014 09:56:24 +0000 (09:56 +0000)]
Android: deactivate audiotrack automatic loading
Use it only if specified by --aout arg.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Rafaël Carré [Tue, 2 Dec 2014 22:20:31 +0000 (23:20 +0100)]
Missing header
Rafaël Carré [Sun, 30 Nov 2014 14:17:34 +0000 (15:17 +0100)]
Test RSA 4k signatures
Ludovic Fauvet [Tue, 2 Dec 2014 12:37:54 +0000 (13:37 +0100)]
Add MPEG audio layer I, II, III decoder based on mpg123
Tristan Matthews [Tue, 2 Dec 2014 17:36:58 +0000 (12:36 -0500)]
qt4: remove tautology, constify singleFileSelected
Jean-Baptiste Kempf [Tue, 2 Dec 2014 16:43:28 +0000 (17:43 +0100)]
VLSub: minor fixes
Jean-Baptiste Kempf [Tue, 2 Dec 2014 15:11:38 +0000 (16:11 +0100)]
Contribs: mpg123, don't build programs
This failed on Android, for example
Jean-Baptiste Kempf [Mon, 1 Dec 2014 10:56:26 +0000 (11:56 +0100)]
Mention fps in NEWS
Frédéric Yhuel [Sun, 30 Nov 2014 20:17:41 +0000 (21:17 +0100)]
stream_filter: smooth: minor optimization
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Frédéric Yhuel [Sun, 30 Nov 2014 20:17:40 +0000 (21:17 +0100)]
stream_filter: smooth: fix segfault
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Mon, 1 Dec 2014 08:31:19 +0000 (09:31 +0100)]
dsm: don't export too common functions
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Mon, 1 Dec 2014 08:31:18 +0000 (09:31 +0100)]
fps: don't export too common functions
Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
Felix Paul Kühne [Sun, 30 Nov 2014 20:08:49 +0000 (21:08 +0100)]
securetransport: fix compilation warnings
Ilkka Ollakka [Sat, 29 Nov 2014 10:45:22 +0000 (12:45 +0200)]
sout: send non-dated packets to sout
When input is H.264 they don't have pts/dts sometimes before decoder, but
dropping non-dated packets screw up decoder.
Ilkka Ollakka [Sun, 30 Nov 2014 13:37:42 +0000 (15:37 +0200)]
sout: only wait all ES if muxer can't add tracks in any point
Ilkka Ollakka [Sat, 29 Nov 2014 10:23:28 +0000 (12:23 +0200)]
Revert "sout: Don't wait until all the es has atleast minimum amount of blocks in fifo"
This reverts commit
57b356e2e2f646f7907a1518dbe605fc9899bc02 .
Rémi Denis-Courmont [Sun, 30 Nov 2014 13:15:33 +0000 (15:15 +0200)]
DirectSound: really fix uninitialized mutex (fixes #12845)
Ilkka Ollakka [Sat, 29 Nov 2014 21:47:19 +0000 (23:47 +0200)]
transcode: refactor fps conversion out from video transcode
Use fps video filter for framerate conversion. Also do framerate conversion
after deinterlacer so we don't screw deinterlacing with frame dropping.
Ilkka Ollakka [Sat, 29 Nov 2014 17:43:55 +0000 (19:43 +0200)]
fps: new video filter to convert between fps rates
Rémi Denis-Courmont [Sun, 30 Nov 2014 10:27:53 +0000 (12:27 +0200)]
Ignore dummy.cpp
David Fuhrmann [Sat, 29 Nov 2014 15:53:21 +0000 (16:53 +0100)]
macosx: small visual improvement for resume playback dialog
Felix Paul Kühne [Sat, 29 Nov 2014 15:49:09 +0000 (16:49 +0100)]
disable aribb for iOS
David Fuhrmann [Sat, 29 Nov 2014 14:01:39 +0000 (15:01 +0100)]
macosx: cancel resume dialog after 6 seconds
Also reduce intentation of code.
Ilkka Ollakka [Sat, 29 Nov 2014 11:52:26 +0000 (13:52 +0200)]
avcodec: use qscale=3 as default if videobitrate isn't provided
If user doesn't give videobitrate use some reasonable default to get ok output
from avcodec transcode (for example mpeg4 video).
David Fuhrmann [Sat, 29 Nov 2014 11:51:33 +0000 (12:51 +0100)]
macosx: correctly toggle enabled state of record menu item