]>
git.sesse.net Git - vlc/log
Rémi Denis-Courmont [Tue, 22 May 2012 20:22:07 +0000 (23:22 +0300)]
Unused variable
Rémi Denis-Courmont [Tue, 22 May 2012 20:21:16 +0000 (23:21 +0300)]
Replace remaining instances of aout_buffer_t with block_t
Rémi Denis-Courmont [Tue, 22 May 2012 20:06:52 +0000 (23:06 +0300)]
Replace remaining call sites of aout_BufferFree()
Rémi Denis-Courmont [Tue, 22 May 2012 19:19:36 +0000 (22:19 +0300)]
wasapi: fix comment
Rémi Denis-Courmont [Tue, 22 May 2012 17:25:54 +0000 (20:25 +0300)]
aout: reset volume to 1 on module unload
This fixes a corner case where the old volume of an output plugin using
software amplification would be wrongly applied to the next output
plugin instance (if that used "hardware" amplification).
Rémi Denis-Courmont [Tue, 22 May 2012 17:14:12 +0000 (20:14 +0300)]
Remove aout_VolumeNoneInit()
This was really just a glorified manner to set a pointer to NULL
(actually to a dummy function but whatever).
Rémi Denis-Courmont [Tue, 22 May 2012 17:03:49 +0000 (20:03 +0300)]
aout: simplify volume and mute variables life cycle
Aurelien Nephtali [Tue, 22 May 2012 11:34:42 +0000 (13:34 +0200)]
ts: Fix audio type description parsing
It is broken since
12edd19f71df9e41c5ca79ddc470d7378ff64d33 and it crashes if type = 1.
Signed-off-by: Rafaël Carré <funman@videolan.org>
Rémi Denis-Courmont [Mon, 21 May 2012 20:49:06 +0000 (23:49 +0300)]
waveout: correct scale
0xffff is full volume, which I understand to mean 0dB.
David Fuhrmann [Mon, 21 May 2012 19:20:04 +0000 (21:20 +0200)]
macosx: fix subtile bug in initialization of mainwindow
Currently, two objects of the class VLCMainWindow are generated. The first is alloated
from intf.m (triggered by the first log message that arrives) and is initialized by
both init and initWithContentRect. The second object is created from inside the nib file,
and is instantiated ONLY with initWithContentRect. Therefore, up to now _o_sharedInstance
had the wrong object and all calls to sharedInstance would cause problems.
But somehow, o_mainwindow in intf.m is updated to the correct second object, although it holds
the first object at start.
Furthermore, o_fspanel is also instantiated through the nib file.
Rémi Denis-Courmont [Mon, 21 May 2012 19:13:02 +0000 (22:13 +0300)]
Remove --with-tuning
With the wide range of deployed 686 processors, -mtune=generic is saner
and it is the default anyway. The VLC defaults did not even make sense
anymore (Pentium 2, seriously?).
You might need to set -march explicitly as with other build systems,
e.g.: -march=i686
Felix Paul Kühne [Mon, 21 May 2012 17:24:38 +0000 (19:24 +0200)]
macosx: fixed compilation warning
Pointed by David Fuhrmann
David Fuhrmann [Mon, 21 May 2012 15:14:37 +0000 (17:14 +0200)]
macosx: added forgotten method declaration in header file
Jean-Baptiste Kempf [Mon, 21 May 2012 14:51:34 +0000 (16:51 +0200)]
HLS: fix a signed comparison warning
Rui Zhang [Fri, 18 May 2012 13:17:32 +0000 (21:17 +0800)]
httplive: do not reset segment data without key
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Mon, 21 May 2012 14:27:42 +0000 (16:27 +0200)]
Correct name
Felix Paul Kühne [Mon, 21 May 2012 12:48:25 +0000 (14:48 +0200)]
Felix Paul Kühne [Mon, 21 May 2012 12:40:08 +0000 (14:40 +0200)]
macosx: removed the outdated and dysfunctional service discovery menu items from both the playlist and the main menu
Felix Paul Kühne [Mon, 21 May 2012 12:27:51 +0000 (14:27 +0200)]
update NEWS since mentioned feature became part of 2.0.2
Jean-Baptiste Kempf [Mon, 21 May 2012 11:51:04 +0000 (13:51 +0200)]
AVI: support more extended tags
Jean-Baptiste Kempf [Mon, 21 May 2012 10:20:42 +0000 (12:20 +0200)]
AVI: display extra-data tags
Jean-Baptiste Kempf [Mon, 21 May 2012 11:44:27 +0000 (13:44 +0200)]
AVI: add more main tags
Jean-Baptiste Kempf [Mon, 21 May 2012 09:44:45 +0000 (11:44 +0200)]
AVI: read the creation date
Felix Paul Kühne [Mon, 21 May 2012 09:41:31 +0000 (11:41 +0200)]
macosx: make sure that the fullscreen window is the main window (close #6850)
With the previous impementation, VLCMainWindow will stay the main window in fullscreen and is accidently activated when closing utility panels.
Felix Paul Kühne [Mon, 21 May 2012 09:39:14 +0000 (11:39 +0200)]
macosx: removed wrong check, which could make the video output disappear when leaving fullscreen mode in rare cases (close #6856)
Pierre Ynard [Sun, 20 May 2012 22:34:12 +0000 (00:34 +0200)]
lua: fix equalizer setting code
Rémi Denis-Courmont [Sun, 20 May 2012 20:50:27 +0000 (23:50 +0300)]
aout: use INT64_MIN as invalid delay value
Delay can be zero, VLC_TS_INVALID is a valid delay.
Pierre Ynard [Sun, 20 May 2012 20:15:30 +0000 (22:15 +0200)]
lua: remove superfluous equalizer preset code
This is already done by the equalizer module
Pierre Ynard [Sun, 20 May 2012 17:50:20 +0000 (19:50 +0200)]
lua: fix memory leak in equalizer function
Felix Paul Kühne [Sun, 20 May 2012 11:09:32 +0000 (13:09 +0200)]
Updated NEWS wrt recent OS X changes
Felix Paul Kühne [Sun, 20 May 2012 10:45:27 +0000 (12:45 +0200)]
macosx: added an option to let the Apple Remote control the system volume instead of VLC's volume (close #1071)
Pierre Ynard [Sun, 20 May 2012 04:23:35 +0000 (06:23 +0200)]
lua: fix memory leak
Pierre Ynard [Sun, 20 May 2012 01:48:08 +0000 (03:48 +0200)]
lua: fix memory and object leak and reset locale on error path
Felix Paul Kühne [Fri, 18 May 2012 18:35:14 +0000 (20:35 +0200)]
macosx: added UI stub for a new Convert & Save panel (refs #5900)
Felix Paul Kühne [Fri, 18 May 2012 16:41:46 +0000 (18:41 +0200)]
macosx: fixed antialiasing issues in the Open panel (close #5778)
David Fuhrmann [Fri, 18 May 2012 16:03:16 +0000 (18:03 +0200)]
macosx: remove one unneeded line in togglePlaylist:
David Fuhrmann [Fri, 18 May 2012 16:01:00 +0000 (18:01 +0200)]
macosx: some small improvements for !video-deco
- smaller min size (no need to have this big width here)
- no black borders while resize
Felix Paul Kühne [Fri, 18 May 2012 15:52:02 +0000 (17:52 +0200)]
macosx: allow the user to sleep his/her Mac using the Apple Remote using the designated AR event (close #4383)
This code uses NSAppleScript. Hence, it is likely going to be incompatible with the current sandbox implementation.
Felix Paul Kühne [Fri, 18 May 2012 14:14:07 +0000 (16:14 +0200)]
macosx: use CoreInteraction code for the media key triggers
no functional change
Felix Paul Kühne [Fri, 18 May 2012 14:05:55 +0000 (16:05 +0200)]
macosx: using the updated SPMediaKeyTap, we can disable the controller on the fly and no longer need to restart VLC to do so (close #6613)
Felix Paul Kühne [Fri, 18 May 2012 13:49:09 +0000 (15:49 +0200)]
macosx: update SPMediaKeyTap to latest code from upstream (refs #6613)
Felix Paul Kühne [Fri, 18 May 2012 13:20:17 +0000 (15:20 +0200)]
macosx: set the represented URL in the detached vout window correctly (close #6836)
Pierre Ynard [Fri, 18 May 2012 04:08:37 +0000 (06:08 +0200)]
luahttp: use us_tonumber() for commands passing decimals
This fixes playback rate, track delay and equalizer settings.
Pierre Ynard [Fri, 18 May 2012 02:15:23 +0000 (04:15 +0200)]
luahttp: make rounding function resilient to strings
Because somehow strings are used to represent decimals...
Fixes #6815
Pierre Ynard [Fri, 18 May 2012 02:10:28 +0000 (04:10 +0200)]
vlm: use vlc_object_alive()
Pierre Ynard [Fri, 18 May 2012 00:30:54 +0000 (02:30 +0200)]
Revert "VLM: remove dummy vlc_object_kill()"
This reverts commit
72cae4ddf388e956ce4c829aaf1c14974905a3b0 .
vlc_object_kill() is in fact needed because the main loop does check
b_die.
Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr>
Pierre Ynard [Thu, 17 May 2012 22:05:02 +0000 (00:05 +0200)]
luahttp: fix scope of url handler variables
The url handlers were declared with local scope, meaning local to the
lua script file I assume. Since the interface doesn't wait at the end
of the lua script anymore, they would fall out of scope after interface
initialization. Then, when the interface was first accessed, garbage
collection was somehow triggered, unregistering all url callbacks,
incidentally triggering a deadlock.
Fixes #6673
Felix Paul Kühne [Thu, 17 May 2012 20:03:17 +0000 (22:03 +0200)]
macosx: added an option to hide the playmode buttons (displayed by default)
option can be set through the 'Playback' menu due to the lack of a 'View' menu and in the advanced preferences
changes take effect immediatelly
This is preliminary artwork, which will be improved shortly
Felix Paul Kühne [Thu, 17 May 2012 18:08:35 +0000 (20:08 +0200)]
macosx: remove debug code and block Lion's fullscreen mode when disabling 'video-deco'
Thanks to David Fuhrmann for the remarks
Felix Paul Kühne [Thu, 17 May 2012 18:00:48 +0000 (20:00 +0200)]
macosx: added the prev/next buttons back (disabled by default) (close #6822)
you can enable them in the 'Playback' menu (since we got no 'View' menu so far) or in the advanced preferences
note that preliminary artwork is used at this point
Rafaël Carré [Thu, 17 May 2012 17:16:17 +0000 (13:16 -0400)]
caca doesn't use x11 on OSX
Rafaël Carré [Thu, 17 May 2012 17:16:05 +0000 (13:16 -0400)]
switcher needs libm
Felix Paul Kühne [Thu, 17 May 2012 14:24:24 +0000 (16:24 +0200)]
macosx: added 'video-deco' to the simple preferences to match the Qt4 intf (refs #6426)
Felix Paul Kühne [Thu, 17 May 2012 14:01:19 +0000 (16:01 +0200)]
macosx: re-implement 'video-deco' support (close #6426)
disabling this option will get you a separate video output window without any visible playback controls or window border. resizing is supported through hotkeys and Lion's native mechanism if available. Control the playback through menu and main window controller. Note that 'embedded' is obviously ignored in this mode.
Felix Paul Kühne [Thu, 17 May 2012 13:59:21 +0000 (15:59 +0200)]
macosx: updated copyright headers
Felix Paul Kühne [Thu, 17 May 2012 12:28:32 +0000 (14:28 +0200)]
package/macosx: disable the caca vout by default
Felix Paul Kühne [Thu, 17 May 2012 12:27:09 +0000 (14:27 +0200)]
macosx: fixed typo
Felix Paul Kühne [Thu, 17 May 2012 12:21:15 +0000 (14:21 +0200)]
macosx: another optimization for the wizard
Jon Stacey [Thu, 17 May 2012 11:59:27 +0000 (13:59 +0200)]
build_system: osx: use xcrun and SDKROOT env variable. (close #6305)
Defaults to OSX_VERSION=10.6
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Felix Paul Kühne [Thu, 17 May 2012 01:36:01 +0000 (03:36 +0200)]
macosx: more optimizations for bookmarks and wizard. no functional changes
Felix Paul Kühne [Thu, 17 May 2012 01:06:52 +0000 (03:06 +0200)]
macosx: code optimizations - no functional change
Felix Paul Kühne [Thu, 17 May 2012 00:56:22 +0000 (02:56 +0200)]
macosx: improve memory and hotkey handling (in case a vout is active, but not the first responder)
Mirsal Ennaime [Thu, 17 May 2012 00:30:07 +0000 (02:30 +0200)]
dbus: Fix seek detection
Closes: #6802
Felix Paul Kühne [Thu, 17 May 2012 00:33:22 +0000 (02:33 +0200)]
macosx: fixed corner case, which could lead to an empty main window in case the video output closes prematurely
Rémi Denis-Courmont [Wed, 16 May 2012 20:46:17 +0000 (23:46 +0300)]
wasapi: factorize/check COM initialization
Rémi Denis-Courmont [Sun, 6 May 2012 13:34:10 +0000 (16:34 +0300)]
DirectSound: apply volume attenuation with DirectSound
This should keep the volume latency under 20 ms. This will break
amplification as DirectSound is only capable of attenuation.
Tested-by: Jean-Baptiste Kempf <jb@videolan.org>
Rémi Denis-Courmont [Wed, 16 May 2012 18:42:29 +0000 (21:42 +0300)]
wasapi: volume setting support
Rémi Denis-Courmont [Wed, 16 May 2012 17:54:39 +0000 (20:54 +0300)]
Qt4: use msg_Dbg() for tools panel items debug
Rémi Denis-Courmont [Wed, 16 May 2012 16:16:39 +0000 (19:16 +0300)]
wasapi: improve format negotiation
Rémi Denis-Courmont [Wed, 16 May 2012 16:44:53 +0000 (19:44 +0300)]
wasapi: respect IAudioClock and IAudioRenderClient threading rules
These interfaces must be released on the interface that created them.
Rémi Denis-Courmont [Wed, 16 May 2012 15:27:37 +0000 (18:27 +0300)]
wasapi: fallback to DirectX while S/PDIF is unimplemented
Rémi Denis-Courmont [Wed, 16 May 2012 14:31:15 +0000 (17:31 +0300)]
PulseAudio: remove incorrect corking assertion
It can fail in rare circumstances such as context failures (in other
words, PulseAudio daemon crash or exit).
Rémi Denis-Courmont [Wed, 16 May 2012 14:19:21 +0000 (17:19 +0300)]
Remove unneeded OS/2 hacks
They are in src/os2/filesystem.c.
Jean-Baptiste Kempf [Tue, 15 May 2012 19:21:39 +0000 (21:21 +0200)]
Add SLDV fourCC
Rémi Denis-Courmont [Tue, 15 May 2012 21:01:20 +0000 (00:01 +0300)]
wasapi: enlist the plugin
Rémi Denis-Courmont [Tue, 15 May 2012 20:55:19 +0000 (23:55 +0300)]
wasapi: build system integration
Rémi Denis-Courmont [Tue, 15 May 2012 20:45:29 +0000 (23:45 +0300)]
wasapi: clock synchronization
This currently assumes that VLC uses QueryPerformanceTimer() in its
implementation of mdate(). This is currently true but... ?
David Fuhrmann [Tue, 15 May 2012 20:19:34 +0000 (22:19 +0200)]
macosx: fix another case where the user would see double negative time values
Time can be greater than duration, when you scroll right to much.
Furthermore, this commit moves the duplicated code into a own method.
Rémi Denis-Courmont [Tue, 15 May 2012 19:27:22 +0000 (22:27 +0300)]
wasapi: fix COM initialization and deinitialization
Rémi Denis-Courmont [Tue, 15 May 2012 17:34:14 +0000 (20:34 +0300)]
win32: revector system_Init() a bit
Rémi Denis-Courmont [Tue, 15 May 2012 17:19:44 +0000 (20:19 +0300)]
wasapi: fix Flush()
The stream must be stopped before it can be flushed (reset).
Felix Paul Kühne [Tue, 15 May 2012 17:34:40 +0000 (19:34 +0200)]
configure: slightly updated growl header detection
Karlheinz Wohlmuth [Sun, 22 Apr 2012 18:10:31 +0000 (20:10 +0200)]
macosx: Growl notification plugin: use the Cocoa-based API
Support for the NSDistributedNotificationCenter based methods
was removed in Growl 1.3.
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Jean-Baptiste Kempf [Tue, 15 May 2012 16:03:40 +0000 (18:03 +0200)]
Qt: correctly behave when customizing from minimal view
Jean-Baptiste Kempf [Tue, 15 May 2012 15:58:52 +0000 (17:58 +0200)]
Qt: fix selection of dropdown-menu of playlist view mode
Patch by VlcVelope
Jean-Baptiste Kempf [Tue, 15 May 2012 15:54:18 +0000 (17:54 +0200)]
Qt: fix leak introduced in previous commit
Rémi Denis-Courmont [Tue, 15 May 2012 15:49:00 +0000 (18:49 +0300)]
Fix test failure detection
Rémi Denis-Courmont [Tue, 15 May 2012 15:44:14 +0000 (18:44 +0300)]
Ship run_vlc.sh
Jean-Baptiste Kempf [Tue, 15 May 2012 15:27:41 +0000 (17:27 +0200)]
Reenable the Qt4-PictureFlow
These patches now should integrate better into the StandardPanel etc.
Parts had to be rearranged to be able to merge some code from libqxt into the source.
Fix bugs due to PL/ML change
Patch by VlcVelope
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Tue, 15 May 2012 15:24:33 +0000 (17:24 +0200)]
On Windows playing items like dvd:// or screen:// causes strange shortcuts in the user recently used folder.
See http://social.technet.microsoft.com/Forums/nb-NO/w7itprogeneral/thread/
02a71215 -e308-408c-94a6-
81f5a8e564a6
for some information. The solution calls SHAddToRecentDocs only if make_path
returns a valid path.
Patch by anonymous VlcVelope
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Tue, 15 May 2012 15:22:13 +0000 (17:22 +0200)]
Windows 7 taskbar buttons got lost after "video on top"
This is not fully fixed, but it works after a state change
Patch from anonymous VlcVelope
Jean-Baptiste Kempf [Tue, 15 May 2012 14:15:16 +0000 (16:15 +0200)]
Qt: correctly handle mousewheel in selector
Close #6812
Francois Cartegnie [Sun, 13 May 2012 12:55:53 +0000 (14:55 +0200)]
Qt: main_interface: fix playlist widgets instances. (fix #6795)
PlaylistDialog::getInstance was duplicating the playlist widget
instanciated in main interface. This explains the empty playlist
bug of the popup dialogs replacing the current playlist by
parenting their menu using getInstance().
To avoid further mistakes, PlaylistWiget's constructor is now only
available to playlistdialog, which also manages the widget
through the different configurations (embedded or floating).
Dialog also now saves and restores geometry, which only happened
when the widget was on its side.
Jean-Baptiste Kempf [Tue, 15 May 2012 13:21:02 +0000 (15:21 +0200)]
Qt: hide update check preference when !UPDATE_CHECK
Close #6813
Felix Paul Kühne [Mon, 14 May 2012 23:33:54 +0000 (01:33 +0200)]
macosx: limit the 'big' fullscreen panel to the 27'' iMac (refs #6383)
an option to switch the modes is in the works
Rémi Denis-Courmont [Mon, 14 May 2012 20:31:22 +0000 (23:31 +0300)]
wasapi: first stab of audio output using the Windows Audio Session API
This is _very_ incomplete and buggy:
- no time synchronization,
- no sample format, sample rate and channels mask negotiation,
- no channels reordering,
- no S/PDIF and HDMI pass-through,
- no volume control,
- no device selection,
- no fail-over to another device when needed,
- leaking COM thread data at exit (missing dedicated thread),
- incomplete build system integration.
But it compiles (with mingw-w64) and outputs working audio.
Rémi Denis-Courmont [Mon, 14 May 2012 15:35:16 +0000 (18:35 +0300)]
Win32: fallback to normal output if WriteConsoleW() fails
This fixes console logs on Wine for me.
Rémi Denis-Courmont [Mon, 14 May 2012 14:55:11 +0000 (17:55 +0300)]
winvlc: --data-path no longer exists
Rémi Denis-Courmont [Mon, 14 May 2012 14:28:02 +0000 (17:28 +0300)]
Old RC: use vlc_socket()
This avoids leaking the Unix socket to child processes.
Rémi Denis-Courmont [Mon, 14 May 2012 14:26:00 +0000 (17:26 +0300)]
Export vlc_socket()