vlc.git
9 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

9 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

9 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

9 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

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

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

9 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

9 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

9 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

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

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

9 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

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

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

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

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

9 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

9 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

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

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

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

9 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

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

9 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

9 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

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

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

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

9 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

9 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

9 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

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

9 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

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

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

9 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

9 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()

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

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

9 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

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

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

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

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

9 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

9 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

9 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

9 years agomsw(Win32): give libvlc users access to input events (mouse/keyboard)
Erwan Tulou [Thu, 4 Aug 2011 11:38:25 +0000 (13:38 +0200)]
msw(Win32): give libvlc users access to input events (mouse/keyboard)

if libvlc users disable both mouse and keyboard events, chances are they're
trying to regain control over them. The WS_DISABLED flag exactly fits this need.

The only thing is that it is an overall flag that doesn't differentiate mouse and keyboard.

9 years agoaout_OutputNextBuffer: do not dequeue when paused
Rémi Denis-Courmont [Thu, 4 Aug 2011 18:25:53 +0000 (21:25 +0300)]
aout_OutputNextBuffer: do not dequeue when paused

This greatly reduces the latency when pausing a legacy audio output.
Unfortunately, the audio output will keep polling for buffers though.

9 years agoCosmetic / comment
Rémi Denis-Courmont [Thu, 4 Aug 2011 18:22:14 +0000 (21:22 +0300)]
Cosmetic / comment

9 years agoyoutube.lua: avoid parsing a nil variable
Pierre Ynard [Thu, 4 Aug 2011 18:32:00 +0000 (20:32 +0200)]
youtube.lua: avoid parsing a nil variable

9 years agoWin32: try to set contrib directory
Rémi Denis-Courmont [Thu, 4 Aug 2011 17:33:06 +0000 (20:33 +0300)]
Win32: try to set contrib directory

9 years agoPulseAudio: initialize volume setter correctly
Rémi Denis-Courmont [Thu, 4 Aug 2011 17:24:46 +0000 (20:24 +0300)]
PulseAudio: initialize volume setter correctly

9 years agoaout: report volume from aout plugin to core
Rémi Denis-Courmont [Thu, 4 Aug 2011 17:24:11 +0000 (20:24 +0300)]
aout: report volume from aout plugin to core

9 years agoaout: allow "forking" the volume and mute flag per aout instance
Rémi Denis-Courmont [Thu, 4 Aug 2011 17:07:47 +0000 (20:07 +0300)]
aout: allow "forking" the volume and mute flag per aout instance

9 years agoReally force amem
Rémi Denis-Courmont [Thu, 4 Aug 2011 16:41:07 +0000 (19:41 +0300)]
Really force amem

9 years agoAdd missing amem callback variables
Rémi Denis-Courmont [Thu, 4 Aug 2011 16:40:53 +0000 (19:40 +0300)]
Add missing amem callback variables

9 years agoaout: restart output on the decoder thread, safely
Rémi Denis-Courmont [Thu, 4 Aug 2011 16:34:51 +0000 (19:34 +0300)]
aout: restart output on the decoder thread, safely

This should fix the remaining crashes and deadlocks when changing
the audio device or the channel map.

9 years agoaout: trigger intf-change without locks
Rémi Denis-Courmont [Thu, 4 Aug 2011 16:35:26 +0000 (19:35 +0300)]
aout: trigger intf-change without locks

9 years agoaout: correct test before applying volume
Rémi Denis-Courmont [Thu, 4 Aug 2011 16:34:24 +0000 (19:34 +0300)]
aout: correct test before applying volume

9 years agoaout: use separate lock for the packet FIFO (fix #5131)
Rémi Denis-Courmont [Thu, 4 Aug 2011 16:08:34 +0000 (19:08 +0300)]
aout: use separate lock for the packet FIFO (fix #5131)

9 years agoCall aout_PacketDestroy() on error paths too
Rémi Denis-Courmont [Thu, 4 Aug 2011 15:46:44 +0000 (18:46 +0300)]
Call aout_PacketDestroy() on error paths too

aout_PacketInit() does not allocate anything yet, but it will have too.

By the way, the error paths of the (untouched by the commit)
DirectSound plugin seem a bit suspicious to me...

9 years agoWin32: audio outputs compile fix
Rémi Denis-Courmont [Thu, 4 Aug 2011 15:44:45 +0000 (18:44 +0300)]
Win32: audio outputs compile fix

9 years agoaout: privatize the lock
Rémi Denis-Courmont [Thu, 4 Aug 2011 13:51:07 +0000 (16:51 +0300)]
aout: privatize the lock

9 years agoamem: add support for pause/resume and flush/drain
Rémi Denis-Courmont [Thu, 4 Aug 2011 13:42:31 +0000 (16:42 +0300)]
amem: add support for pause/resume and flush/drain

9 years agoUnexport aout_FifoPop() and aout_FifoPush()
Rémi Denis-Courmont [Thu, 4 Aug 2011 13:15:12 +0000 (16:15 +0300)]
Unexport aout_FifoPop() and aout_FifoPush()

9 years agoRemove unused aout_FifoFirstDate() and aout_FifoNextStart()
Rémi Denis-Courmont [Thu, 4 Aug 2011 13:13:33 +0000 (16:13 +0300)]
Remove unused aout_FifoFirstDate() and aout_FifoNextStart()

9 years agoaout: move packet FIFO management to plugins that need it
Rémi Denis-Courmont [Thu, 4 Aug 2011 12:36:23 +0000 (15:36 +0300)]
aout: move packet FIFO management to plugins that need it

9 years agodummy outputs: drop priority to zero
Rémi Denis-Courmont [Thu, 4 Aug 2011 12:45:31 +0000 (15:45 +0300)]
dummy outputs: drop priority to zero

9 years agoaout: fix error handling when output creation fails
Rémi Denis-Courmont [Thu, 4 Aug 2011 12:44:15 +0000 (15:44 +0300)]
aout: fix error handling when output creation fails

9 years agofix warning
Rémi Denis-Courmont [Thu, 4 Aug 2011 12:37:13 +0000 (15:37 +0300)]
fix warning

9 years agoMove notify/ out of misc/
Rémi Denis-Courmont [Thu, 4 Aug 2011 12:17:54 +0000 (15:17 +0300)]
Move notify/ out of misc/

9 years agoMove text_renderer/ out of misc/
Rémi Denis-Courmont [Thu, 4 Aug 2011 12:10:13 +0000 (15:10 +0300)]
Move text_renderer/ out of misc/

9 years agoRemove modules/misc/dummy/
Rémi Denis-Courmont [Thu, 4 Aug 2011 11:56:39 +0000 (14:56 +0300)]
Remove modules/misc/dummy/

9 years agoMove and split dummy interface
Rémi Denis-Courmont [Thu, 4 Aug 2011 11:50:22 +0000 (14:50 +0300)]
Move and split dummy interface

9 years agoMove and split dummy text render
Rémi Denis-Courmont [Thu, 4 Aug 2011 11:42:47 +0000 (14:42 +0300)]
Move and split dummy text render

9 years agoMove and split dummy encoder
Rémi Denis-Courmont [Thu, 4 Aug 2011 11:36:43 +0000 (14:36 +0300)]
Move and split dummy encoder

9 years agoMove and split dummy decoder
Rémi Denis-Courmont [Thu, 4 Aug 2011 11:30:42 +0000 (14:30 +0300)]
Move and split dummy decoder

9 years agoMove and split dummy input
Rémi Denis-Courmont [Thu, 4 Aug 2011 10:49:09 +0000 (13:49 +0300)]
Move and split dummy input

9 years agovdummy: remove useless manage callback
Rémi Denis-Courmont [Thu, 4 Aug 2011 10:42:37 +0000 (13:42 +0300)]
vdummy: remove useless manage callback

9 years agoMove and split dummy video output
Rémi Denis-Courmont [Thu, 4 Aug 2011 10:40:59 +0000 (13:40 +0300)]
Move and split dummy video output

9 years agoMove and split dummy audio output
Rémi Denis-Courmont [Thu, 4 Aug 2011 10:28:03 +0000 (13:28 +0300)]
Move and split dummy audio output

9 years agomacosx: fixed time slider action in the fspanel
Felix Paul Kühne [Thu, 4 Aug 2011 10:01:55 +0000 (12:01 +0200)]
macosx: fixed time slider action in the fspanel

9 years agoaout: split out packet-oriented output support code
Rémi Denis-Courmont [Wed, 3 Aug 2011 21:02:30 +0000 (00:02 +0300)]
aout: split out packet-oriented output support code

This provides aout_PacketPlay(), aout_PacketPause() and
aout_PacketFlush() helpers for legacy audio outputs. They conveniently
match the callback prototypes of pf_play, pf_pause and pf_flush
respectively.

9 years agoPulseAudio: support versions 0.9.16-0.9.21 with the Xlib hack
Rémi Denis-Courmont [Wed, 3 Aug 2011 16:14:41 +0000 (19:14 +0300)]
PulseAudio: support versions 0.9.16-0.9.21 with the Xlib hack

9 years agoblock_Bytestream: use block_Release() and simplify a little
Rémi Denis-Courmont [Wed, 3 Aug 2011 15:40:25 +0000 (18:40 +0300)]
block_Bytestream: use block_Release() and simplify a little

9 years agoblock_BytestreamInit(): rationalize prototype
Rémi Denis-Courmont [Wed, 3 Aug 2011 15:24:38 +0000 (18:24 +0300)]
block_BytestreamInit(): rationalize prototype

9 years agoblock_BytestreamRelease: remove useless zeroing (before free)
Rémi Denis-Courmont [Wed, 3 Aug 2011 15:24:17 +0000 (18:24 +0300)]
block_BytestreamRelease: remove useless zeroing (before free)

9 years agoDTS: do not (try and fail to) use dtstofloat32 if !HAVE_FPU
Rémi Denis-Courmont [Wed, 3 Aug 2011 15:11:03 +0000 (18:11 +0300)]
DTS: do not (try and fail to) use dtstofloat32 if !HAVE_FPU

Unfortunately, this will break S/PDIF pass-through for DTS if HAVE_FPU
is false, just like A/52 and MPEG Audio pass-through are broken if
a52dec or libmad are absent.

9 years agoaout: support indirect sample format conversion (fix #5150)
Rémi Denis-Courmont [Wed, 3 Aug 2011 14:23:39 +0000 (17:23 +0300)]
aout: support indirect sample format conversion (fix #5150)

9 years agomad: fix succesful probing debug message
Rémi Denis-Courmont [Wed, 3 Aug 2011 14:02:12 +0000 (17:02 +0300)]
mad: fix succesful probing debug message

Bits per sample only make no sense for the output.

9 years agomad: convert as requested by caller (refs #5150)
Rémi Denis-Courmont [Wed, 3 Aug 2011 13:53:03 +0000 (16:53 +0300)]
mad: convert as requested by caller (refs #5150)

9 years agodca: do not override output format (refs #5150)
Rémi Denis-Courmont [Wed, 3 Aug 2011 13:45:34 +0000 (16:45 +0300)]
dca: do not override output format (refs #5150)

9 years agoa52dec: do not change output format (refs #5150)
Rémi Denis-Courmont [Wed, 3 Aug 2011 13:45:01 +0000 (16:45 +0300)]
a52dec: do not change output format (refs #5150)

9 years agodca: pass audio sample formats by pointer rather than value
Rémi Denis-Courmont [Wed, 3 Aug 2011 13:44:05 +0000 (16:44 +0300)]
dca: pass audio sample formats by pointer rather than value

9 years agoa52dec: pass sample formats by address rather than value
Rémi Denis-Courmont [Wed, 3 Aug 2011 13:42:26 +0000 (16:42 +0300)]
a52dec: pass sample formats by address rather than value

9 years agoRemove maemo6 from old contrib
Rémi Denis-Courmont [Wed, 3 Aug 2011 13:08:19 +0000 (16:08 +0300)]
Remove maemo6 from old contrib

9 years agocontrib: skip libkate tools and tests
Rémi Denis-Courmont [Wed, 3 Aug 2011 09:18:49 +0000 (12:18 +0300)]
contrib: skip libkate tools and tests

9 years agocontrib: fix shout build with !HAVE_FPU
Rémi Denis-Courmont [Tue, 2 Aug 2011 10:24:09 +0000 (13:24 +0300)]
contrib: fix shout build with !HAVE_FPU