]>
git.sesse.net Git - vlc/log
Francois Cartegnie [Thu, 9 Oct 2014 21:46:35 +0000 (23:46 +0200)]
demux: mp4: fix heap read ofw in extra bytes
Francois Cartegnie [Thu, 9 Oct 2014 18:29:54 +0000 (20:29 +0200)]
demux: asf: fix heap buffer write ofw in priorities (fix #12363)
Thomas Guillem [Thu, 9 Oct 2014 16:45:23 +0000 (18:45 +0200)]
contrib: fix cross-compile for aarch64
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Thomas Guillem [Wed, 8 Oct 2014 16:26:07 +0000 (18:26 +0200)]
android: fix nanf detection
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Thomas Guillem [Thu, 9 Oct 2014 16:45:20 +0000 (18:45 +0200)]
contrib/bootstrap: add x86_64 for android
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Thu, 9 Oct 2014 16:45:19 +0000 (18:45 +0200)]
contrib: don't hardcode android api
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Julian Scheel [Thu, 9 Oct 2014 14:52:14 +0000 (16:52 +0200)]
mmal/codec: Set progressive flag on frames
Query the interlace type from the mmal decoder on format change and pass it
through to vlc_pictures.
Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Thu, 9 Oct 2014 14:26:20 +0000 (16:26 +0200)]
demux: mp4: fix last chunk size computation (fix #12362)
Francois Cartegnie [Thu, 9 Oct 2014 12:44:36 +0000 (14:44 +0200)]
demux: libmp4: fix heap buffer write ofw in chpl (fix #12366)
Julian Scheel [Thu, 9 Oct 2014 12:49:40 +0000 (14:49 +0200)]
mmal/vout: Use current pictures format for rate matching
Instead of using the video_format which was set on output creation, always
check the refreshrate against the current pictures frame duration.
Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Julian Scheel [Thu, 9 Oct 2014 12:49:39 +0000 (14:49 +0200)]
mmal: Fix buffer size computation
The buffer sizes in opaque case were computed by a mixture of hardcoded values
and mmal defaults. This caused breakage due to changes of the default values
in recent mmal versions. To avoid this in the future, the buffer sizes are
completely hardcoded now. As we have a shared header for mmal now, move the
required define for shared values into that header.
Using this new computation we can reduce the buffer size for opaque case by 2,
which saves some memory.
Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Julian Scheel [Thu, 9 Oct 2014 10:08:57 +0000 (12:08 +0200)]
mmal/vout: Apply phase offset to match vsync period
As the latency target alone is not ensuring that we start with a sane phase
shift between vsync and drawing, we read back the phase shift provided by the
mmal rendering statistics and use it to compute a phase offset which we apply
to the picture date, so that the core shifts the display call accordingly.
Doing this frequently allows us to resync if a distortion or display reset
caused the offset to break.
This is only enabled if mmal-adjust-refreshrate is enabled, because the whole
vsync synchronisation makes only sense if display and videorate match.
Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Julian Scheel [Thu, 9 Oct 2014 10:08:56 +0000 (12:08 +0200)]
mmal/vout: Configure latency target
The mmal video_render element allows to configure a latency target. Although
the parameter is named AUDIO_LATENCY_TARGET it is not actually related to
audio but synchronizes frame draws with hdmi vsync. It tries to match the hdmi
vsync rate to the picture render rate by slightly varying the hdmi pixel
clock. This makes only sense if the actual display refresh rate matches the
video frame rate, so that only minimal drift compensation is required. Thus
enable it only when mmal-adjust-refreshrate is activated.
Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Francois Cartegnie [Wed, 8 Oct 2014 22:01:37 +0000 (00:01 +0200)]
demux: libmp4: add quicktime mp4a/wave/mp4a rule
Francois Cartegnie [Wed, 8 Oct 2014 21:56:23 +0000 (23:56 +0200)]
demux: asfpacket: fix use after free (fix #12361)
Francois Cartegnie [Wed, 8 Oct 2014 17:13:25 +0000 (19:13 +0200)]
demux: ogg: fix use after free (fix #12360)
Francois Cartegnie [Wed, 8 Oct 2014 16:48:44 +0000 (18:48 +0200)]
demux: libavi: fix heap write ofw
Francois Cartegnie [Wed, 8 Oct 2014 15:59:23 +0000 (17:59 +0200)]
demux: livavi: fix heap buffer ofw in strf parsing (fix #12359)
Francois Cartegnie [Wed, 8 Oct 2014 15:09:44 +0000 (17:09 +0200)]
demux: tta: fix heap buffer ofw (fix #12357)
Francois Cartegnie [Wed, 8 Oct 2014 15:06:28 +0000 (17:06 +0200)]
demux: mp4: fix heap buffer ofw with zero chunk (fix #12356)
Francois Cartegnie [Wed, 8 Oct 2014 13:17:55 +0000 (15:17 +0200)]
demux: libmp4: fix heap overflow in stdp debug code (fix #12358)
Francois Cartegnie [Tue, 7 Oct 2014 16:12:13 +0000 (18:12 +0200)]
sout: chromecast: close connection on load failure
only msgClose won't stop listening, so we need to
flag as CONN_DEAD as well so it will send the close
message and exit thread
Thomas Guillem [Wed, 8 Oct 2014 16:30:27 +0000 (18:30 +0200)]
fix gles2 plugin not being built
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Wed, 8 Oct 2014 10:59:11 +0000 (12:59 +0200)]
Protobuf: don't compile protoc in Xcompilation
Jean-Baptiste Kempf [Wed, 8 Oct 2014 10:58:06 +0000 (12:58 +0200)]
Extras: add protoc
Jean-Baptiste Kempf [Wed, 8 Oct 2014 10:20:35 +0000 (12:20 +0200)]
Chromecast: fix distcheck
Rémi Denis-Courmont [Tue, 7 Oct 2014 20:21:35 +0000 (23:21 +0300)]
include: fix external compilation (fixes #12355)
Rémi Denis-Courmont [Tue, 7 Oct 2014 20:16:11 +0000 (23:16 +0300)]
include: remove restrict keyword (fixes #12354)
This is necessary for compatibility with C++. The keyword is only
meaningful in definition, not in declaration anyway.
Antti Ajanki [Mon, 6 Oct 2014 16:12:57 +0000 (16:12 +0000)]
hds: Ignore sentinel value at the end of the fragment table
generate_new_chunk() never proceeds to the last fragment run if the
sentinel is included.
Signed-off-by: Tristan Matthews <tmatth@videolan.org>
Rafaël Carré [Tue, 7 Oct 2014 06:55:03 +0000 (08:55 +0200)]
contrib: fix freetype dependencies
Tristan Matthews [Tue, 7 Oct 2014 03:08:02 +0000 (23:08 -0400)]
contrib: speex: avoid automatically depending on ogg
ogg was still being pulled in as a dependency when cross-compiling, which
would break certain build configurations.
Rémi Denis-Courmont [Mon, 6 Oct 2014 20:56:31 +0000 (23:56 +0300)]
vdpau/deinterlace: set progressive flag on both output pictures
Rémi Denis-Courmont [Mon, 6 Oct 2014 15:39:33 +0000 (18:39 +0300)]
misc: remove makefile recursion
Rémi Denis-Courmont [Mon, 6 Oct 2014 15:33:36 +0000 (18:33 +0300)]
misc: remove Modules.am
Rémi Denis-Courmont [Sat, 13 Sep 2014 10:11:11 +0000 (13:11 +0300)]
vdpau/avcodec: adapt to new libavcodec VDPAU interface
Rémi Denis-Courmont [Mon, 6 Oct 2014 14:03:27 +0000 (17:03 +0300)]
wayland: agree on the name of video_output subdirectory
Ludovic Fauvet [Mon, 6 Oct 2014 13:36:15 +0000 (15:36 +0200)]
chromecast: fix TLS connection leak on error
Signed-off-by: Adrien Maglo <magsoft@videolan.org>
Francois Cartegnie [Mon, 6 Oct 2014 11:58:06 +0000 (13:58 +0200)]
misc: acoustid: fix mbz string copy
Francois Cartegnie [Sun, 5 Oct 2014 15:35:12 +0000 (17:35 +0200)]
demux: mp4: add WMV3/WMA2 in mov support
aka flip4mac format.
Francois Cartegnie [Sun, 5 Oct 2014 18:46:51 +0000 (20:46 +0200)]
demux: libmp4: handle ASF atom
Francois Cartegnie [Wed, 1 Oct 2014 21:35:39 +0000 (23:35 +0200)]
demux: asf: split packet parsing for reuse
Francois Cartegnie [Sun, 5 Oct 2014 14:22:18 +0000 (16:22 +0200)]
demux: asf: stay within track limits
Rafaël Carré [Mon, 6 Oct 2014 09:58:40 +0000 (11:58 +0200)]
decklink: fix linking with recent sdk
Igor Prokopenkov [Fri, 3 Oct 2014 15:25:24 +0000 (15:25 +0000)]
lib: Fire libvlc_MediaListPlayerPlayed at end of playlist
The "libvlc_MediaListPlayerPlayed" event was defined but unused.
It is now fired when libvlc_media_list_player is played until last item in the playlist
Signed-off-by: Igor Prokopenkov <cmyk777@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Fri, 3 Oct 2014 14:53:43 +0000 (16:53 +0200)]
omxil: use convert_hevc_nal_units for hevc
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Fri, 3 Oct 2014 14:53:42 +0000 (16:53 +0200)]
mediacodec: use convert_hevc_nal_units for hevc
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Fri, 3 Oct 2014 14:53:41 +0000 (16:53 +0200)]
add convert_hevc_nal_units in hevc_nal.c
utility function to convert hvcC extradata to annex b.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Fri, 3 Oct 2014 14:53:40 +0000 (16:53 +0200)]
mediacodec: add hevc mimetype
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem [Fri, 3 Oct 2014 14:53:39 +0000 (16:53 +0200)]
omxil: add hevc in format_table
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Rémi Denis-Courmont [Sun, 5 Oct 2014 19:41:51 +0000 (22:41 +0300)]
XCB/XVideo: do not fallback to YUYV output for RGB inputs
If the XVideo driver does not provide any RGB image format, then we
are definitely better off with GLX than XVideo. Consider:
- GLX supports proper subpicture blending - not XVideo,
- GLX does not need chroma conversion - XVideo does in this case.
This change makes no difference if the XVideo driver supports RGB.
Rémi Denis-Courmont [Sun, 5 Oct 2014 19:38:44 +0000 (22:38 +0300)]
XCB/XVideo: reject hardware surfaces for the time being
The core cannot blend subpictures to hardware surfaces. In principles,
blending could be performed post chroma conversion, but this is not
supported by the video output wrapper so far.
Rémi Denis-Courmont [Sun, 5 Oct 2014 09:41:58 +0000 (12:41 +0300)]
wayland/shm: reorient the video in the compositor
Rémi Denis-Courmont [Sun, 5 Oct 2014 10:19:20 +0000 (13:19 +0300)]
wayland/shell: request compositor version 2 if available
This is required for wl_surface.set_buffer_transform.
Rémi Denis-Courmont [Sun, 5 Oct 2014 07:59:03 +0000 (10:59 +0300)]
wayland/shm: use wl_scaler for A/R, crop and zoom (where available)
Note: The wl_scaler object is retained after Open() even though it is
not currently used afterwards. It will probably be needed for scaling
subpictures going forward.
Rémi Denis-Courmont [Sat, 4 Oct 2014 07:20:05 +0000 (10:20 +0300)]
wayland: import the scaler protocol definitions
Damien Erambert [Sat, 4 Oct 2014 21:30:36 +0000 (23:30 +0200)]
macosx: fix music sidebar icon
Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
Rémi Denis-Courmont [Sat, 4 Oct 2014 19:44:04 +0000 (22:44 +0300)]
wayland/shm: no need to retain the shm_pool
Rémi Denis-Courmont [Sat, 4 Oct 2014 16:08:53 +0000 (19:08 +0300)]
wayland/shm: unmap picture buffers upon picture destruction
Rémi Denis-Courmont [Sat, 4 Oct 2014 15:48:10 +0000 (18:48 +0300)]
wayland/shm: create a new file temporary file always, simplify
Rémi Denis-Courmont [Sat, 4 Oct 2014 15:38:28 +0000 (18:38 +0300)]
wayland screenshooter: add missing unlink()
Ilkka Ollakka [Sat, 4 Oct 2014 08:38:48 +0000 (11:38 +0300)]
mux ts: indent fix
Ilkka Ollakka [Sat, 4 Oct 2014 08:37:28 +0000 (11:37 +0300)]
mux ts: Don't do extra copy on every aac packet
if Realloc fails, we are anyway screwed and most of the code doesn't
chec check for Realloc failures even in this module.
Rémi Denis-Courmont [Sat, 4 Oct 2014 13:29:59 +0000 (16:29 +0300)]
vdpau: preallocate pool of video surfaces
That should help failing safe to software decoding if the graphic card
has too little free memory. Old cards with only 256 MiB are commonly
affected by that problem.
Rémi Denis-Courmont [Sat, 4 Oct 2014 13:04:44 +0000 (16:04 +0300)]
vdpau: fix VRAM leak on error
Rémi Denis-Courmont [Sat, 4 Oct 2014 09:42:33 +0000 (12:42 +0300)]
vdpau: use reference frames count from libavcodec
Rémi Denis-Courmont [Sat, 4 Oct 2014 09:19:12 +0000 (12:19 +0300)]
vdpau: cosmetic fix
Rémi Denis-Courmont [Sat, 4 Oct 2014 08:53:17 +0000 (11:53 +0300)]
XCB: factor segment detachment on error
Rémi Denis-Courmont [Fri, 3 Oct 2014 17:40:16 +0000 (20:40 +0300)]
lua: write English
Rémi Denis-Courmont [Thu, 2 Oct 2014 18:34:46 +0000 (21:34 +0300)]
avformat: always insert a track in the table (fixes #11931)
This seems necessary to maintain the mapping of libav's packet stream
index to the VLC plugin's tracks table offset.
Rémi Denis-Courmont [Thu, 2 Oct 2014 18:33:01 +0000 (21:33 +0300)]
avcodec: map AV_CODEC_ID_NONE
Francois Cartegnie [Fri, 3 Oct 2014 13:38:59 +0000 (15:38 +0200)]
demux: libmp4: fix reading WMA2 atom
Francois Cartegnie [Fri, 3 Oct 2014 12:17:59 +0000 (14:17 +0200)]
acoustid: use memcpy (cid #
1062538 )
strncpy triggers warning because the
struct is nonzero terminated.
Jean-Baptiste Kempf [Fri, 3 Oct 2014 11:29:27 +0000 (13:29 +0200)]
Tools: Fix SF URLs
Rémi Denis-Courmont [Thu, 2 Oct 2014 18:41:40 +0000 (21:41 +0300)]
avcodec: fix double free
Rémi Denis-Courmont [Thu, 2 Oct 2014 18:39:35 +0000 (21:39 +0300)]
avformat: fix signed overflow
Rémi Denis-Courmont [Thu, 2 Oct 2014 18:33:21 +0000 (21:33 +0300)]
avformat: check memory allocations
Rémi Denis-Courmont [Thu, 2 Oct 2014 17:57:15 +0000 (20:57 +0300)]
chromecast: do not build unbuildable sources
Rémi Denis-Courmont [Thu, 2 Oct 2014 17:56:26 +0000 (20:56 +0300)]
configure: really fix -ldl lookup
Francois Cartegnie [Thu, 2 Oct 2014 17:49:01 +0000 (19:49 +0200)]
sout: chromecast: ues different wait times
There's no reason to wait 6 sec for a reply
to a spontaneous ping. The reply has no
relation with the 5 sec keepalive ping sent from
the receiver.
Rémi Denis-Courmont [Thu, 2 Oct 2014 17:49:49 +0000 (20:49 +0300)]
block: fix invalid memory access in block_Fifo(Count|Size)
The function remain fundamentally ToCToU-prone, but at least they now
follow the memory model.
Rémi Denis-Courmont [Thu, 2 Oct 2014 17:44:33 +0000 (20:44 +0300)]
modules: fix race in module_Map()
Rémi Denis-Courmont [Thu, 2 Oct 2014 17:44:13 +0000 (20:44 +0300)]
bluray: fix compilation as C11
Rémi Denis-Courmont [Thu, 2 Oct 2014 17:43:41 +0000 (20:43 +0300)]
configure: fix -ldl detection with the ThreadSanitizer
David Fuhrmann [Thu, 2 Oct 2014 15:42:32 +0000 (17:42 +0200)]
macosx: avoid unnecessarily early loading of open panel nib
Loading the open nib can take some significant time, due to audio/
video devices enumeration.
refs #12123
Francois Cartegnie [Thu, 2 Oct 2014 15:14:33 +0000 (17:14 +0200)]
sout: chromecast: close tls connection on error
Francois Cartegnie [Thu, 2 Oct 2014 13:24:31 +0000 (15:24 +0200)]
sout: chromecast: check app presence on status
Stop sending and disconnect when app has changed.
Francois Cartegnie [Thu, 2 Oct 2014 13:33:41 +0000 (15:33 +0200)]
sout: chromecast: request status on timeout
Francois Cartegnie [Thu, 2 Oct 2014 13:14:05 +0000 (15:14 +0200)]
sout: chromecast: tag falls-through
Francois Cartegnie [Wed, 1 Oct 2014 22:58:24 +0000 (00:58 +0200)]
sout: chromecast: handle tcp close messages
David Fuhrmann [Thu, 2 Oct 2014 11:53:51 +0000 (13:53 +0200)]
codec: libass: show dialog for fontconfig cache recreation on osx
close #12014
David Fuhrmann [Thu, 2 Oct 2014 11:52:44 +0000 (13:52 +0200)]
Makefile.am: Add new macosx ressources
David Fuhrmann [Thu, 2 Oct 2014 11:22:52 +0000 (13:22 +0200)]
macosx: also cache old native fullscreen images and move to better place
David Fuhrmann [Thu, 2 Oct 2014 10:59:15 +0000 (12:59 +0200)]
macosx: implement native fullscreen behaviour for yosemite titlebar
David Fuhrmann [Thu, 2 Oct 2014 09:29:22 +0000 (11:29 +0200)]
macosx: simplify loading of titlebar graphics and integrate yosemite icons
Damien Erambert [Wed, 1 Oct 2014 21:55:49 +0000 (23:55 +0200)]
macosx: fix yosemite retina graphics for fullscreen button
Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
David Fuhrmann [Wed, 1 Oct 2014 20:00:26 +0000 (22:00 +0200)]
macosx: fix main window top bar by reinstoring graphic
David Fuhrmann [Wed, 1 Oct 2014 19:52:01 +0000 (21:52 +0200)]
macosx: add yosemite graphics to project file and use them in code
This also cleans up the images structure inside the project.
David Fuhrmann [Wed, 1 Oct 2014 18:03:40 +0000 (20:03 +0200)]
macosx: pngcrush new yosemite icons
David Fuhrmann [Wed, 1 Oct 2014 17:58:43 +0000 (19:58 +0200)]
macosx: restructure and unify naming of new yosemite icons
Now, new root folders are created for yosemite, with the naming
scheme mainwindow_yosemite. All icons have the prefix ys-.
David Fuhrmann [Wed, 1 Oct 2014 17:43:52 +0000 (19:43 +0200)]
macosx: removed old graphics which are not used anymore
Also renames 4 yosemite graphics to match the existing naming.