]> git.sesse.net Git - vlc/log
vlc
12 years agoRC: unused variable
Rémi Denis-Courmont [Tue, 16 Aug 2011 06:54:51 +0000 (09:54 +0300)]
RC: unused variable

12 years agovout_macosx: compilation fix for 10.6 and earlier
Felix Paul Kühne [Tue, 16 Aug 2011 16:09:51 +0000 (18:09 +0200)]
vout_macosx: compilation fix for 10.6 and earlier

12 years agoQt: use qDeleteAll on VLM dialog
Jean-Baptiste Kempf [Tue, 16 Aug 2011 16:06:16 +0000 (18:06 +0200)]
Qt: use qDeleteAll on VLM dialog

12 years agoQt: use QWidgetList when applicable
Jean-Baptiste Kempf [Tue, 16 Aug 2011 16:06:04 +0000 (18:06 +0200)]
Qt: use QWidgetList when applicable

12 years agomacosx: moved compatiblity fixes to a designated header
Felix Paul Kühne [Tue, 16 Aug 2011 16:03:51 +0000 (18:03 +0200)]
macosx: moved compatiblity fixes to a designated header

12 years agoQt: use QString iso std::string
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:31:28 +0000 (17:31 +0200)]
Qt: use QString iso std::string

12 years agoQt: use __MIN when applicable
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:23:15 +0000 (17:23 +0200)]
Qt: use __MIN when applicable

12 years agoQt: remove unnecessary header
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:23:06 +0000 (17:23 +0200)]
Qt: remove unnecessary header

12 years agoQt: use const_iterator when possible
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:15:29 +0000 (17:15 +0200)]
Qt: use const_iterator when possible

12 years agoQt: Use append iso push_*
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:11:37 +0000 (17:11 +0200)]
Qt: Use append iso push_*

12 years agoQt: use isEmpty() iso empty()
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:07:18 +0000 (17:07 +0200)]
Qt: use isEmpty() iso empty()

12 years agoQt: use count() iso size() on Qt Containers
Jean-Baptiste Kempf [Tue, 16 Aug 2011 15:05:02 +0000 (17:05 +0200)]
Qt: use count() iso size() on Qt Containers

12 years agoQt, menus: std::vector -> QVector
Jean-Baptiste Kempf [Tue, 16 Aug 2011 12:00:54 +0000 (14:00 +0200)]
Qt, menus: std::vector -> QVector

12 years agomacosx: don't let the vout resize the window if we are in Lion's fullscreen mode
Felix Paul Kühne [Tue, 16 Aug 2011 12:31:03 +0000 (14:31 +0200)]
macosx: don't let the vout resize the window if we are in Lion's fullscreen mode

12 years agomacosx: added native fullscreen support for OS X Lion
Felix Paul Kühne [Tue, 16 Aug 2011 12:09:30 +0000 (14:09 +0200)]
macosx: added native fullscreen support for OS X Lion

12 years agomacosx: use an updated API to set the behavior of menu bar and Dock in fullscreen...
Felix Paul Kühne [Tue, 16 Aug 2011 09:10:18 +0000 (11:10 +0200)]
macosx: use an updated API to set the behavior of menu bar and Dock in fullscreen mode on 10.6&later

this allows the user to access the Dock while in fullscreen mode in contrast to the previous implementation. behavior on 10.5 did not change.

12 years agoaout: fix crash if output restart fails
Rémi Denis-Courmont [Mon, 15 Aug 2011 21:05:38 +0000 (00:05 +0300)]
aout: fix crash if output restart fails

12 years agoaout: fix crash if input restart fails
Rémi Denis-Courmont [Mon, 15 Aug 2011 21:04:45 +0000 (00:04 +0300)]
aout: fix crash if input restart fails

12 years agoRemove module_t.b_builtin
Rémi Denis-Courmont [Mon, 15 Aug 2011 19:26:00 +0000 (22:26 +0300)]
Remove module_t.b_builtin

12 years agoRemove unused module bank parameters
Rémi Denis-Courmont [Mon, 15 Aug 2011 19:16:51 +0000 (22:16 +0300)]
Remove unused module bank parameters

12 years agoClean up registration of statically linked modules
Rémi Denis-Courmont [Mon, 15 Aug 2011 19:15:48 +0000 (22:15 +0300)]
Clean up registration of statically linked modules

12 years agoCopy strings from plugin descriptor, remove (D|Und)upModules()
Rémi Denis-Courmont [Mon, 15 Aug 2011 17:11:28 +0000 (20:11 +0300)]
Copy strings from plugin descriptor, remove (D|Und)upModules()

12 years agoRemove module_hold and module_release
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:35:51 +0000 (19:35 +0300)]
Remove module_hold and module_release

Modules are created at initialization and destroyed at exit (after all
VLC threads are terminated) There is no need to count references.

12 years agoTypo
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:28:30 +0000 (19:28 +0300)]
Typo

12 years agovlc_module_(start|stop): constify
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:05:18 +0000 (19:05 +0300)]
vlc_module_(start|stop): constify

12 years agoDo not save unloadable flag for submodule
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:53:01 +0000 (19:53 +0300)]
Do not save unloadable flag for submodule

This property is fundamentally per-plugin, not per-submodule.

12 years agoAlways use (get)text domain from primary module
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:36:00 +0000 (19:36 +0300)]
Always use (get)text domain from primary module

12 years agoDo not store help for submodules in cache
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:23:32 +0000 (19:23 +0300)]
Do not store help for submodules in cache

This field is never used for submodules, and in fact there would be no
way to show it in the (current) UI.

12 years agofile: show directory config items in a separate section
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:17:39 +0000 (19:17 +0300)]
file: show directory config items in a separate section

12 years agoInitialize submodule explicitly
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:15:59 +0000 (19:15 +0300)]
Initialize submodule explicitly

12 years agoRemove module_t.psz_object_name
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:11:00 +0000 (19:11 +0300)]
Remove module_t.psz_object_name

This is the same as module_t.pp_shortcuts[0].

12 years agoUse module_get_object() where appropriate and improve error handling
Rémi Denis-Courmont [Mon, 15 Aug 2011 16:03:16 +0000 (19:03 +0300)]
Use module_get_object() where appropriate and improve error handling

Use NULL rather than a static string as the default.
module_get_object() deals with this situation.

12 years agoAllow NULL module capability
Rémi Denis-Courmont [Mon, 15 Aug 2011 15:57:31 +0000 (18:57 +0300)]
Allow NULL module capability

The module will never be proved. This applies to the "main" module
and the playlist demux (which only has submodules).

12 years agocompilation fix
Felix Paul Kühne [Mon, 15 Aug 2011 00:18:55 +0000 (02:18 +0200)]
compilation fix

12 years agomacosx: saved various objc selector dispatches when iterating, additionally fixes...
Felix Paul Kühne [Mon, 15 Aug 2011 00:11:56 +0000 (02:11 +0200)]
macosx: saved various objc selector dispatches when iterating, additionally fixes #5113

12 years agomacosx: fixed crash when opening multiple files using the simple open dialog
Felix Paul Kühne [Sun, 14 Aug 2011 23:37:42 +0000 (01:37 +0200)]
macosx: fixed crash when opening multiple files using the simple open dialog

12 years agomacosx: make sure that the left end of the black progression bar is round
Felix Paul Kühne [Sun, 14 Aug 2011 22:34:21 +0000 (00:34 +0200)]
macosx: make sure that the left end of the black progression bar is round

12 years agomacosx: fixed some ui bugs, which sneaked in recently
Felix Paul Kühne [Sun, 14 Aug 2011 22:20:29 +0000 (00:20 +0200)]
macosx: fixed some ui bugs, which sneaked in recently

12 years agomacosx: re-implemented a non-embedded video window
Felix Paul Kühne [Sun, 14 Aug 2011 18:08:04 +0000 (20:08 +0200)]
macosx: re-implemented a non-embedded video window

12 years agomacosx: simplified the way we set the window's title
Felix Paul Kühne [Sun, 14 Aug 2011 15:29:10 +0000 (17:29 +0200)]
macosx: simplified the way we set the window's title

12 years agomacosx: fixed spu announcements for playback controls
Felix Paul Kühne [Sun, 14 Aug 2011 14:48:42 +0000 (16:48 +0200)]
macosx: fixed spu announcements for playback controls

12 years agoUse registered rtsp-alt port
Pierre Ynard [Sun, 14 Aug 2011 20:20:54 +0000 (22:20 +0200)]
Use registered rtsp-alt port

12 years agoStore the plugin file name in the cache once rather than twice
Rémi Denis-Courmont [Sat, 13 Aug 2011 20:12:39 +0000 (23:12 +0300)]
Store the plugin file name in the cache once rather than twice

12 years agoFix one potential NULL-deref on invalid plugin cache
Rémi Denis-Courmont [Sat, 13 Aug 2011 20:11:24 +0000 (23:11 +0300)]
Fix one potential NULL-deref on invalid plugin cache

Zero-length strings are loaded as NULL. There are probably quite a few
other similar failure cases :( I have not investigated.

12 years agocontrib: Allow wget to download URLs containing ;
Alexey Sokolov [Sat, 6 Aug 2011 06:32:02 +0000 (13:32 +0700)]
contrib: Allow wget to download URLs containing ;

For example, x264's git is one.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
12 years agoBump cache version due to other changes
Rémi Denis-Courmont [Sat, 13 Aug 2011 19:23:04 +0000 (22:23 +0300)]
Bump cache version due to other changes

This is not really needed. Cache corruption would be detected anyway.
But better safe than sorry.

12 years agoSplit (transient) module cache from (persistent) module bank
Rémi Denis-Courmont [Sat, 13 Aug 2011 18:54:10 +0000 (21:54 +0300)]
Split (transient) module cache from (persistent) module bank

12 years agoRemove one level of indirection in plugins cache, simplify
Rémi Denis-Courmont [Sat, 13 Aug 2011 18:13:10 +0000 (21:13 +0300)]
Remove one level of indirection in plugins cache, simplify

12 years agoFactor code to add an entry to the plugins cache in memory
Rémi Denis-Courmont [Sat, 13 Aug 2011 17:50:13 +0000 (20:50 +0300)]
Factor code to add an entry to the plugins cache in memory

12 years agoDestroy module cache data after loading completes
Rémi Denis-Courmont [Sat, 13 Aug 2011 17:26:05 +0000 (20:26 +0300)]
Destroy module cache data after loading completes

We do not need them afterward.

12 years agoHide module_bank
Rémi Denis-Courmont [Sat, 13 Aug 2011 17:04:26 +0000 (20:04 +0300)]
Hide module_bank

12 years agoDo not access the module bank directly from the cache
Rémi Denis-Courmont [Sat, 13 Aug 2011 17:02:40 +0000 (20:02 +0300)]
Do not access the module bank directly from the cache

12 years agoPass struct stat pointer when looking up a plugin in the cache
Rémi Denis-Courmont [Sat, 13 Aug 2011 16:57:14 +0000 (19:57 +0300)]
Pass struct stat pointer when looking up a plugin in the cache

12 years agoRemove file size from plugin cache
Rémi Denis-Courmont [Sat, 13 Aug 2011 16:43:42 +0000 (19:43 +0300)]
Remove file size from plugin cache

This avoids seeking. This data was not useful.

12 years agodbus: Add missing introspection data
Mirsal Ennaime [Sat, 13 Aug 2011 16:57:41 +0000 (18:57 +0200)]
dbus: Add missing introspection data

 * Add the org.mpris.MediaPlayer2.Player.Seek method introspection data
 * Update the copyright headers

12 years agodbus: Fix the org.mpris.MediaPlayer2.Player.Seek method signature
Mirsal Ennaime [Sat, 13 Aug 2011 16:48:13 +0000 (18:48 +0200)]
dbus: Fix the org.mpris.MediaPlayer2.Player.Seek method signature

 * Use an int64 argument
 * Update the copyright headers

12 years agoPS: fix an error introduced in f10b7234e27
Jean-Baptiste Kempf [Sat, 13 Aug 2011 11:39:21 +0000 (13:39 +0200)]
PS: fix an error introduced in f10b7234e27

Else the check on i doesn't make sense

12 years agoQt: fix the behaviour of clean button in playlist
Jean-Baptiste Kempf [Sat, 13 Aug 2011 00:17:12 +0000 (02:17 +0200)]
Qt: fix the behaviour of clean button in playlist

Fix #5066

12 years agoQt: restart filter when options can't be applied
Jean-Baptiste Kempf [Sat, 13 Aug 2011 00:09:01 +0000 (02:09 +0200)]
Qt: restart filter when options can't be applied

Close #5168

12 years agoAntiflicker: Change permissions
Jean-Baptiste Kempf [Fri, 12 Aug 2011 23:51:37 +0000 (01:51 +0200)]
Antiflicker: Change permissions

12 years agoQt: video filter dialog update
Jean-Baptiste Kempf [Fri, 12 Aug 2011 23:12:29 +0000 (01:12 +0200)]
Qt: video filter dialog update

- Rearrangements of effects in categories
- Addition of antiflickering, gaussian, mirror
- Removal of useless filters, like pano (wall is here)
- Removal of rarely used vars
- Simplifications

12 years agoVobsub: cosmetics and warnings fixes
Jean-Baptiste Kempf [Fri, 12 Aug 2011 21:19:01 +0000 (23:19 +0200)]
Vobsub: cosmetics and warnings fixes

12 years agoQt: video effects. Remove noise
Jean-Baptiste Kempf [Fri, 12 Aug 2011 20:41:30 +0000 (22:41 +0200)]
Qt: video effects. Remove noise

12 years agoVLCKit: fixed compilation with Xcode4
Felix Paul Kühne [Fri, 12 Aug 2011 11:00:13 +0000 (13:00 +0200)]
VLCKit: fixed compilation with Xcode4

To support Xcode4, we require the 10.6 SDK now, which can be easily reverted when using Xcode3.2 an appropriate SDK.

Note that this project file format now requires Xcode 3.2 or later

12 years agocompilation fix
Felix Paul Kühne [Fri, 12 Aug 2011 10:33:30 +0000 (12:33 +0200)]
compilation fix

12 years agoaout: do not check for PTS discontinuity in packetizer
Rémi Denis-Courmont [Thu, 11 Aug 2011 20:19:07 +0000 (23:19 +0300)]
aout: do not check for PTS discontinuity in packetizer

Continuity of the two FIFOs is maintained, as is consistency with the
input date. PTS discontinuity only seems to occur due to rounding
errors in the filters. It should be better not to drop samples, but
simply fix the buffer PTS and length.

Ideally, resamplers would use date_Increment() so they do not introduce
rounding errors. But first the block disconuity flag should be checked
for correctness during filtering, so that resamplers can reset the date
in case of hole.

12 years agoaout: fix time reporting for packet-based outputs
Rémi Denis-Courmont [Thu, 11 Aug 2011 20:14:13 +0000 (23:14 +0300)]
aout: fix time reporting for packet-based outputs

12 years agoWin32 installer: don't ask for uninstall when you are in Silent mode
Jean-Baptiste Kempf [Thu, 11 Aug 2011 16:44:55 +0000 (18:44 +0200)]
Win32 installer: don't ask for uninstall when you are in Silent mode

12 years agoPulseAudio: improve resampling formula
Rémi Denis-Courmont [Thu, 11 Aug 2011 15:09:16 +0000 (18:09 +0300)]
PulseAudio: improve resampling formula

...for good this time (yeah right).

12 years agocontrib: build lua as PIC
Rémi Denis-Courmont [Thu, 11 Aug 2011 12:50:12 +0000 (15:50 +0300)]
contrib: build lua as PIC

12 years agocontrib: lame is not used directly
Rémi Denis-Courmont [Tue, 9 Aug 2011 06:40:40 +0000 (09:40 +0300)]
contrib: lame is not used directly

12 years agoPulseAudio: simplify and fix mainloop reference counting
Rémi Denis-Courmont [Thu, 11 Aug 2011 13:43:45 +0000 (16:43 +0300)]
PulseAudio: simplify and fix mainloop reference counting

(Logic for more than one reference was inverted)

12 years agoPulseAudio: missing lock
Rémi Denis-Courmont [Thu, 11 Aug 2011 13:35:12 +0000 (16:35 +0300)]
PulseAudio: missing lock

12 years agoUse a private dbus connection in the inhibit and telepathy modules
Mirsal Ennaime [Thu, 11 Aug 2011 09:38:18 +0000 (11:38 +0200)]
Use a private dbus connection in the inhibit and telepathy modules

libdbus has multiple thread-safety issues and using private connections
(ie: not shared with other vlc modules) helps avoiding some of them.

12 years agomacosx: added 'obsolute' macros for removed settings
Felix Paul Kühne [Wed, 10 Aug 2011 20:38:27 +0000 (22:38 +0200)]
macosx: added 'obsolute' macros for removed settings

thx to j-b for the reminder

12 years agoPulseAudio: don't print an error when latency returns no data
Rémi Denis-Courmont [Wed, 10 Aug 2011 19:44:16 +0000 (22:44 +0300)]
PulseAudio: don't print an error when latency returns no data

This happens almost all the time, and is unfortunately normal behavior.

12 years agoaout: disable recycling for the time being
Rémi Denis-Courmont [Wed, 10 Aug 2011 19:40:44 +0000 (22:40 +0300)]
aout: disable recycling for the time being

12 years agoPulseAudio: dead code
Rémi Denis-Courmont [Wed, 10 Aug 2011 19:31:37 +0000 (22:31 +0300)]
PulseAudio: dead code

12 years agodecoder: flush aout at end
Rémi Denis-Courmont [Wed, 10 Aug 2011 19:31:00 +0000 (22:31 +0300)]
decoder: flush aout at end

12 years agoPulseAudio: destroy context like stream
Rémi Denis-Courmont [Wed, 10 Aug 2011 19:27:23 +0000 (22:27 +0300)]
PulseAudio: destroy context like stream

12 years agoPulseAudio: clear all stream callbacks before disconnection
Rémi Denis-Courmont [Wed, 10 Aug 2011 19:24:43 +0000 (22:24 +0300)]
PulseAudio: clear all stream callbacks before disconnection

This should fix the infrequent assertions failures at exit.

12 years agoaout: recycle output and pipeline if possible
Rémi Denis-Courmont [Wed, 10 Aug 2011 16:48:44 +0000 (19:48 +0300)]
aout: recycle output and pipeline if possible

The decoder thread drains the output at end of stream. So there is
always an underflow between consequent audio inputs.
Thus this does not provide gap-less audio as is.

12 years agomacosx: fail the video output if Quartz Extreme isn't supported, removed specific...
Felix Paul Kühne [Wed, 10 Aug 2011 14:43:37 +0000 (16:43 +0200)]
macosx: fail the video output if Quartz Extreme isn't supported, removed specific options, which are now handled by the core

QE is supported on virtually any Mac is running 10.5+ except for broken Hackintoshes

12 years agomacosx: implemented the 'autoscale' feature and fixed some resizing bugs
Felix Paul Kühne [Wed, 10 Aug 2011 14:25:13 +0000 (16:25 +0200)]
macosx: implemented the 'autoscale' feature and fixed some resizing bugs

12 years agovout_macosx: factorize objc selectors
Felix Paul Kühne [Wed, 10 Aug 2011 13:38:36 +0000 (15:38 +0200)]
vout_macosx: factorize objc selectors

no functional change

12 years agoaout: introduce aout_Destroy()
Rémi Denis-Courmont [Wed, 10 Aug 2011 16:14:00 +0000 (19:14 +0300)]
aout: introduce aout_Destroy()

12 years agoaout_PacketNext: fix inverted logic
Rémi Denis-Courmont [Wed, 10 Aug 2011 15:37:06 +0000 (18:37 +0300)]
aout_PacketNext: fix inverted logic

12 years agoaout: allocate input from input.c, simplify
Rémi Denis-Courmont [Wed, 10 Aug 2011 15:19:41 +0000 (18:19 +0300)]
aout: allocate input from input.c, simplify

12 years agoaout: move replay gain handling to dec and mixer
Rémi Denis-Courmont [Wed, 10 Aug 2011 15:02:24 +0000 (18:02 +0300)]
aout: move replay gain handling to dec and mixer

This had no relations with the audio input anymore. In particular,
there is no need to reinitialize this when the input is restarted.

12 years agoRemove aout-rate
Rémi Denis-Courmont [Wed, 10 Aug 2011 14:38:48 +0000 (17:38 +0300)]
Remove aout-rate

I assume this breaks with S/PDIF. And I do not see much use for this.

12 years agomacosx: redesigned info panel to HUD
Felix Paul Kühne [Wed, 10 Aug 2011 00:59:46 +0000 (02:59 +0200)]
macosx: redesigned info panel to HUD

removed the broken fps display and added a field for EncodedBy

fixes #4710

12 years agomacosx: fixed fspanel
Felix Paul Kühne [Tue, 9 Aug 2011 23:11:44 +0000 (01:11 +0200)]
macosx: fixed fspanel

12 years agomacosx: retain window level across a fullscreen session
Felix Paul Kühne [Tue, 9 Aug 2011 21:47:38 +0000 (23:47 +0200)]
macosx: retain window level across a fullscreen session

12 years agoaout: create object variables when the object is created
Rémi Denis-Courmont [Tue, 9 Aug 2011 19:54:36 +0000 (22:54 +0300)]
aout: create object variables when the object is created

This ensures that the variables will be available as soon as the aout
is externally visible, and that there value will persist across inputs.

This also saves a bunch of lookup at each new input.

12 years agoaout: remove redumdant variable creation for replay gain
Rémi Denis-Courmont [Tue, 9 Aug 2011 19:19:15 +0000 (22:19 +0300)]
aout: remove redumdant variable creation for replay gain

Those variables are inherited and they have no callbacks.

12 years agolibsamplerate resampling filter
Rémi Denis-Courmont [Tue, 9 Aug 2011 16:22:38 +0000 (19:22 +0300)]
libsamplerate resampling filter

12 years agoaout: delete input callbacks when input is deleted
Rémi Denis-Courmont [Tue, 9 Aug 2011 15:52:49 +0000 (18:52 +0300)]
aout: delete input callbacks when input is deleted

12 years agoaout: use atomic variable for replay gain
Rémi Denis-Courmont [Tue, 9 Aug 2011 15:48:57 +0000 (18:48 +0300)]
aout: use atomic variable for replay gain

12 years agoAdd helpers to store floats into vlc_atomic_t
Rémi Denis-Courmont [Tue, 9 Aug 2011 15:48:13 +0000 (18:48 +0300)]
Add helpers to store floats into vlc_atomic_t

(Lets assume that uintptr_t is big enough, i.e. 32-bits).

12 years agoaout: clean up replay gain callback
Rémi Denis-Courmont [Tue, 9 Aug 2011 15:39:36 +0000 (18:39 +0300)]
aout: clean up replay gain callback

 - get the mode string directly from the callback (new) variable value,
 - reduce locking scope,
 - fix read overflow: do not apply peak protection in "max" mode.