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

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

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

12 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

12 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

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

12 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

12 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

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

12 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

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

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

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

12 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

12 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

12 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

12 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

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

12 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

12 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>
12 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

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

12 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

12 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

12 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

12 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

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

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

12 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

12 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

12 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

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

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

12 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

12 years agoRTP: remove useless #include
Rémi Denis-Courmont [Sun, 7 Aug 2011 07:33:33 +0000 (10:33 +0300)]
RTP: remove useless #include

12 years agosmf: no need to set audio channels
Rémi Denis-Courmont [Sun, 7 Aug 2011 07:31:13 +0000 (10:31 +0300)]
smf: no need to set audio channels

The decoder takes care of that.

12 years agovoc: remove useless #include
Rémi Denis-Courmont [Sun, 7 Aug 2011 07:31:01 +0000 (10:31 +0300)]
voc: remove useless #include

12 years agoyoutube.lua: more clean-up
Pierre Ynard [Sun, 7 Aug 2011 07:28:34 +0000 (09:28 +0200)]
youtube.lua: more clean-up

12 years agoyoutube.lua: alternative way of fetching ArtURL
Pierre Ynard [Sun, 7 Aug 2011 07:05:51 +0000 (09:05 +0200)]
youtube.lua: alternative way of fetching ArtURL

12 years agoyoutube.lua: fix fetching of uploader's name
Pierre Ynard [Sun, 7 Aug 2011 06:54:59 +0000 (08:54 +0200)]
youtube.lua: fix fetching of uploader's name

12 years agoyoutube.lua: clean up
Pierre Ynard [Sun, 7 Aug 2011 06:47:10 +0000 (08:47 +0200)]
youtube.lua: clean up

12 years agoContribs: add CDDB
Jean-Baptiste Kempf [Sat, 6 Aug 2011 19:47:22 +0000 (21:47 +0200)]
Contribs: add CDDB

12 years agoContribs: add regex (necessary for Win32 libcddb)
Jean-Baptiste Kempf [Sat, 6 Aug 2011 22:20:55 +0000 (00:20 +0200)]
Contribs: add regex (necessary for Win32 libcddb)

12 years agoaout_PacketPlay: use aout_TimeReport(), restore resampling
Rémi Denis-Courmont [Sat, 6 Aug 2011 20:51:17 +0000 (23:51 +0300)]
aout_PacketPlay: use aout_TimeReport(), restore resampling

12 years agoaout_TimeReport: feedback timing from audio output to audio decoder
Rémi Denis-Courmont [Sat, 6 Aug 2011 20:50:27 +0000 (23:50 +0300)]
aout_TimeReport: feedback timing from audio output to audio decoder

Currently, this is used to trigger resampling in the audio "input"
(i.e. filters) as before.

12 years agoaout: move sync date from input to aout structure
Rémi Denis-Courmont [Sat, 6 Aug 2011 18:58:02 +0000 (21:58 +0300)]
aout: move sync date from input to aout structure

12 years agoaout_ChangeFilterString: use vlc_object instead of audio_output
Rémi Denis-Courmont [Sat, 6 Aug 2011 18:17:26 +0000 (21:17 +0300)]
aout_ChangeFilterString: use vlc_object instead of audio_output

12 years agoContribs: add libblurray
Jean-Baptiste Kempf [Sat, 6 Aug 2011 17:58:27 +0000 (19:58 +0200)]
Contribs: add libblurray

12 years agoContribs: add dvdnav
Jean-Baptiste Kempf [Sat, 6 Aug 2011 14:25:41 +0000 (16:25 +0200)]
Contribs: add dvdnav

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoContribs: export PATH in HOSTVARS because of *-config programs
Jean-Baptiste Kempf [Sat, 6 Aug 2011 16:47:29 +0000 (18:47 +0200)]
Contribs: export PATH in HOSTVARS because of *-config programs

12 years agoContribs: simplification in dvdread
Jean-Baptiste Kempf [Sat, 6 Aug 2011 16:42:26 +0000 (18:42 +0200)]
Contribs: simplification in dvdread

12 years agoaout_FiltersCreatePipeline: use vlc_object rather than audio_output
Rémi Denis-Courmont [Sat, 6 Aug 2011 17:41:43 +0000 (20:41 +0300)]
aout_FiltersCreatePipeline: use vlc_object rather than audio_output

12 years agoaout_Format(s)Print: use vlc_object rather than audio_output
Rémi Denis-Courmont [Sat, 6 Aug 2011 17:38:58 +0000 (20:38 +0300)]
aout_Format(s)Print: use vlc_object rather than audio_output

12 years agoaout: hide "input" from decoder
Rémi Denis-Courmont [Sat, 6 Aug 2011 17:23:13 +0000 (20:23 +0300)]
aout: hide "input" from decoder

12 years agoaout_DecNew: constify
Rémi Denis-Courmont [Sat, 6 Aug 2011 16:58:34 +0000 (19:58 +0300)]
aout_DecNew: constify

12 years agocontrib: dvdcss is not useful alone
Rémi Denis-Courmont [Sat, 6 Aug 2011 15:48:46 +0000 (18:48 +0300)]
contrib: dvdcss is not useful alone

12 years agocontrib: autodetect dvdread
Rémi Denis-Courmont [Sat, 6 Aug 2011 15:48:38 +0000 (18:48 +0300)]
contrib: autodetect dvdread

12 years agoContribs: add dvdread
Jean-Baptiste Kempf [Sat, 6 Aug 2011 15:05:39 +0000 (17:05 +0200)]
Contribs: add dvdread

12 years agoContribs: add libdvdcss from VideoLAN
Jean-Baptiste Kempf [Sat, 6 Aug 2011 14:36:04 +0000 (16:36 +0200)]
Contribs: add libdvdcss from VideoLAN

12 years agoSimplify, clean up and rename aout_OutputNextBuffer()
Rémi Denis-Courmont [Sat, 6 Aug 2011 14:53:04 +0000 (17:53 +0300)]
Simplify, clean up and rename aout_OutputNextBuffer()

12 years agoAVI: fix potential crash on seek (Closes: LP#803006)
Rémi Denis-Courmont [Sat, 6 Aug 2011 13:23:18 +0000 (16:23 +0300)]
AVI: fix potential crash on seek (Closes: LP#803006)

If all activated streams are EOF ones, 'i_stream' was incorrectly set
to p_sys->i_track. Then AVI_StreamChunkSet() crashes.

12 years agoUse CLOCK_FREQ
Rémi Denis-Courmont [Sat, 6 Aug 2011 12:38:30 +0000 (15:38 +0300)]
Use CLOCK_FREQ

12 years agoWin32/WinCE: always use our internal wait wrapper
Rémi Denis-Courmont [Sat, 6 Aug 2011 10:28:49 +0000 (13:28 +0300)]
Win32/WinCE: always use our internal wait wrapper

12 years agoWinCE: compilation fix
Rémi Denis-Courmont [Sat, 6 Aug 2011 09:50:13 +0000 (12:50 +0300)]
WinCE: compilation fix

12 years agoWinCE: typos
Rémi Denis-Courmont [Sat, 6 Aug 2011 09:35:20 +0000 (12:35 +0300)]
WinCE: typos

12 years agoQt4: clarify a tooltip
Jean-Baptiste Kempf [Sat, 6 Aug 2011 09:32:46 +0000 (11:32 +0200)]
Qt4: clarify a tooltip

12 years agoWinCE: tentative compile fix
Rémi Denis-Courmont [Sat, 6 Aug 2011 09:18:22 +0000 (12:18 +0300)]
WinCE: tentative compile fix

12 years agoyoutube.lua: update to new website changes
Pierre Ynard [Fri, 5 Aug 2011 19:37:48 +0000 (21:37 +0200)]
youtube.lua: update to new website changes

12 years agomacosx: removed no longer existing option 'server-port' from sprefs
Felix Paul Kühne [Fri, 5 Aug 2011 00:44:39 +0000 (02:44 +0200)]
macosx: removed no longer existing option 'server-port' from sprefs

12 years agomacosx: added CoreAnimation based transitions to display the Drop Zone, switch betwee...
Felix Paul Kühne [Fri, 5 Aug 2011 00:40:16 +0000 (02:40 +0200)]
macosx: added CoreAnimation based transitions to display the Drop Zone, switch between optical media and input devices

replaced the sprefs panel's legacy animation with basic CA effects