]> git.sesse.net Git - vlc/log
vlc
10 years agoAndroid vout: support the mouse events from jni
Jean-Baptiste Kempf [Tue, 13 May 2014 00:02:42 +0000 (02:02 +0200)]
Android vout: support the mouse events from jni

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoQt: simplify Win32 and Mac detection
Jean-Baptiste Kempf [Thu, 22 May 2014 12:56:27 +0000 (14:56 +0200)]
Qt: simplify Win32 and Mac detection

10 years agoQt: Avoid uninitialized records in option array
Hugo Beauzée-Luyssen [Thu, 22 May 2014 09:41:22 +0000 (12:41 +0300)]
Qt: Avoid uninitialized records in option array

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoQt: Avoid using dangling pointers and fix memleaks
Hugo Beauzée-Luyssen [Thu, 22 May 2014 09:41:20 +0000 (12:41 +0300)]
Qt: Avoid using dangling pointers and fix memleaks

The pointer returned is only valid for the statement calling the
function. The temporary QByteArray falls out of scope immediatly after

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoQt: Fix crash introduced by 798ee1ab
Hugo Beauzée-Luyssen [Thu, 22 May 2014 09:41:19 +0000 (12:41 +0300)]
Qt: Fix crash introduced by 798ee1ab

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoh264 packetizer: Remove unused enum
Hugo Beauzée-Luyssen [Thu, 22 May 2014 09:41:17 +0000 (12:41 +0300)]
h264 packetizer: Remove unused enum

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agocodec/mmal: Add mmal based decoder plugin
Dennis Hamester [Wed, 21 May 2014 11:46:41 +0000 (13:46 +0200)]
codec/mmal: Add mmal based decoder plugin

This plugin is capable of decoding MPEG-2 and H264 video through the Multi
Media Abstraction Layer (MMAL) by Broadcom. It is supported by recent Broadcom
SoCs and found on the widely spread Raspberry Pi.

Signed-off-by: Dennis Hamester <dennis.hamester@gmail.com>
Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agovideo_output/mmal: Add mmal based video output plugin
Dennis Hamester [Wed, 21 May 2014 11:46:40 +0000 (13:46 +0200)]
video_output/mmal: Add mmal based video output plugin

This plugin uses the Multimedia Abstraction Layer (mmal) by Broadcom. It is
supported on recent Broadcom SoCs as found on the well known Raspberry Pi.
The plugin features support for native blending of overlays through DispManX.
Furthermore it supports automatic adaption of refresh rate to the video being
played through the tvservice API.

Signed-off-by: Dennis Hamester <dennis.hamester@gmail.com>
Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agommal: Register opaque fourcc in core as fake_fmt
Julian Scheel [Wed, 21 May 2014 11:46:39 +0000 (13:46 +0200)]
mmal: Register opaque fourcc in core as fake_fmt

Add a new fourcc, which will be used by the mmal decoder and vout plugins for
passing around opaque picture pointers to realize a zerocopy pipeline on mmal
enabled platforms.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Dennis Hamester <dennis.hamester@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoRevert "src/input: add a new input option flag to replace values of existing options"
David Fuhrmann [Thu, 22 May 2014 09:10:05 +0000 (11:10 +0200)]
Revert "src/input: add a new input option flag to replace values of existing options"

This code was superseded by another approach and is not used anymore.

This reverts commit ba82f10c7108719e85413ee518e53249a549db85.

10 years agomacosx: cosmetics
David Fuhrmann [Thu, 22 May 2014 09:05:30 +0000 (11:05 +0200)]
macosx: cosmetics

10 years agomacosx: fix purging of resume media data, avoid memleak
David Fuhrmann [Thu, 22 May 2014 09:04:46 +0000 (11:04 +0200)]
macosx: fix purging of resume media data, avoid memleak

10 years agoparser/fetcher: split in 2 pass mode
Francois Cartegnie [Wed, 21 May 2014 19:12:33 +0000 (21:12 +0200)]
parser/fetcher: split in 2 pass mode

Changes from a depth first (local then network) per item to
an horizontal parsing. Allows displaying all local files first
and let the thread slowly process all other resources.

10 years agometa_fetcher: rename as scope and set values
Francois Cartegnie [Wed, 21 May 2014 17:22:41 +0000 (19:22 +0200)]
meta_fetcher: rename as scope and set values

10 years agoplaylist: fetcher: move playlist_album_t
Francois Cartegnie [Wed, 21 May 2014 16:55:23 +0000 (18:55 +0200)]
playlist: fetcher: move playlist_album_t

Only used by fetcher for cache entries

10 years agolua: art: google: update
Francois Cartegnie [Wed, 21 May 2014 16:35:19 +0000 (18:35 +0200)]
lua: art: google: update

10 years agolua: lastfm: fix matching
Francois Cartegnie [Wed, 21 May 2014 15:44:20 +0000 (17:44 +0200)]
lua: lastfm: fix matching

10 years agoQt: sprefs, unformize icon sizes
Jean-Baptiste Kempf [Wed, 21 May 2014 14:43:48 +0000 (16:43 +0200)]
Qt: sprefs, unformize icon sizes

10 years agosrc/input/input.c: Fix a tiny memory leak.
Julien 'Lta' BALLET [Wed, 21 May 2014 07:49:27 +0000 (07:49 +0000)]
src/input/input.c: Fix a tiny memory leak.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agodemux: mp4: check if fragments exists when seekable
Francois Cartegnie [Tue, 20 May 2014 19:50:25 +0000 (21:50 +0200)]
demux: mp4: check if fragments exists when seekable

Fixes the false positive and fallback on avcodec with
files having a mvex/trex but no fragments, and conforms
to the spec.

10 years agodemux: mp4: timescales are u32
Francois Cartegnie [Tue, 20 May 2014 17:32:56 +0000 (19:32 +0200)]
demux: mp4: timescales are u32

10 years agoQt: use platformName() on Qt5 too, like on QPA
Jean-Baptiste Kempf [Tue, 20 May 2014 14:25:09 +0000 (16:25 +0200)]
Qt: use platformName() on Qt5 too, like on QPA

10 years agoQt: use a processor helper for Qt5
Jean-Baptiste Kempf [Tue, 20 May 2014 14:15:14 +0000 (16:15 +0200)]
Qt: use a processor helper for Qt5

10 years agoAVcodec: use avctx width for subtitles when set
Jean-Baptiste Kempf [Tue, 20 May 2014 12:58:40 +0000 (14:58 +0200)]
AVcodec: use avctx width for subtitles when set

Instead of hardcoding it depending on the codec

Tested with PGS and XSub

10 years agotext_renderer: avoid 0xff << 24 with an int type
Felix Abecassis [Tue, 6 May 2014 16:43:41 +0000 (18:43 +0200)]
text_renderer: avoid 0xff << 24 with an int type

10 years agoQt: raise window when video Widget is shown
Jean-Baptiste Kempf [Tue, 20 May 2014 12:48:00 +0000 (14:48 +0200)]
Qt: raise window when video Widget is shown

10 years agofloat: fix copy-paste error in double precision amp
Rémi Denis-Courmont [Tue, 20 May 2014 11:08:51 +0000 (19:08 +0800)]
float: fix copy-paste error in double precision amp

10 years agoqt4: fix memory leak
Rémi Denis-Courmont [Tue, 20 May 2014 11:07:28 +0000 (19:07 +0800)]
qt4: fix memory leak

10 years agolib: fix logic inversion
Rémi Denis-Courmont [Tue, 20 May 2014 00:55:02 +0000 (08:55 +0800)]
lib: fix logic inversion

10 years agolib: check scale range in libvlc_video_set_scale()
Rémi Denis-Courmont [Mon, 19 May 2014 11:11:04 +0000 (19:11 +0800)]
lib: check scale range in libvlc_video_set_scale()

10 years agolib: do not convert to double in libvlc_video_set_scale()
Rémi Denis-Courmont [Mon, 19 May 2014 11:08:56 +0000 (19:08 +0800)]
lib: do not convert to double in libvlc_video_set_scale()

10 years agolib: return NAN on libvlc_audio_equalizer_set_amp_at_index() error
Rémi Denis-Courmont [Mon, 19 May 2014 11:05:34 +0000 (19:05 +0800)]
lib: return NAN on libvlc_audio_equalizer_set_amp_at_index() error

10 years agolib: fix (pre)amplification range checks for equalizer
Rémi Denis-Courmont [Mon, 19 May 2014 11:05:00 +0000 (19:05 +0800)]
lib: fix (pre)amplification range checks for equalizer

10 years agolib: fix volume range check in libvlc_audio_set_volume()
Rémi Denis-Courmont [Mon, 19 May 2014 11:04:13 +0000 (19:04 +0800)]
lib: fix volume range check in libvlc_audio_set_volume()

10 years agoavcodec: map Smacker audio
Daniel Verkamp [Wed, 14 May 2014 04:27:02 +0000 (04:27 +0000)]
avcodec: map Smacker audio

Sample:
http://samples.mplayerhq.hu/game-formats/smacker/wetlands/wetlogo.smk

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agocontrib: tiger: fix autotools invocation
Gilles Sabourin [Thu, 8 May 2014 14:36:14 +0000 (14:36 +0000)]
contrib: tiger: fix autotools invocation

This patch fixes libtiger generation failure when automake complains about 'linking libtool libraries using a non-POSIX'

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agolavf: Support rotation side data
Luca Barbato [Mon, 19 May 2014 17:40:17 +0000 (19:40 +0200)]
lavf: Support rotation side data

Support stream side data only

Close #11473

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoAVformat: use a similar compat detection than AVcodec
Jean-Baptiste Kempf [Tue, 20 May 2014 08:58:17 +0000 (10:58 +0200)]
AVformat: use a similar compat detection than AVcodec

10 years agoPGS subtitles: use origial frame size (fix #6324)
Arne de Bruijn [Sun, 18 May 2014 21:36:37 +0000 (23:36 +0200)]
PGS subtitles: use origial frame size (fix #6324)

With CODEC_ID_HDMV_PGS_SUBTITLE use codec_{width,height} for
i_original_picture_{width,height} to correctly display
subtitles with a frame size that is different from the
video stream

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago--spu should not be an advanced option
Jean-Baptiste Kempf [Tue, 20 May 2014 08:22:45 +0000 (10:22 +0200)]
--spu should not be an advanced option

10 years agoQt: remove unneeded margins and parameters
Jean-Baptiste Kempf [Mon, 19 May 2014 17:10:32 +0000 (19:10 +0200)]
Qt: remove unneeded margins and parameters

10 years agoQt: uniformize sprefs margins
Jean-Baptiste Kempf [Mon, 19 May 2014 16:56:49 +0000 (18:56 +0200)]
Qt: uniformize sprefs margins

10 years agoQt: small changes to Simple Preferences
Jean-Baptiste Kempf [Mon, 19 May 2014 16:32:40 +0000 (18:32 +0200)]
Qt: small changes to Simple Preferences

Notably add some verticalSpacers at the bottom

10 years agoQt: put simple preferences section at the top
Jean-Baptiste Kempf [Mon, 19 May 2014 15:50:39 +0000 (17:50 +0200)]
Qt: put simple preferences section at the top

Close #10763 #7909, #9624

10 years agoQt: restore time where you left off
Jean-Baptiste Kempf [Mon, 19 May 2014 13:27:33 +0000 (15:27 +0200)]
Qt: restore time where you left off

This copies the MacOS way

Close #5315

10 years agoQt: s/Qt4/Qt
Jean-Baptiste Kempf [Mon, 19 May 2014 12:54:22 +0000 (14:54 +0200)]
Qt: s/Qt4/Qt

10 years agoQt: store 30 recents item, show 10 in the menus
Jean-Baptiste Kempf [Mon, 19 May 2014 12:17:24 +0000 (14:17 +0200)]
Qt: store 30 recents item, show 10 in the menus

10 years agoQt: remove unnecessary includes
Jean-Baptiste Kempf [Mon, 19 May 2014 11:40:24 +0000 (13:40 +0200)]
Qt: remove unnecessary includes

10 years agomacosx: simple prefs: Only show font family and subtype in the font panel
David Fuhrmann [Mon, 19 May 2014 12:20:35 +0000 (14:20 +0200)]
macosx: simple prefs: Only show font family and subtype in the font panel

Other settings like font size do not have any effect and confuse users.

10 years agoQt: save time on item destruction
Jean-Baptiste Kempf [Mon, 19 May 2014 09:53:42 +0000 (11:53 +0200)]
Qt: save time on item destruction

Ref #5315

10 years agoQt: store time besides MRL for recent items
Jean-Baptiste Kempf [Sun, 18 May 2014 23:00:25 +0000 (01:00 +0200)]
Qt: store time besides MRL for recent items

Ref #5315

10 years agoQt: save recents on quit()
Jean-Baptiste Kempf [Mon, 19 May 2014 09:45:44 +0000 (11:45 +0200)]
Qt: save recents on quit()

10 years agoQt: cosmetics on RecentsMRL and Open classes
Jean-Baptiste Kempf [Sun, 18 May 2014 21:46:37 +0000 (23:46 +0200)]
Qt: cosmetics on RecentsMRL and Open classes

10 years agolua: include cleanup
Francois Cartegnie [Wed, 14 May 2014 17:17:08 +0000 (19:17 +0200)]
lua: include cleanup

10 years agoQt: update art requests to use updated API
Francois Cartegnie [Wed, 14 May 2014 08:00:40 +0000 (10:00 +0200)]
Qt: update art requests to use updated API

10 years agoupdate meta request API to allow overriding
Francois Cartegnie [Tue, 13 May 2014 23:04:33 +0000 (01:04 +0200)]
update meta request API to allow overriding

10 years agodeprecate art-album variable
Francois Cartegnie [Tue, 13 May 2014 15:10:21 +0000 (17:10 +0200)]
deprecate art-album variable

10 years agorename art_finder as meta_fetcher
Francois Cartegnie [Tue, 13 May 2014 14:36:31 +0000 (16:36 +0200)]
rename art_finder as meta_fetcher

10 years agofinder/fetcher: always use scripts doing local access
Francois Cartegnie [Tue, 13 May 2014 14:24:54 +0000 (16:24 +0200)]
finder/fetcher: always use scripts doing local access

10 years agolua: meta: add descriptor/scope
Francois Cartegnie [Tue, 13 May 2014 10:11:54 +0000 (12:11 +0200)]
lua: meta: add descriptor/scope

10 years agomacosx: addons manager: add l10n for download button
David Fuhrmann [Mon, 19 May 2014 09:47:42 +0000 (11:47 +0200)]
macosx: addons manager: add l10n for download button

10 years agomacosx: addons manager: process the callback on the main thread
David Fuhrmann [Mon, 19 May 2014 09:38:02 +0000 (11:38 +0200)]
macosx: addons manager: process the callback on the main thread

Avoids concurrent access to _addons and _displayedAddons.

10 years agomacosx: addons manager: restructure UI and fix some problems
David Fuhrmann [Mon, 19 May 2014 09:00:36 +0000 (11:00 +0200)]
macosx: addons manager: restructure UI and fix some problems

- remove the + and - buttons, and add a single install button
  instead. Current implementation of uninstall / install has a
  toggle behaviour, so having two buttons was misleading.
- add a fetch button, to load the online repository on request only,
  as done in the qt interface.

10 years agomacosx: addons manager: fix crash when window is repeatedly opened
David Fuhrmann [Mon, 19 May 2014 06:58:18 +0000 (08:58 +0200)]
macosx: addons manager: fix crash when window is repeatedly opened

10 years agomacosx: lock access to addon_entry_t
David Fuhrmann [Sun, 18 May 2014 18:06:54 +0000 (20:06 +0200)]
macosx: lock access to addon_entry_t

10 years agoQt: factorize directory opening
Jean-Baptiste Kempf [Sun, 18 May 2014 21:37:32 +0000 (23:37 +0200)]
Qt: factorize directory opening

10 years agoQt: move getDirectoryDialog to a static helper
Jean-Baptiste Kempf [Sun, 18 May 2014 21:34:16 +0000 (23:34 +0200)]
Qt: move getDirectoryDialog to a static helper

10 years agoQt: factorize code of opening MRL
Jean-Baptiste Kempf [Sun, 18 May 2014 16:09:34 +0000 (18:09 +0200)]
Qt: factorize code of opening MRL

10 years agoQt: rename helper for more clarity
Jean-Baptiste Kempf [Sun, 18 May 2014 16:00:21 +0000 (18:00 +0200)]
Qt: rename helper for more clarity

10 years agoQt: openItem was almost always used to pass options
Jean-Baptiste Kempf [Sun, 18 May 2014 15:58:28 +0000 (17:58 +0200)]
Qt: openItem was almost always used to pass options

So, create a method using QStringList and not input_item.
This should be cleaner in the calling sites, and avoid
calling input_item_new from Qt code

10 years agomacosx: don't continue playback where left off if user set a custom start-time
Felix Paul Kühne [Sun, 18 May 2014 17:21:34 +0000 (19:21 +0200)]
macosx: don't continue playback where left off if user set a custom start-time

10 years agomacosx: don't try to continue playback if current position is 0
Felix Paul Kühne [Sun, 18 May 2014 17:02:38 +0000 (19:02 +0200)]
macosx: don't try to continue playback if current position is 0

10 years agomacosx: continue playback where you left off, take 2 (close #11478)
Felix Paul Kühne [Sun, 18 May 2014 14:28:28 +0000 (16:28 +0200)]
macosx: continue playback where you left off, take 2 (close #11478)

10 years agoQt: playlist enqueue, use the Open:: helper
Jean-Baptiste Kempf [Sun, 18 May 2014 15:05:00 +0000 (17:05 +0200)]
Qt: playlist enqueue, use the Open:: helper

10 years agoQt: use the open helper for streaming
Jean-Baptiste Kempf [Sun, 18 May 2014 15:00:41 +0000 (17:00 +0200)]
Qt: use the open helper for streaming

10 years agoQt: use the open helper to open directories
Jean-Baptiste Kempf [Sun, 18 May 2014 14:56:52 +0000 (16:56 +0200)]
Qt: use the open helper to open directories

And there was no need to use the Item version, and the MRL was bogusly
added to RecentsMRL

10 years agoQt: use the open helper in the Open Dialog
Jean-Baptiste Kempf [Sun, 18 May 2014 14:54:45 +0000 (16:54 +0200)]
Qt: use the open helper in the Open Dialog

10 years agoQt: provide an helper to open items
Jean-Baptiste Kempf [Sun, 18 May 2014 14:54:24 +0000 (16:54 +0200)]
Qt: provide an helper to open items

10 years agoQt: playlist, use the new helper to Open files
Jean-Baptiste Kempf [Sun, 18 May 2014 14:40:50 +0000 (16:40 +0200)]
Qt: playlist, use the new helper to Open files

10 years agoQt: DialogsProvider, use the open helper
Jean-Baptiste Kempf [Sun, 18 May 2014 14:37:51 +0000 (16:37 +0200)]
Qt: DialogsProvider, use the open helper

10 years agoQt: use the new helper for Main Interface DnD actions
Jean-Baptiste Kempf [Sun, 18 May 2014 14:31:36 +0000 (16:31 +0200)]
Qt: use the new helper for Main Interface DnD actions

10 years agoQt: move playMRL slot from THEDP to RecentsMRL
Jean-Baptiste Kempf [Sun, 18 May 2014 12:50:24 +0000 (14:50 +0200)]
Qt: move playMRL slot from THEDP to RecentsMRL

10 years agoQt: add a new class helper to open files
Jean-Baptiste Kempf [Sun, 18 May 2014 12:45:19 +0000 (14:45 +0200)]
Qt: add a new class helper to open files

10 years agoQt: cleanup, remove includes and copyright updates of RecentsMRL
Jean-Baptiste Kempf [Sun, 18 May 2014 11:45:43 +0000 (13:45 +0200)]
Qt: cleanup, remove includes and copyright updates of RecentsMRL

10 years agoQt: cosmetics and update copyright for ActionsManager
Jean-Baptiste Kempf [Sun, 18 May 2014 11:32:20 +0000 (13:32 +0200)]
Qt: cosmetics and update copyright for ActionsManager

10 years agoQt: fix indentation is ActionsManager
Jean-Baptiste Kempf [Sun, 18 May 2014 11:27:44 +0000 (13:27 +0200)]
Qt: fix indentation is ActionsManager

10 years agoQt: remove isAlive from DialogProvider
Jean-Baptiste Kempf [Sun, 18 May 2014 11:25:06 +0000 (13:25 +0200)]
Qt: remove isAlive from DialogProvider

10 years agoQt: use provided Singleton util for RecentsMRL
Jean-Baptiste Kempf [Sun, 18 May 2014 11:12:40 +0000 (13:12 +0200)]
Qt: use provided Singleton util for RecentsMRL

10 years agoQt: add a bunch of virtual for destructors
Jean-Baptiste Kempf [Sun, 18 May 2014 10:42:12 +0000 (12:42 +0200)]
Qt: add a bunch of virtual for destructors

10 years agoQt: registry, inline empty destructor
Jean-Baptiste Kempf [Sun, 18 May 2014 11:03:16 +0000 (13:03 +0200)]
Qt: registry, inline empty destructor

10 years agoQt: remove Extension's WidgetMapper destructor
Jean-Baptiste Kempf [Sun, 18 May 2014 10:47:05 +0000 (12:47 +0200)]
Qt: remove Extension's WidgetMapper destructor

10 years agoQt: use the provided Singleton class for ActionsManager
Jean-Baptiste Kempf [Sun, 18 May 2014 10:41:49 +0000 (12:41 +0200)]
Qt: use the provided Singleton class for ActionsManager

10 years agoQt: use pl_Unlocked in playlist_Add calls
Jean-Baptiste Kempf [Sun, 18 May 2014 10:24:05 +0000 (12:24 +0200)]
Qt: use pl_Unlocked in playlist_Add calls

10 years agomac-configure: remove old cruft and enforce compatibility with Mavericks' compilation...
Felix Paul Kühne [Fri, 16 May 2014 20:35:50 +0000 (22:35 +0200)]
mac-configure: remove old cruft and enforce compatibility with Mavericks' compilation environment

10 years agoinput: fix warning
Felix Paul Kühne [Fri, 16 May 2014 20:30:16 +0000 (22:30 +0200)]
input: fix warning

10 years agomacosx: fix warning
Felix Paul Kühne [Fri, 16 May 2014 20:30:06 +0000 (22:30 +0200)]
macosx: fix warning

10 years agomacosx: clean-up string utility
Felix Paul Kühne [Fri, 16 May 2014 20:20:13 +0000 (22:20 +0200)]
macosx: clean-up string utility

10 years agomacosx: move re-useable code from menu to core interaction object
Felix Paul Kühne [Fri, 16 May 2014 20:17:56 +0000 (22:17 +0200)]
macosx: move re-useable code from menu to core interaction object

10 years agodemux: asf: add workaround for audio es delay
Francois Cartegnie [Fri, 16 May 2014 15:08:38 +0000 (17:08 +0200)]
demux: asf: add workaround for audio es delay

10 years agodemux: asf: remove assertion
Francois Cartegnie [Fri, 16 May 2014 12:47:44 +0000 (14:47 +0200)]
demux: asf: remove assertion

always fails on non mms