]> git.sesse.net Git - vlc/log
vlc
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.

12 years agoFix warnings
Rémi Denis-Courmont [Tue, 9 Aug 2011 15:13:26 +0000 (18:13 +0300)]
Fix warnings

12 years agoaout: use atomic ops for (deferred) restart
Rémi Denis-Courmont [Tue, 9 Aug 2011 15:11:07 +0000 (18:11 +0300)]
aout: use atomic ops for (deferred) restart

12 years agocontribs: revert unintended change in previous commit
Felix Paul Kühne [Tue, 9 Aug 2011 15:33:31 +0000 (17:33 +0200)]
contribs: revert unintended change in previous commit

12 years agomacosx: re-implemented VLCVoutView and removed dead or outdated code
Felix Paul Kühne [Tue, 9 Aug 2011 15:30:58 +0000 (17:30 +0200)]
macosx: re-implemented VLCVoutView and removed dead or outdated code

12 years agoaout: do not use aout_owner() from input
Rémi Denis-Courmont [Tue, 9 Aug 2011 15:40:15 +0000 (18:40 +0300)]
aout: do not use aout_owner() from input

12 years agoCleanup tree and vars callbacks
Rémi Denis-Courmont [Tue, 9 Aug 2011 14:59:31 +0000 (17:59 +0300)]
Cleanup tree and vars callbacks

12 years agomacosx: fixed compilation warnings
Felix Paul Kühne [Tue, 9 Aug 2011 14:19:11 +0000 (16:19 +0200)]
macosx: fixed compilation warnings

12 years agostream_out_std: simplify / factorize
Rafaël Carré [Tue, 9 Aug 2011 04:40:27 +0000 (00:40 -0400)]
stream_out_std: simplify / factorize

split out some functions from Open()
move static functions
sout_stream_id_t -> define struct as empty and use the pointer to store sout_input_t

functional change:
do not force asfh mux if user specified another one but only warn him (like for upd/ts)

12 years agodbus: prefer char[][] to *char[]
Rafaël Carré [Tue, 9 Aug 2011 01:49:08 +0000 (21:49 -0400)]
dbus: prefer char[][] to *char[]

makes data smaller:
 no need to store pointers to each item of the array

char *x[] = { "a", "b", "c" };
memory looks like => "a" "b" "c" (&x) &a &b &c

char x[][2] = { "a", "b", "c" };
memory looks like => (&x) "a" "b" "c"

12 years agofix double free introduced by me in [7d84269bff]
Rafaël Carré [Tue, 9 Aug 2011 00:48:58 +0000 (20:48 -0400)]
fix double free introduced by me in [7d84269bff]

12 years agomacosx: move VLCFSPanel from VLCControls to VLCMainWindow since its the only class...
Felix Paul Kühne [Mon, 8 Aug 2011 22:19:10 +0000 (00:19 +0200)]
macosx: move VLCFSPanel from VLCControls to VLCMainWindow since its the only class which should know about it

12 years agoContribs: add projectM
Jean-Baptiste Kempf [Mon, 8 Aug 2011 22:02:31 +0000 (00:02 +0200)]
Contribs: add projectM

12 years agoContribs: add glew
Jean-Baptiste Kempf [Mon, 8 Aug 2011 21:45:04 +0000 (23:45 +0200)]
Contribs: add glew

12 years agomacosx: implemented float-on-top
Felix Paul Kühne [Mon, 8 Aug 2011 21:35:39 +0000 (23:35 +0200)]
macosx: implemented float-on-top

12 years agoContribs: add Goom
Jean-Baptiste Kempf [Mon, 8 Aug 2011 21:23:48 +0000 (23:23 +0200)]
Contribs: add Goom

12 years agoContribs: add lame
Jean-Baptiste Kempf [Mon, 8 Aug 2011 20:57:46 +0000 (22:57 +0200)]
Contribs: add lame

12 years agoAoutInputsMarkToRestart: de-inline and rename
Rémi Denis-Courmont [Mon, 8 Aug 2011 20:56:07 +0000 (23:56 +0300)]
AoutInputsMarkToRestart: de-inline and rename

12 years agoWarn about dangling variable callbacks
Rémi Denis-Courmont [Mon, 8 Aug 2011 20:50:53 +0000 (23:50 +0300)]
Warn about dangling variable callbacks

12 years agoaout: move input format to aout_owner
Rémi Denis-Courmont [Mon, 8 Aug 2011 20:27:52 +0000 (23:27 +0300)]
aout: move input format to aout_owner

12 years agoContribs: update modplug to 0.8.8.4
Jean-Baptiste Kempf [Mon, 8 Aug 2011 20:47:07 +0000 (22:47 +0200)]
Contribs: update modplug to 0.8.8.4

12 years agomacosx: prepared fullscreen support and clean-up
Felix Paul Kühne [Mon, 8 Aug 2011 19:01:31 +0000 (21:01 +0200)]
macosx: prepared fullscreen support and clean-up

12 years agovout_macosx: implemented support for resize, zoom, etc. events
Felix Paul Kühne [Mon, 8 Aug 2011 18:52:43 +0000 (20:52 +0200)]
vout_macosx: implemented support for resize, zoom, etc. events

12 years agomacosx: updated applescript binding to current API
Felix Paul Kühne [Mon, 8 Aug 2011 18:48:36 +0000 (20:48 +0200)]
macosx: updated applescript binding to current API

12 years agoQt: plugins dialog, fix keyevents
Jean-Baptiste Kempf [Mon, 8 Aug 2011 18:27:55 +0000 (20:27 +0200)]
Qt: plugins dialog, fix keyevents

Close #5167