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

13 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

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

13 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

13 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

13 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

13 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

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

13 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.

13 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

13 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

13 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).

13 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

13 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

13 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)

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

13 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.

13 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

13 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.

13 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

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

13 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

13 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

13 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.

13 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.

13 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

13 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

13 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

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

13 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

13 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

13 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.

13 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.

13 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

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

13 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

13 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.

13 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.

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

13 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

13 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

13 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).

13 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.

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

13 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

13 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

13 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

13 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

13 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

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

13 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)

13 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"

13 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]

13 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

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

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

13 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

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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 years agoi18n: remove deleted file
Pierre Ynard [Mon, 8 Aug 2011 17:52:16 +0000 (19:52 +0200)]
i18n: remove deleted file

13 years agoXCB: fallback to SHM with promiscuous permissions on attach error
Rémi Denis-Courmont [Mon, 8 Aug 2011 16:07:45 +0000 (19:07 +0300)]
XCB: fallback to SHM with promiscuous permissions on attach error

Some X servers cannot borrow VLC user privileges to attach to its
shared memory segments. This fallback should fix MIT-SHM with those
X servers. However other users will be able to snoop on the decoded
video frames.

13 years agoXCB: make CheckError() return the actual error code
Rémi Denis-Courmont [Mon, 8 Aug 2011 15:49:02 +0000 (18:49 +0300)]
XCB: make CheckError() return the actual error code

13 years agocontrib: remove redumdant/duplicate SDL_image target dependencies
Rémi Denis-Courmont [Thu, 4 Aug 2011 07:55:54 +0000 (10:55 +0300)]
contrib: remove redumdant/duplicate SDL_image target dependencies

13 years agocontrib: SDL is not useful alone, only as a dependency
Rémi Denis-Courmont [Thu, 4 Aug 2011 07:54:43 +0000 (10:54 +0300)]
contrib: SDL is not useful alone, only as a dependency

The SDL audio output is gone. The SDL video output is not very useful
and it won't quite work with most SDL video plugins disabled.

SDL is mainly a dependency for SDL_image.

13 years agocontrib: libjpeg is not useful of its own, only a dependency
Rémi Denis-Courmont [Thu, 4 Aug 2011 07:53:47 +0000 (10:53 +0300)]
contrib: libjpeg is not useful of its own, only a dependency

13 years agocontrib: force PIC for CMake stuff
Rémi Denis-Courmont [Mon, 8 Aug 2011 15:31:30 +0000 (18:31 +0300)]
contrib: force PIC for CMake stuff

13 years agocontrib: add HOSTVARS_PIC to force PIC build (for CMake)
Rémi Denis-Courmont [Mon, 8 Aug 2011 15:31:10 +0000 (18:31 +0300)]
contrib: add HOSTVARS_PIC to force PIC build (for CMake)

13 years agocontrib: mpcdec: do not clobber our precious CFLAGS
Rémi Denis-Courmont [Mon, 8 Aug 2011 15:31:04 +0000 (18:31 +0300)]
contrib: mpcdec: do not clobber our precious CFLAGS

13 years agoReplace AOUT_FMT_NON_LINEAR with AOUT_FMT_SPDIF and AOUT_FMT_LINEAR
Rémi Denis-Courmont [Mon, 8 Aug 2011 15:22:38 +0000 (18:22 +0300)]
Replace AOUT_FMT_NON_LINEAR with AOUT_FMT_SPDIF and AOUT_FMT_LINEAR

As things stand, we have a format that is neither S/PDIF nor linear,
so change the macros to remove the confusion.

13 years agomono downmix: manually selected so zero priority
Rémi Denis-Courmont [Mon, 8 Aug 2011 15:17:31 +0000 (18:17 +0300)]
mono downmix: manually selected so zero priority

This plugin modifies the output format. It caused a busy loop
and broke libmad on fixed-point architectures (fixes #5151).

13 years agoIgnore the vlc binaries
Rémi Denis-Courmont [Mon, 8 Aug 2011 15:09:19 +0000 (18:09 +0300)]
Ignore the vlc binaries

13 years agoRemove useless trivial audio mixer
Rémi Denis-Courmont [Mon, 8 Aug 2011 15:04:14 +0000 (18:04 +0300)]
Remove useless trivial audio mixer

13 years agoaout: lack of software mixer is non fatal
Rémi Denis-Courmont [Mon, 8 Aug 2011 15:02:18 +0000 (18:02 +0300)]
aout: lack of software mixer is non fatal

13 years agoQt4: fix enum switch warning
Rémi Denis-Courmont [Mon, 8 Aug 2011 08:56:16 +0000 (11:56 +0300)]
Qt4: fix enum switch warning

13 years agoQt4: fix DEBUG_LAYOUT warning
Rémi Denis-Courmont [Mon, 8 Aug 2011 14:52:52 +0000 (17:52 +0300)]
Qt4: fix DEBUG_LAYOUT warning

13 years agoPulseAudio: include <math.h> (fixes #5170)
Rémi Denis-Courmont [Mon, 8 Aug 2011 14:52:14 +0000 (17:52 +0300)]
PulseAudio: include <math.h> (fixes #5170)

13 years agohttp out: Do not look for removed variables
Rémi Denis-Courmont [Mon, 8 Aug 2011 14:45:59 +0000 (17:45 +0300)]
http out: Do not look for removed variables

13 years agoHLS (httplive.c): fix Peek() function
F. Yhuel [Thu, 4 Aug 2011 14:33:43 +0000 (16:33 +0200)]
HLS (httplive.c): fix Peek() function

The new Peek() function now allocates a block (p_sys->peeked) if the
required size (i_peek) is greater than the size of the playback
segment, and then do a copy of one (or several) segment's data block(s) in it.
In the end, p_sys->peeked might be the concatenation of several segment's data
blocks, but usually it will be NULL.

Signed-off-by: Jean-Paul Saman <jean-paul.saman@m2x.nl>
13 years agompeg_audio: comment unused variable
Rafaël Carré [Mon, 8 Aug 2011 05:36:59 +0000 (01:36 -0400)]
mpeg_audio: comment unused variable

13 years agodbus: remove unused variable
Rafaël Carré [Mon, 8 Aug 2011 00:06:21 +0000 (20:06 -0400)]
dbus: remove unused variable

13 years agodbus: move static const tables in the C file
Rafaël Carré [Mon, 8 Aug 2011 00:05:27 +0000 (20:05 -0400)]
dbus: move static const tables in the C file

remove useless prototype
inline vlc identity in the only use case

13 years agodbus: allocate pollfd array on the stack
Rafaël Carré [Mon, 8 Aug 2011 00:02:53 +0000 (20:02 -0400)]
dbus: allocate pollfd array on the stack

fix memleak when thread is cancelled

13 years agoxspf demux: merge header in C file
Rafaël Carré [Sun, 7 Aug 2011 23:53:40 +0000 (19:53 -0400)]
xspf demux: merge header in C file

remove FREE_ATT, use do { ... } while(0) for FREE_VALUE
use static const tables for xml handlers
use their size to match handlers with tags
replace {SIMPLE,COMPLEX,UNKNOWN}_CONTENT with a bool

13 years agoplaylist tree: fix potential memleak
Rafaël Carré [Sun, 7 Aug 2011 23:23:40 +0000 (19:23 -0400)]
playlist tree: fix potential memleak

also remove one level of indentation

13 years agoplaylist: remove dead code
Rafaël Carré [Sun, 7 Aug 2011 23:22:49 +0000 (19:22 -0400)]
playlist: remove dead code

13 years agoxspf demux: fix memleak
Rafaël Carré [Sun, 7 Aug 2011 23:22:24 +0000 (19:22 -0400)]
xspf demux: fix memleak

13 years agoplaylist preparser: fix input_item_t refcounting
Rafaël Carré [Sun, 7 Aug 2011 21:14:55 +0000 (17:14 -0400)]
playlist preparser: fix input_item_t refcounting

13 years agoContribs: Update Freetype and libass
Jean-Baptiste Kempf [Sun, 7 Aug 2011 13:10:03 +0000 (15:10 +0200)]
Contribs: Update Freetype and libass

Cf CVE-2011-0226

13 years agoOld contribs: update of freetype and libass
Jean-Baptiste Kempf [Sun, 7 Aug 2011 13:02:06 +0000 (15:02 +0200)]
Old contribs: update of freetype and libass

Cf CVE-2011-0226

13 years agooss: build fix
Pierre Ynard [Sun, 7 Aug 2011 13:04:00 +0000 (15:04 +0200)]
oss: build fix

13 years agoWinCE: compile fix
Rémi Denis-Courmont [Sun, 7 Aug 2011 08:58:50 +0000 (11:58 +0300)]
WinCE: compile fix

13 years agoyoutube.lua: clean up SWF URL handling
Pierre Ynard [Sun, 7 Aug 2011 08:53:37 +0000 (10:53 +0200)]
youtube.lua: clean up SWF URL handling