]> git.sesse.net Git - vlc/log
vlc
14 years agoQt: Call Lua status callbacks on playing status changes
Srikanth Raju [Mon, 8 Feb 2010 17:57:43 +0000 (23:27 +0530)]
Qt: Call Lua status callbacks on playing status changes

Signed-off-by: Jean-Philippe André <jpeg@videolan.org>
14 years agoLua: Add new callback playing_changed for playing status changes
Srikanth Raju [Mon, 8 Feb 2010 17:57:08 +0000 (23:27 +0530)]
Lua: Add new callback playing_changed for playing status changes

Signed-off-by: Jean-Philippe André <jpeg@videolan.org>
14 years agoLua: Allow arguments to be passed to lua functions in lua_ExecuteFunction
Srikanth Raju [Mon, 8 Feb 2010 17:54:18 +0000 (23:24 +0530)]
Lua: Allow arguments to be passed to lua functions in lua_ExecuteFunction

Signed-off-by: Jean-Philippe André <jpeg@videolan.org>
14 years agoQT4: scroll to playingItem when changing view
Ilkka Ollakka [Sun, 14 Feb 2010 17:26:53 +0000 (19:26 +0200)]
QT4: scroll to playingItem when changing view

I think it works better thisway, but you're free to change it if you think
otherwise.

14 years agoFixed audio-desync support and simplified (close #3253).
Laurent Aimar [Sun, 14 Feb 2010 17:09:19 +0000 (18:09 +0100)]
Fixed audio-desync support and simplified (close #3253).

14 years agoes_out_SetDelay cannot fail.
Laurent Aimar [Sun, 14 Feb 2010 17:02:53 +0000 (18:02 +0100)]
es_out_SetDelay cannot fail.

14 years agoGather all inhibit module in a directory (no code change)
Rémi Denis-Courmont [Sun, 14 Feb 2010 17:08:33 +0000 (19:08 +0200)]
Gather all inhibit module in a directory (no code change)

14 years agoscreensaver: wait for process
Rémi Denis-Courmont [Sun, 14 Feb 2010 16:00:53 +0000 (18:00 +0200)]
screensaver: wait for process

This runs with a timer of its own. It's best to wait for the process
that do a fork bomb, if it ever takes a long.

14 years agoAdd GEOV fourcc to mpeg4...
Jean-Baptiste Kempf [Sun, 14 Feb 2010 15:59:44 +0000 (16:59 +0100)]
Add GEOV fourcc to mpeg4...

14 years agoIncreased probing size for ac3/dts in wav (close #3298).
Laurent Aimar [Sun, 14 Feb 2010 15:28:17 +0000 (16:28 +0100)]
Increased probing size for ac3/dts in wav (close #3298).

14 years agoSimplified and fixed mmst/u pausing (close #2673).
Laurent Aimar [Sun, 14 Feb 2010 15:04:39 +0000 (16:04 +0100)]
Simplified and fixed mmst/u pausing (close #2673).

14 years agoDefault to any for --audio-language.
Laurent Aimar [Sun, 14 Feb 2010 14:03:58 +0000 (15:03 +0100)]
Default to any for --audio-language.

14 years agonet_Write: always a cancellation point as promised
Rémi Denis-Courmont [Sun, 14 Feb 2010 15:15:09 +0000 (17:15 +0200)]
net_Write: always a cancellation point as promised

14 years agoStore audio output interface variables into the input manager object
Rémi Denis-Courmont [Sun, 14 Feb 2010 15:11:36 +0000 (17:11 +0200)]
Store audio output interface variables into the input manager object

This partially fixes multiple media players in LibVLC. This also
removes a few run-away var_Create() in doVolumeChanges().

14 years agonet_Write: improve documentation
Rémi Denis-Courmont [Sun, 14 Feb 2010 15:10:05 +0000 (17:10 +0200)]
net_Write: improve documentation

14 years agoTypo
Rémi Denis-Courmont [Sun, 14 Feb 2010 15:09:39 +0000 (17:09 +0200)]
Typo

14 years agovlc_object_waitpipe: cancellation safety
Rémi Denis-Courmont [Sun, 14 Feb 2010 15:04:38 +0000 (17:04 +0200)]
vlc_object_waitpipe: cancellation safety

14 years agoskins2(playlist): fix current playing item still on when stopping an input
Erwan Tulou [Sun, 14 Feb 2010 13:46:29 +0000 (14:46 +0100)]
skins2(playlist): fix current playing item still on when stopping an input

14 years agoFix missing signal while stopping preparser (fixes #3291)
Rémi Denis-Courmont [Sun, 14 Feb 2010 13:43:49 +0000 (15:43 +0200)]
Fix missing signal while stopping preparser (fixes #3291)

14 years agoSupport for Windows Media Voice natively
Jean-Baptiste Kempf [Sun, 14 Feb 2010 12:34:59 +0000 (13:34 +0100)]
Support for Windows Media Voice natively

May Ronald S. Bultje be praised for this.

14 years agoSupport for Indeo 5
Jean-Baptiste Kempf [Sun, 14 Feb 2010 12:03:15 +0000 (13:03 +0100)]
Support for Indeo 5

May Kostya Shishkov be praised for this.

14 years agoLibVLC: allow setting playback rate even without input
Rémi Denis-Courmont [Sun, 14 Feb 2010 11:50:36 +0000 (13:50 +0200)]
LibVLC: allow setting playback rate even without input

14 years agoUse vlc_openat, fix support for non-UTF-8 systems
Rémi Denis-Courmont [Sun, 14 Feb 2010 11:33:35 +0000 (13:33 +0200)]
Use vlc_openat, fix support for non-UTF-8 systems

14 years agoadd vlc_openat wrapper around openat
Rémi Denis-Courmont [Sun, 14 Feb 2010 11:33:23 +0000 (13:33 +0200)]
add vlc_openat wrapper around openat

14 years agodirectory: remove useless string if fdopendir() is supported
Rémi Denis-Courmont [Sun, 14 Feb 2010 11:26:25 +0000 (13:26 +0200)]
directory: remove useless string if fdopendir() is supported

14 years agodirectory: handle fd:// syntax
Rémi Denis-Courmont [Sun, 14 Feb 2010 11:19:34 +0000 (13:19 +0200)]
directory: handle fd:// syntax

14 years agodirectory: use block_heap_Alloc()
Rémi Denis-Courmont [Sun, 14 Feb 2010 10:46:25 +0000 (12:46 +0200)]
directory: use block_heap_Alloc()

14 years agoReduced verbosity (vout wrapper).
Laurent Aimar [Sun, 14 Feb 2010 10:33:08 +0000 (11:33 +0100)]
Reduced verbosity (vout wrapper).

14 years agoFixed RSS text positionning (close #3115).
Laurent Aimar [Sun, 14 Feb 2010 10:27:02 +0000 (11:27 +0100)]
Fixed RSS text positionning (close #3115).

Initial patch by Gerrit van den Hanenberg.

14 years agodoVolumeChanges: always return the value
Rémi Denis-Courmont [Sun, 14 Feb 2010 10:03:47 +0000 (12:03 +0200)]
doVolumeChanges: always return the value

This fixes, e.g. garbage OSD display when toggling mute with the hotkey.

14 years agoFix libvlc_audio_set_mute
Rémi Denis-Courmont [Sun, 14 Feb 2010 09:58:14 +0000 (11:58 +0200)]
Fix libvlc_audio_set_mute

14 years agoDon't use random number as pointers.
Rémi Denis-Courmont [Sun, 14 Feb 2010 09:55:50 +0000 (11:55 +0200)]
Don't use random number as pointers.

This is not legal (even if it works on all platforms). Also, this fixes
a warning.

14 years agoRemove a few fixmes
Rémi Denis-Courmont [Sun, 14 Feb 2010 09:55:28 +0000 (11:55 +0200)]
Remove a few fixmes

14 years agoAdd indirection to find input from wanabee input manager object
Rémi Denis-Courmont [Sun, 14 Feb 2010 09:53:53 +0000 (11:53 +0200)]
Add indirection to find input from wanabee input manager object

PARENTAL ADVISORY: explicit hack

This should allow volume control to (somewhat) work in LibVLC.
Unfortunately, it will still be buggy when there are multiple players.

14 years agoMake doVolumeChanges static
Rémi Denis-Courmont [Sun, 14 Feb 2010 09:34:26 +0000 (11:34 +0200)]
Make doVolumeChanges static

14 years agoaout_FindAndRestart() needs the playlist
Rémi Denis-Courmont [Sun, 14 Feb 2010 09:27:23 +0000 (11:27 +0200)]
aout_FindAndRestart() needs the playlist

This will probably never work for LibVLC.

14 years agoTrivial factorization
Rémi Denis-Courmont [Sun, 14 Feb 2010 09:27:13 +0000 (11:27 +0200)]
Trivial factorization

14 years agoflac decoder does not need ogg. Remove bogus build dependency.
Rémi Denis-Courmont [Sun, 14 Feb 2010 07:48:20 +0000 (09:48 +0200)]
flac decoder does not need ogg. Remove bogus build dependency.

This reverts commit cc4cabdf51150e323e6af7ced747b46b4a834d5f.

14 years agocontribs: static linked flac requires ogg
Rémi Denis-Courmont [Sun, 14 Feb 2010 08:30:27 +0000 (10:30 +0200)]
contribs: static linked flac requires ogg

14 years agoContribs: refactor flac build
Rémi Denis-Courmont [Sun, 14 Feb 2010 08:20:13 +0000 (10:20 +0200)]
Contribs: refactor flac build

14 years agoQt: couple of minor corrections
Jakob Leben [Sun, 14 Feb 2010 08:10:30 +0000 (09:10 +0100)]
Qt: couple of minor corrections

- searchLineEdit: proper clearing
- locationBar content will not affect searchLineEdit size

14 years agoQt: playlist menu strings and icons
Jakob Leben [Sun, 14 Feb 2010 05:42:21 +0000 (06:42 +0100)]
Qt: playlist menu strings and icons

14 years agoQt: the Add button on playlist panel is gone
Jakob Leben [Sun, 14 Feb 2010 04:51:49 +0000 (05:51 +0100)]
Qt: the Add button on playlist panel is gone

14 years agoQt: include Add File/Directory/Advanced Open actions in playlist right-click menu
Jakob Leben [Sun, 14 Feb 2010 04:42:09 +0000 (05:42 +0100)]
Qt: include Add File/Directory/Advanced Open actions in playlist right-click menu

14 years agoWin32: try to fix compilation of flac
Jean-Baptiste Kempf [Sun, 14 Feb 2010 03:12:34 +0000 (04:12 +0100)]
Win32: try to fix compilation of flac

14 years agoUpdate LIST
Jean-Baptiste Kempf [Sun, 14 Feb 2010 03:05:47 +0000 (04:05 +0100)]
Update LIST

14 years agoQt: code reindentation
Jean-Baptiste Kempf [Sun, 14 Feb 2010 03:04:11 +0000 (04:04 +0100)]
Qt: code reindentation

14 years agoFixed SPS/PPS transmissions in H264 packetizer.
Laurent Aimar [Sat, 13 Feb 2010 21:56:11 +0000 (22:56 +0100)]
Fixed SPS/PPS transmissions in H264 packetizer.

It closes the other part of #3161.

14 years agoFixed SPS parsing when scaling matrices are present (h264).
Laurent Aimar [Sat, 13 Feb 2010 21:54:18 +0000 (22:54 +0100)]
Fixed SPS parsing when scaling matrices are present (h264).

It partially closes #3161.

14 years agoAdd a third query with fuzzy search enabled for every word. (We could also add other...
Antoine Cellerier [Sat, 13 Feb 2010 21:45:38 +0000 (22:45 +0100)]
Add a third query with fuzzy search enabled for every word. (We could also add other searches with lower fuzzyness if the first try fails)

14 years agoTry a second musicbrainz query if the first one failed. This allows for fuzzier match...
Antoine Cellerier [Sat, 13 Feb 2010 21:28:29 +0000 (22:28 +0100)]
Try a second musicbrainz query if the first one failed. This allows for fuzzier matches (like not taking spaces into account in 1980 - 1990 for example) but still doesn't fix issues with minor spelling errors.

14 years agoAdded support for language in asf (close #3292).
Laurent Aimar [Sat, 13 Feb 2010 20:56:34 +0000 (21:56 +0100)]
Added support for language in asf (close #3292).

14 years agoFactorized the way ES are added (asf).
Laurent Aimar [Sat, 13 Feb 2010 20:52:41 +0000 (21:52 +0100)]
Factorized the way ES are added (asf).

14 years agoFactorized extended header search (asf).
Laurent Aimar [Sat, 13 Feb 2010 20:31:45 +0000 (21:31 +0100)]
Factorized extended header search (asf).

14 years agoCosmetics (asf).
Laurent Aimar [Sat, 13 Feb 2010 20:29:43 +0000 (21:29 +0100)]
Cosmetics (asf).

14 years agoudev ALSA: use vendor name if available
Rémi Denis-Courmont [Sat, 13 Feb 2010 20:53:59 +0000 (22:53 +0200)]
udev ALSA: use vendor name if available

14 years agoudev ALSA: use model name if available
Rémi Denis-Courmont [Sat, 13 Feb 2010 20:53:44 +0000 (22:53 +0200)]
udev ALSA: use model name if available

14 years agoudev ALSA: don't be reliant on device node path, use kernel path
Rémi Denis-Courmont [Sat, 13 Feb 2010 20:37:37 +0000 (22:37 +0200)]
udev ALSA: don't be reliant on device node path, use kernel path

14 years agoReduce verbosity.
Antoine Cellerier [Sat, 13 Feb 2010 20:28:31 +0000 (21:28 +0100)]
Reduce verbosity.

14 years agoFix rc intf.
Antoine Cellerier [Sat, 13 Feb 2010 20:07:05 +0000 (21:07 +0100)]
Fix rc intf.

14 years agoAttach the vout object to parent before spu creation so modules loaded by spu can...
Antoine Cellerier [Sat, 13 Feb 2010 20:04:50 +0000 (21:04 +0100)]
Attach the vout object to parent before spu creation so modules loaded by spu can use var inheritance.

14 years agoudev: rudimentary ALSA capture support
Rémi Denis-Courmont [Sat, 13 Feb 2010 19:54:35 +0000 (21:54 +0200)]
udev: rudimentary ALSA capture support

14 years agoCapture devices -> Video capture, for consistency
Rémi Denis-Courmont [Sat, 13 Feb 2010 19:54:17 +0000 (21:54 +0200)]
Capture devices -> Video capture, for consistency

14 years agoAttach httpd hosts to the main httpd object.
Antoine Cellerier [Sat, 13 Feb 2010 19:51:55 +0000 (20:51 +0100)]
Attach httpd hosts to the main httpd object.

14 years agoXCB SD: allow running even if there is no ICCCM window manager
Rémi Denis-Courmont [Sat, 13 Feb 2010 19:15:30 +0000 (21:15 +0200)]
XCB SD: allow running even if there is no ICCCM window manager

14 years agoxcb SD: add a persistent item for the whole desktop
Rémi Denis-Courmont [Sat, 13 Feb 2010 19:14:44 +0000 (21:14 +0200)]
xcb SD: add a persistent item for the whole desktop

(TODO: add one item per X RandR view port)

14 years agoMake mouse-moved and mouse-clicked coordinates, remove mouse-x and -y
Rémi Denis-Courmont [Sat, 13 Feb 2010 17:50:51 +0000 (19:50 +0200)]
Make mouse-moved and mouse-clicked coordinates, remove mouse-x and -y

This simplifies callbacks a bit, and fixes a race condition.

14 years agoAdd coordinates (VLC_VAR_COORDS) variable type
Rémi Denis-Courmont [Sat, 13 Feb 2010 17:49:59 +0000 (19:49 +0200)]
Add coordinates (VLC_VAR_COORDS) variable type

14 years agoUse lua's object syntactic sugar: a.b(a,c,d) => a:b(c,d)
Antoine Cellerier [Sat, 13 Feb 2010 18:23:29 +0000 (19:23 +0100)]
Use lua's object syntactic sugar: a.b(a,c,d) => a:b(c,d)

14 years agouse vlc.input.item() where appropriate
Antoine Cellerier [Sat, 13 Feb 2010 18:20:20 +0000 (19:20 +0100)]
use vlc.input.item() where appropriate

14 years agoUpdate vlc.input doc.
Antoine Cellerier [Sat, 13 Feb 2010 18:11:29 +0000 (19:11 +0100)]
Update vlc.input doc.

14 years agoItem specific information getters are now item object methods.
Antoine Cellerier [Sat, 13 Feb 2010 18:01:21 +0000 (19:01 +0100)]
Item specific information getters are now item object methods.

14 years agoAlso dump item name, uri, duration and es info.
Antoine Cellerier [Sat, 13 Feb 2010 17:57:36 +0000 (18:57 +0100)]
Also dump item name, uri, duration and es info.

14 years agovar_GetChecked and var_SetChecked object auto-cast
Rémi Denis-Courmont [Sat, 13 Feb 2010 17:47:23 +0000 (19:47 +0200)]
var_GetChecked and var_SetChecked object auto-cast

14 years agoRemove libvlc_free
Rémi Denis-Courmont [Sat, 13 Feb 2010 17:03:48 +0000 (19:03 +0200)]
Remove libvlc_free

14 years agoYou shall include <config.h>
Rémi Denis-Courmont [Sat, 13 Feb 2010 16:49:43 +0000 (18:49 +0200)]
You shall include <config.h>

14 years agoCosmetics
Rémi Denis-Courmont [Sat, 13 Feb 2010 16:45:33 +0000 (18:45 +0200)]
Cosmetics

14 years agoskins2: fix proccessing item-change at playlist level
Erwan Tulou [Sat, 13 Feb 2010 17:09:58 +0000 (18:09 +0100)]
skins2: fix proccessing item-change at playlist level

it is needed to pass from input_item_t to playlist_item_t
 for this variable only (others directly provide playlist_item_t)

14 years agoMake sure that the playlist item has been preparsed first (and don't get stuck in...
Antoine Cellerier [Sat, 13 Feb 2010 17:27:05 +0000 (18:27 +0100)]
Make sure that the playlist item has been preparsed first (and don't get stuck in an infinite loop). Note that libs/input.c is a mess and would need to be cleanup before we release 1.1.

14 years agoNew dumpmeta lua interface module to dump a file's meta data on stdout/stderr (I...
Antoine Cellerier [Sat, 13 Feb 2010 16:48:57 +0000 (17:48 +0100)]
New dumpmeta lua interface module to dump a file's meta data on stdout/stderr (I'll let you figure out which one it is). Use as: vlc -I lua --lua-intf dumpmeta filename.mp3

14 years agoRemove the old form of variable variable
Rémi Denis-Courmont [Sat, 13 Feb 2010 16:23:08 +0000 (18:23 +0200)]
Remove the old form of variable variable

This is not used. The VLC_VAR_VARIABLE type is used by "navigation" only
in a different way (basically, it is a string).

14 years agoVariable choice names are in psz_string, not var.psz_name
Rémi Denis-Courmont [Sat, 13 Feb 2010 16:17:44 +0000 (18:17 +0200)]
Variable choice names are in psz_string, not var.psz_name

(Fortunately, both corresponded to the same location.)

14 years agoMake mouse-moved a void variable
Rémi Denis-Courmont [Sat, 13 Feb 2010 16:02:14 +0000 (18:02 +0200)]
Make mouse-moved a void variable

14 years agoskins2: remove dead code
Erwan Tulou [Sat, 13 Feb 2010 15:46:08 +0000 (16:46 +0100)]
skins2: remove dead code

14 years agoAdd lua wrapper for memory stream constructor.
Antoine Cellerier [Sat, 13 Feb 2010 14:31:39 +0000 (15:31 +0100)]
Add lua wrapper for memory stream constructor.

14 years agoRemove trailing spaces.
Antoine Cellerier [Sat, 13 Feb 2010 14:22:30 +0000 (15:22 +0100)]
Remove trailing spaces.

14 years agoAdd a simplexml lua module to parse an xml into a table.
Antoine Cellerier [Sat, 13 Feb 2010 14:16:10 +0000 (15:16 +0100)]
Add a simplexml lua module to parse an xml into a table.

14 years agoExport vlc's xml api.
Antoine Cellerier [Sat, 13 Feb 2010 13:54:04 +0000 (14:54 +0100)]
Export vlc's xml api.

14 years agoMove sandbox lua module to global modules directory.
Antoine Cellerier [Sat, 13 Feb 2010 13:21:38 +0000 (14:21 +0100)]
Move sandbox lua module to global modules directory.

14 years agoSetup lua module search path
Antoine Cellerier [Sat, 13 Feb 2010 13:14:04 +0000 (14:14 +0100)]
Setup lua module search path

For example, if runing script <user dir>/lua/intf/script.lua, the following paths will be added:
  <user dir>/lua/modules/?.lua
  <user dir>/lua/intf/modules/?.lua
  <share dir>/lua/modules/?.lua
  <share dir>/lua/intf/modules/?.lua

If runing script <share dir>/lua/intf/script.lua, the following paths will be added:
  <share dir>/lua/modules/?.lua
  <share dir>/lua/intf/modules/?.lua

14 years agoWhen scanning multiple lua scripts, create a new lua_State for each script. This...
Antoine Cellerier [Sat, 13 Feb 2010 13:07:30 +0000 (14:07 +0100)]
When scanning multiple lua scripts, create a new lua_State for each script. This will prevent data corruption from a previous script affecting subsequent scripts.

14 years agoskins2: fix playlist not displaying cuurent playing item correctly
Erwan Tulou [Sat, 13 Feb 2010 15:02:45 +0000 (16:02 +0100)]
skins2: fix playlist not displaying cuurent playing item correctly

This patch
  - ensure that current playing item is properly detected
  - deactivate item changes since it is wrongly implemented
    (i_id from input_item_t and playlist_item_t are compared,
     which is wrong)

14 years agoskins2: add support for tracking current playing item correctly
Erwan Tulou [Sat, 13 Feb 2010 10:43:50 +0000 (11:43 +0100)]
skins2: add support for tracking current playing item correctly

14 years agopulseaudio: disable pa_stream_drain on close
Ilkka Ollakka [Sat, 13 Feb 2010 14:50:14 +0000 (16:50 +0200)]
pulseaudio: disable pa_stream_drain on close

I didn't find any reason to do it, and it slows closing quite a lot,
if you know why we should do that, please speak up etc.

14 years agoQt4: add extended Latin-1 and a few multimedia keys, binary search
Rémi Denis-Courmont [Sat, 13 Feb 2010 14:05:32 +0000 (16:05 +0200)]
Qt4: add extended Latin-1 and a few multimedia keys, binary search

14 years agoBe more strict in flac SyncInfo checks.
Laurent Aimar [Sat, 13 Feb 2010 14:10:50 +0000 (15:10 +0100)]
Be more strict in flac SyncInfo checks.

14 years agoDo not loose pts on stream properties changes.
Laurent Aimar [Sat, 13 Feb 2010 13:37:52 +0000 (14:37 +0100)]
Do not loose pts on stream properties changes.

It closes #2349.

14 years agoFixed a few errors in flac packetizer.
Laurent Aimar [Sat, 13 Feb 2010 13:25:56 +0000 (14:25 +0100)]
Fixed a few errors in flac packetizer.

14 years agoMoved out the flac packetizer from the flac decoder.
Laurent Aimar [Sat, 13 Feb 2010 12:26:03 +0000 (13:26 +0100)]
Moved out the flac packetizer from the flac decoder.

It simplify the flac decoder code.
It fixes the build of the packetizer when flac is disabled.
It makes the flac packetizer behaviour independant of the flac decoder presence.

14 years agoplaylist: sizeof -> strlen
Jakob Leben [Sat, 13 Feb 2010 10:02:19 +0000 (11:02 +0100)]
playlist: sizeof -> strlen