vlc.git
13 years agoDon't generate module parameters twice
Rémi Denis-Courmont [Thu, 1 May 2008 17:27:02 +0000 (20:27 +0300)]
Don't generate module parameters twice

13 years agoDon't compile sout code if sout is disabled
Rémi Denis-Courmont [Thu, 1 May 2008 17:04:27 +0000 (20:04 +0300)]
Don't compile sout code if sout is disabled

13 years agoLook for config.h output in public header files
Rémi Denis-Courmont [Thu, 1 May 2008 16:11:07 +0000 (19:11 +0300)]
Look for config.h output in public header files

13 years agoUse macro for __attribute__((packed))
Rémi Denis-Courmont [Thu, 1 May 2008 15:37:43 +0000 (18:37 +0300)]
Use macro for __attribute__((packed))

13 years agolibintl is never "included" anymore
Rémi Denis-Courmont [Thu, 1 May 2008 15:33:26 +0000 (18:33 +0300)]
libintl is never "included" anymore

13 years agoSpare one use of WORDS_BIGENDIAN from vlc_common.h
Rémi Denis-Courmont [Thu, 1 May 2008 15:32:43 +0000 (18:32 +0300)]
Spare one use of WORDS_BIGENDIAN from vlc_common.h

13 years agoRemove the temporary hack
Rémi Denis-Courmont [Thu, 1 May 2008 15:24:14 +0000 (18:24 +0300)]
Remove the temporary hack

13 years agoU?I64C: use U?INT64_C from <stdint.h>
Rémi Denis-Courmont [Thu, 1 May 2008 14:50:16 +0000 (17:50 +0300)]
U?I64C: use U?INT64_C from <stdint.h>

13 years agoI64F?: use PRI?64 from <inttypes.h>
Rémi Denis-Courmont [Thu, 1 May 2008 14:46:22 +0000 (17:46 +0300)]
I64F?: use PRI?64 from <inttypes.h>

I don't have the courage to replace all the occurences in the code.

13 years ago<inttypes.h> is a superset of <stdint.h>, use it instead.
Rémi Denis-Courmont [Thu, 1 May 2008 14:38:24 +0000 (17:38 +0300)]
<inttypes.h> is a superset of <stdint.h>, use it instead.

13 years agoDon't re-invent uint8_t - remove byte_t
Rémi Denis-Courmont [Thu, 1 May 2008 14:30:52 +0000 (17:30 +0300)]
Don't re-invent uint8_t - remove byte_t

Also sizeof(byte_t)^Wsizeof(uint8_t) can only ever be 1, if it is
defined. It's not defined, if char is more than 8 bits, and uint8_t is
not provided, but then VLC will not compile in the first place.

13 years agoFixed the compilation of multiple Mac OS X related modules
Felix Paul Kühne [Thu, 1 May 2008 10:57:01 +0000 (12:57 +0200)]
Fixed the compilation of multiple Mac OS X related modules

by using VLC_ADD_PLUGIN instead of VLC_ADD_BUILTINS.

Please check for potential regressions.

13 years agoMissing #include
Rémi Denis-Courmont [Thu, 1 May 2008 08:36:51 +0000 (11:36 +0300)]
Missing #include

13 years agoSupport for RIFF/MIDI files
Rémi Denis-Courmont [Wed, 30 Apr 2008 18:30:13 +0000 (21:30 +0300)]
Support for RIFF/MIDI files

13 years ago--mono does noes exist. Comment out the text for it.
Rémi Denis-Courmont [Wed, 30 Apr 2008 17:05:22 +0000 (20:05 +0300)]
--mono does noes exist. Comment out the text for it.

13 years agoDisc reading libs want ANSI rather than UTF-8 paths - fixes #1560
Rémi Denis-Courmont [Wed, 30 Apr 2008 17:04:59 +0000 (20:04 +0300)]
Disc reading libs want ANSI rather than UTF-8 paths - fixes #1560

13 years agoExport ToLocaleDup
Rémi Denis-Courmont [Wed, 30 Apr 2008 17:04:05 +0000 (20:04 +0300)]
Export ToLocaleDup

13 years agoWin64 compatible modifications around set/getWindowLong
Jean-Baptiste Kempf [Wed, 30 Apr 2008 17:01:20 +0000 (19:01 +0200)]
Win64 compatible modifications around set/getWindowLong

13 years agoFix the interpretation of command "help" by VLM.
Adrien Grand [Sun, 27 Apr 2008 13:17:03 +0000 (15:17 +0200)]
Fix the interpretation of command "help" by VLM.

In the function ExecuteCommand, p_message is given in argument to ExecuteHelp
and is then modified locally in ExecuteHelp:
  p_message = vlm_MessageNew( "help", vlm_NULL );
whereas it is used further in function ExecuteCommand.
This patch fixes this problem by passing the pointer address in argument to
ExecuteHelp instead of the pointer itself.

Signed-off-by: Pierre d'Herbemont <pdherbemont@videolan.org>
13 years agoRestore ENABLE_SOUT #define (used in wav "codec")
Rémi Denis-Courmont [Tue, 29 Apr 2008 05:18:43 +0000 (08:18 +0300)]
Restore ENABLE_SOUT #define (used in wav "codec")

13 years agoMove the MPRIS Quit method to the root dbus object.
Mirsal Ennaime [Tue, 29 Apr 2008 01:16:04 +0000 (03:16 +0200)]
Move the MPRIS Quit method to the root dbus object.
This closes #1565

13 years agoDon't use VLC_ADD_PLUGIN for common sout and packetizers plugins
Rémi Denis-Courmont [Mon, 28 Apr 2008 20:26:46 +0000 (23:26 +0300)]
Don't use VLC_ADD_PLUGIN for common sout and packetizers plugins

13 years agoFix previous commit
Rémi Denis-Courmont [Mon, 28 Apr 2008 20:13:39 +0000 (23:13 +0300)]
Fix previous commit

13 years agoProtect access_output/ under ENABLE_SOUT as well
Rémi Denis-Courmont [Mon, 28 Apr 2008 20:08:20 +0000 (23:08 +0300)]
Protect access_output/ under ENABLE_SOUT as well

13 years agoDon't bother with mux/ and stream_out/ is sout is disabled
Rémi Denis-Courmont [Mon, 28 Apr 2008 20:04:33 +0000 (23:04 +0300)]
Don't bother with mux/ and stream_out/ is sout is disabled

13 years agoVLC_ADD_PLUGINS -> VLC_ADD_PLUGIN
Rémi Denis-Courmont [Mon, 28 Apr 2008 19:45:57 +0000 (22:45 +0300)]
VLC_ADD_PLUGINS -> VLC_ADD_PLUGIN

13 years agoFixes
Rémi Denis-Courmont [Mon, 28 Apr 2008 19:40:04 +0000 (22:40 +0300)]
Fixes

13 years agoAvoid vlc-config for access plugins that are always built
Rémi Denis-Courmont [Mon, 28 Apr 2008 19:34:29 +0000 (22:34 +0300)]
Avoid vlc-config for access plugins that are always built

13 years agonice is a phony target
Rémi Denis-Courmont [Mon, 28 Apr 2008 19:33:14 +0000 (22:33 +0300)]
nice is a phony target

13 years agoCosmetics
Rémi Denis-Courmont [Mon, 28 Apr 2008 19:32:51 +0000 (22:32 +0300)]
Cosmetics

13 years agoRemove a bunch of obsoleted kludges
Rémi Denis-Courmont [Mon, 28 Apr 2008 19:31:32 +0000 (22:31 +0300)]
Remove a bunch of obsoleted kludges

We don't need to invoke make twice in every directory, and we don't need
the awful libtool install kludge anymore.

13 years agoSet a substitution variable for configure-enabled plugins
Rémi Denis-Courmont [Mon, 28 Apr 2008 18:56:27 +0000 (21:56 +0300)]
Set a substitution variable for configure-enabled plugins

13 years agoInvoke VLC_ADD_PLUGINS with only one plugin at a time
Rémi Denis-Courmont [Sun, 27 Apr 2008 20:09:11 +0000 (23:09 +0300)]
Invoke VLC_ADD_PLUGINS with only one plugin at a time

13 years agoAllow building plugins through autotools-builtin means...
Rémi Denis-Courmont [Mon, 28 Apr 2008 19:20:34 +0000 (22:20 +0300)]
Allow building plugins through autotools-builtin means...

...in addition to vlc-config

13 years agoUpdate comments
Rémi Denis-Courmont [Mon, 28 Apr 2008 17:28:50 +0000 (20:28 +0300)]
Update comments

13 years agoTypo
Rémi Denis-Courmont [Mon, 28 Apr 2008 16:30:42 +0000 (19:30 +0300)]
Typo

13 years agoFix accelerated modules configure options.
Rémi Denis-Courmont [Mon, 28 Apr 2008 16:25:24 +0000 (19:25 +0300)]
Fix accelerated modules configure options.

Only enable those modules that were enabled, rather than _all_ of them
(which should fix --disable-sse and --disable-mmx). Also don't run
checks if we know we're not going to enable the modules anyway.

13 years agoremove bogus code introduced in the previous commit
Felix Paul Kühne [Sun, 27 Apr 2008 20:42:35 +0000 (22:42 +0200)]
remove bogus code introduced in the previous commit

sorry about the disturbance

13 years agoYou want to use mdate() instead of mtime() which is invalid
Felix Paul Kühne [Sun, 27 Apr 2008 20:41:49 +0000 (22:41 +0200)]
You want to use mdate() instead of mtime() which is invalid

13 years agoHack to fix the compilation on 10.4. This should actually be covered by configure...
Felix Paul Kühne [Sun, 27 Apr 2008 20:10:44 +0000 (22:10 +0200)]
Hack to fix the compilation on 10.4. This should actually be covered by configure, which complains about missing headers, but doesn't disable this module properly.

13 years agoUse NSInteger since we got it now
Felix Paul Kühne [Sun, 27 Apr 2008 19:29:30 +0000 (21:29 +0200)]
Use NSInteger since we got it now

13 years agoFix previous commit - there is no vlc object here
Rémi Denis-Courmont [Sun, 27 Apr 2008 19:30:26 +0000 (22:30 +0300)]
Fix previous commit - there is no vlc object here

13 years agoauhal: don't mix vlc_ and pthread_ function calls
Rémi Denis-Courmont [Sun, 27 Apr 2008 19:26:34 +0000 (22:26 +0300)]
auhal: don't mix vlc_ and pthread_ function calls

13 years agoBe sure to declare NSInteger if it isn't present
Felix Paul Kühne [Sun, 27 Apr 2008 19:27:11 +0000 (21:27 +0200)]
Be sure to declare NSInteger if it isn't present

13 years agoReverted 4082c803f778e903ae0b1dc9afaf3ad86fddbd69 as AudioDeviceIOProcID and its...
Felix Paul Kühne [Sun, 27 Apr 2008 19:15:30 +0000 (21:15 +0200)]
Reverted 4082c803f778e903ae0b1dc9afaf3ad86fddbd69 as AudioDeviceIOProcID and its related methods require Darwin 9

13 years ago* Fix the compilation on 10.4u
Felix Paul Kühne [Sun, 27 Apr 2008 19:06:48 +0000 (21:06 +0200)]
* Fix the compilation on 10.4u

13 years agovlc-config: no need to go through all plugins to get the linkage
Rémi Denis-Courmont [Sun, 27 Apr 2008 19:02:37 +0000 (22:02 +0300)]
vlc-config: no need to go through all plugins to get the linkage

13 years agoRemove the forced ld -z,defs flags.
Rémi Denis-Courmont [Sun, 27 Apr 2008 18:17:42 +0000 (21:17 +0300)]
Remove the forced ld -z,defs flags.

Clueful people use them when they need to. Let them decide.

13 years agoStandard MIDI file demux: fix comments
Rémi Denis-Courmont [Sat, 26 Apr 2008 16:21:41 +0000 (19:21 +0300)]
Standard MIDI file demux: fix comments

13 years agoAbility to save and load input item options in xspf playlist as it is possible in...
Antoine Lejeune [Wed, 23 Apr 2008 18:20:13 +0000 (20:20 +0200)]
Ability to save and load input item options in xspf playlist as it is possible in m3u playlist.

Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
13 years agoAdd CVE id
Christophe Mutricy [Fri, 25 Apr 2008 16:37:26 +0000 (17:37 +0100)]
Add CVE id
(cherry picked from commit 3e8778f5e911785d061ffabd7299c2fc38384959)

13 years agoFix a bug introduced by 920692ff5d2d6b001e0f6ac7bda1978c9f7abd1f
Antoine Lejeune [Thu, 24 Apr 2008 12:02:35 +0000 (14:02 +0200)]
Fix a bug introduced by 920692ff5d2d6b001e0f6ac7bda1978c9f7abd1f

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
13 years agoUse the user's native MacOSX-SDK if none is given.
Felix Paul Kühne [Fri, 25 Apr 2008 10:15:51 +0000 (12:15 +0200)]
Use the user's native MacOSX-SDK if none is given.

13 years agoCompilation fix related to the recent threading simplifications. Needs additional...
Felix Paul Kühne [Fri, 25 Apr 2008 09:31:24 +0000 (11:31 +0200)]
Compilation fix related to the recent threading simplifications. Needs additional testing.

13 years agoLower score of modules/xvmc/xxmc.c because it is not as stable as libmpeg2.
Jean-Paul Saman [Thu, 24 Apr 2008 21:48:21 +0000 (23:48 +0200)]
Lower score of modules/xvmc/xxmc.c because it is not as stable as libmpeg2.

13 years agoMeaningful Typo
Christophe Mutricy [Thu, 24 Apr 2008 20:09:08 +0000 (21:09 +0100)]
Meaningful Typo

13 years agoRemove silly out of memory message in an out of memory situation and fixed indentatio...
Jean-Paul Saman [Tue, 22 Apr 2008 14:26:11 +0000 (16:26 +0200)]
Remove silly out of memory message in an out of memory situation and fixed indentation on bool declarations.

13 years agoCleanup and move debug message to a better place.
Jean-Paul Saman [Tue, 22 Apr 2008 14:14:02 +0000 (16:14 +0200)]
Cleanup and move debug message to a better place.

13 years agoFix indentation in scope blocks after bool change.
Jean-Paul Saman [Tue, 22 Apr 2008 14:12:28 +0000 (16:12 +0200)]
Fix indentation in scope blocks after bool change.

13 years agoDon't return at the end of void function.
Jean-Paul Saman [Sat, 19 Apr 2008 22:08:51 +0000 (00:08 +0200)]
Don't return at the end of void function.

13 years agoFix latest crash in modules/codec/x264.c with ratecontrol.
Jean-Paul Saman [Sat, 19 Apr 2008 12:20:02 +0000 (14:20 +0200)]
Fix latest crash in modules/codec/x264.c with ratecontrol.

13 years agoFix indentation after vlc_bool_t by bool replacement. Makes the file readible again.
Jean-Paul Saman [Sat, 19 Apr 2008 09:41:24 +0000 (11:41 +0200)]
Fix indentation after vlc_bool_t by bool replacement. Makes the file readible again.

13 years agoCompile FFmpeg on PowerPC-based machines without AltiVec support until it is fixed.
Felix Paul Kühne [Thu, 24 Apr 2008 14:28:57 +0000 (16:28 +0200)]
Compile FFmpeg on PowerPC-based machines without AltiVec support until it is fixed.

The attached patches fixed --disable-altivec for libswscale oO

13 years agoFix input item leaking
Rafaël Carré [Thu, 24 Apr 2008 13:28:59 +0000 (15:28 +0200)]
Fix input item leaking

13 years agoTypo
Rafaël Carré [Thu, 24 Apr 2008 13:28:39 +0000 (15:28 +0200)]
Typo

13 years agoRename the files here also
Christophe Mutricy [Wed, 23 Apr 2008 22:25:09 +0000 (23:25 +0100)]
Rename the files here also

13 years agoWin32: Simplify mutex
Rémi Denis-Courmont [Wed, 23 Apr 2008 19:24:45 +0000 (22:24 +0300)]
Win32: Simplify mutex

13 years agoWin32: remove (now dead) old mutex/cv implementation
Rémi Denis-Courmont [Wed, 23 Apr 2008 19:18:42 +0000 (22:18 +0300)]
Win32: remove (now dead) old mutex/cv implementation

Should save a bunch of kilobytes of code.

13 years agoWin32: don't use spin locks^W^Wfast mutexes instead of mutexes
Rémi Denis-Courmont [Wed, 23 Apr 2008 18:57:49 +0000 (21:57 +0300)]
Win32: don't use spin locks^W^Wfast mutexes instead of mutexes

13 years agoSimplify threading code a bit
Rémi Denis-Courmont [Wed, 23 Apr 2008 18:53:10 +0000 (21:53 +0300)]
Simplify threading code a bit

13 years agoWin32: don't use weak linking for SignalObjectAndWait
Rémi Denis-Courmont [Wed, 23 Apr 2008 18:33:45 +0000 (21:33 +0300)]
Win32: don't use weak linking for SignalObjectAndWait

13 years agoWin32: fix core target
Rémi Denis-Courmont [Wed, 23 Apr 2008 18:24:31 +0000 (21:24 +0300)]
Win32: fix core target

13 years agoFix win32 warning
Rémi Denis-Courmont [Wed, 23 Apr 2008 18:23:35 +0000 (21:23 +0300)]
Fix win32 warning

13 years agoTrailing whitespace/tabs fixes
Olivier Aubert [Wed, 23 Apr 2008 17:40:11 +0000 (19:40 +0200)]
Trailing whitespace/tabs fixes

13 years agomediacontrol: get_stream_information returns an empty url field if no media is set
Olivier Aubert [Wed, 23 Apr 2008 17:32:23 +0000 (19:32 +0200)]
mediacontrol: get_stream_information returns an empty url field if no media is set

13 years agolibvlc.h: some doxygen fixes
Olivier Aubert [Wed, 23 Apr 2008 13:30:44 +0000 (15:30 +0200)]
libvlc.h: some doxygen fixes

13 years agopython bindings: update to the new libvlc and mediacontrol API.
Olivier Aubert [Wed, 23 Apr 2008 13:25:44 +0000 (15:25 +0200)]
python bindings: update to the new libvlc and mediacontrol API.

Objects have been renamed (vlc.MediaPlayer/vlc.Media) to match the current API.

13 years agopython bindings: rename some files
Olivier Aubert [Wed, 23 Apr 2008 13:01:08 +0000 (15:01 +0200)]
python bindings: rename some files

13 years agomediacontrol API: update to use the new libvlc_media_player/libvlc_media API.
Olivier Aubert [Wed, 23 Apr 2008 12:54:52 +0000 (14:54 +0200)]
mediacontrol API: update to use the new libvlc_media_player/libvlc_media API.

This implies the removal of playlist support (single-file playing only, through set_mrl/get_mrl methods). Position parameters for _pause, _resume and _stop method have also been removed.

13 years agoSome documentation fixes (following the mediainstance->mediaplayer renaming)
Olivier Aubert [Mon, 14 Apr 2008 14:51:57 +0000 (16:51 +0200)]
Some documentation fixes (following the mediainstance->mediaplayer renaming)

13 years agoRemove playlist items from the "items" array when they are deleted
Rafaël Carré [Wed, 23 Apr 2008 08:25:46 +0000 (10:25 +0200)]
Remove playlist items from the "items" array when they are deleted

Note that the only aim of this array seems to be counting the non-node items

13 years agometa-data handling cleanup
Rafaël Carré [Wed, 23 Apr 2008 05:15:36 +0000 (07:15 +0200)]
meta-data handling cleanup

Remove VLC_META_ENGINE_*
Don't use VLC_META_INFO_CAT
Avoid using input_Item{Add,Get}Info
Remove disabled code in cdda
Remove "meta fetcher":
    There was only 1 module (not) implementing it (musicbrainz)
    Reduces complexity in playlist core
Use a more consistent naming
Factorize QT4 sorting and column display code
Remove unused members

13 years agopsz_object_name should not be const! (else module name aliasing cannot work)
Antoine Cellerier [Tue, 22 Apr 2008 21:00:55 +0000 (23:00 +0200)]
psz_object_name should not be const! (else module name aliasing cannot work)

13 years agoRevert "Fix memory leak"
Antoine Cellerier [Tue, 22 Apr 2008 20:49:30 +0000 (22:49 +0200)]
Revert "Fix memory leak"
This breaks module aliasing.

This reverts commit 16afc89353c2f61e3dd671bd842540cdf3627193.

13 years agoAdd picture specific alpha setting for mosaic pictures.
Antoine Cellerier [Tue, 22 Apr 2008 20:20:22 +0000 (22:20 +0200)]
Add picture specific alpha setting for mosaic pictures.
Add coordinates settings for mosaic pictures. (This kind of duplicates the --mosaic-offsets setting which I'm thinking about removing.)

13 years agoplaylist-tree has only 2 meaningful values now
Rafaël Carré [Tue, 22 Apr 2008 17:51:33 +0000 (19:51 +0200)]
playlist-tree has only 2 meaningful values now

13 years agoRemove unused option: b_prefers_tree
Rafaël Carré [Tue, 22 Apr 2008 17:42:44 +0000 (19:42 +0200)]
Remove unused option: b_prefers_tree

13 years agoTypo
Rémi Denis-Courmont [Tue, 22 Apr 2008 16:20:34 +0000 (19:20 +0300)]
Typo

13 years agoRevert play & send durations, read preroll as 64 bits
Rafaël Carré [Tue, 22 Apr 2008 16:09:20 +0000 (18:09 +0200)]
Revert play & send durations, read preroll as 64 bits

The "unknown, always 0" field looks very much like it is the not used 32
msb of preroll
Thanks to Juho Vähä-Herttua

13 years agoAbsence of cvs could result in not explicit warning
Rafaël Carré [Tue, 22 Apr 2008 15:44:23 +0000 (17:44 +0200)]
Absence of cvs could result in not explicit warning

13 years agohttpd: Fix vlc_object_wait() usage. It's needed to check if we were not already kille...
Pierre d'Herbemont [Tue, 22 Apr 2008 15:11:46 +0000 (17:11 +0200)]
httpd: Fix vlc_object_wait() usage. It's needed to check if we were not already killed before calling vlc_object_wait(). Thanks to William King for spotting the deadlock.

13 years agoFix b7d1154663ccc8f245...
Rémi Denis-Courmont [Tue, 22 Apr 2008 14:49:11 +0000 (17:49 +0300)]
Fix b7d1154663ccc8f245...

13 years agoblock: Remove a no-op introduced by me and spotted by funman.
Pierre d'Herbemont [Tue, 22 Apr 2008 14:45:20 +0000 (16:45 +0200)]
block: Remove a no-op introduced by me and spotted by funman.

13 years agoinput: Make sure priv->p_sout won't be reused when freed.
Pierre d'Herbemont [Tue, 22 Apr 2008 14:26:05 +0000 (16:26 +0200)]
input: Make sure priv->p_sout won't be reused when freed.

13 years agoPut extra debugging behind ifdef ZVBI_DEBUG.
Jean-Paul Saman [Tue, 22 Apr 2008 10:16:35 +0000 (12:16 +0200)]
Put extra debugging behind ifdef ZVBI_DEBUG.

13 years agoCleanup
Jean-Paul Saman [Tue, 22 Apr 2008 09:36:25 +0000 (11:36 +0200)]
Cleanup

13 years agoFix error in undef zvbi private define ZVBI_PIXFMT_RGBA32 and fix compiler warnings...
Jean-Paul Saman [Tue, 22 Apr 2008 09:27:37 +0000 (11:27 +0200)]
Fix error in undef zvbi private define ZVBI_PIXFMT_RGBA32 and fix compiler warnings for unused arguments.

13 years agoRework to use asprintf() in live555 demux
Jean-Paul Saman [Thu, 17 Apr 2008 12:52:53 +0000 (14:52 +0200)]
Rework to use asprintf() in live555 demux

13 years agostream_output: Expanded debug message at sout input creation/destruction.
Pierre d'Herbemont [Tue, 22 Apr 2008 13:50:13 +0000 (15:50 +0200)]
stream_output: Expanded debug message at sout input creation/destruction.

13 years agostream_out/description.c: Add some debug msg to better track down an assertion failure.
Pierre d'Herbemont [Tue, 22 Apr 2008 13:40:57 +0000 (15:40 +0200)]
stream_out/description.c: Add some debug msg to better track down an assertion failure.