vlc.git
11 years agoImplement access_GetParentInput and demux_GetParentInput and use.
Pierre d'Herbemont [Fri, 21 Aug 2009 10:27:56 +0000 (12:27 +0200)]
Implement access_GetParentInput and demux_GetParentInput and use.

This try to avoid vlc_object_find() as much as possible.
This is conservative, because where there is no associated parent input, we'll try to find in certain cases the parent input. This will probably be
 removed later on. Because yes, there is not necessarily a parent input for access and demux, especially if created from stream_UrlNew().

11 years agoPhonon: add a way to run 'cmake .'
Jean-Baptiste Kempf [Fri, 21 Aug 2009 09:52:29 +0000 (11:52 +0200)]
Phonon: add a way to run 'cmake .'

11 years agochorus_flanger: Fix a bad cast.
Pierre d'Herbemont [Fri, 21 Aug 2009 08:51:37 +0000 (10:51 +0200)]
chorus_flanger: Fix a bad cast.

11 years agolibvlc: Fix the comment associated to libvlc_event_manager_release().
Pierre d'Herbemont [Fri, 21 Aug 2009 08:46:51 +0000 (10:46 +0200)]
libvlc: Fix the comment associated to libvlc_event_manager_release().

Reported by Andy Chenee.

11 years agochorus_flanger: No need to cast here.
Pierre d'Herbemont [Fri, 21 Aug 2009 08:43:05 +0000 (10:43 +0200)]
chorus_flanger: No need to cast here.

11 years agoRevert "Revert "memcpy: Flag an unused param in memcpyaltivec.""
Rémi Denis-Courmont [Fri, 21 Aug 2009 06:09:11 +0000 (09:09 +0300)]
Revert "Revert "memcpy: Flag an unused param in memcpyaltivec.""

This reverts commit 8c243091fba7a458af7716f1f69b54a083910554.

Not sure how thread-safety works here though.

11 years agoRevert "signals: Return NULL at SigThread end."
Rémi Denis-Courmont [Fri, 21 Aug 2009 05:58:18 +0000 (08:58 +0300)]
Revert "signals: Return NULL at SigThread end."

This reverts commit 3c55f6d8bed88ca5635446cbc8ee1e85547c0ac1.

This is dead code (which does generate a warning!!!)

11 years agoRevert "memcpy: Flag an unused param in memcpyaltivec."
Rémi Denis-Courmont [Fri, 21 Aug 2009 05:57:59 +0000 (08:57 +0300)]
Revert "memcpy: Flag an unused param in memcpyaltivec."

This reverts commit 3d82d569c4030a56bb25baffe8ebd0f303fc31c2.

11 years agoRevert "Win32: fix src/ compilation"
Rémi Denis-Courmont [Fri, 21 Aug 2009 05:57:47 +0000 (08:57 +0300)]
Revert "Win32: fix src/ compilation"

This reverts commit 908d0b9375dae740d9c703c0acb8bf93b7d1231a.

11 years agoopengl: Move includes at the begining.
Pierre d'Herbemont [Fri, 21 Aug 2009 01:08:13 +0000 (03:08 +0200)]
opengl: Move includes at the begining.

11 years agoopengl: Re-order #defines and fix a non defined token warning.
Pierre d'Herbemont [Fri, 21 Aug 2009 01:06:53 +0000 (03:06 +0200)]
opengl: Re-order #defines and fix a non defined token warning.

11 years agodemux playlist: Move the usage of vlc_object_find behind one function.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:58:46 +0000 (02:58 +0200)]
demux playlist: Move the usage of vlc_object_find behind one function.

11 years agoloader: Remove unused variables.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:28:45 +0000 (02:28 +0200)]
loader: Remove unused variables.

11 years agoconfigure: Add -Werror=bad-function-cast for --enable-warnings-as-error.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:18:18 +0000 (02:18 +0200)]
configure: Add -Werror=bad-function-cast for --enable-warnings-as-error.

11 years agovisual: Fix bad function return value cast.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:16:45 +0000 (02:16 +0200)]
visual: Fix bad function return value cast.

11 years agoquartztext: By pass hard ass headers.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:13:27 +0000 (02:13 +0200)]
quartztext: By pass hard ass headers.

11 years agologo: Fix a misuse of a filter_NewBlend, that should make this plugin non working.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:12:16 +0000 (02:12 +0200)]
logo: Fix a misuse of a filter_NewBlend, that should make this plugin non working.

Spotted by a warning.

11 years agomemcpy: Make fast_memcpy static.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:05:40 +0000 (02:05 +0200)]
memcpy: Make fast_memcpy static.

11 years agoauhal: Don't include hard ass headers.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:01:18 +0000 (02:01 +0200)]
auhal: Don't include hard ass headers.

11 years agodrms: Fix a pointer to int comparison.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:00:53 +0000 (02:00 +0200)]
drms: Fix a pointer to int comparison.

11 years agohttp: Don't compare unsigned directly and factorize.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:56:53 +0000 (01:56 +0200)]
http: Don't compare unsigned directly and factorize.

The playlist needs to be fixed here not to use signed for its size, but...

11 years agoscreen: By pass hard ass headers.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:56:11 +0000 (01:56 +0200)]
screen: By pass hard ass headers.

11 years agops: Fix bad function return value cast.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:31:21 +0000 (01:31 +0200)]
ps: Fix bad function return value cast.

11 years agopva: Bad function return value cast.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:30:32 +0000 (01:30 +0200)]
pva: Bad function return value cast.

11 years agonuv: Fix some warnings and fix an issue where some unitialized pointer access could...
Pierre d'Herbemont [Thu, 20 Aug 2009 23:21:17 +0000 (01:21 +0200)]
nuv: Fix some warnings and fix an issue where some unitialized pointer access could lead to a crash.

11 years agonsv: Don't cast function return.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:18:59 +0000 (01:18 +0200)]
nsv: Don't cast function return.

11 years agoavformat: Don't cast function return value.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:11:54 +0000 (01:11 +0200)]
avformat: Don't cast function return value.

11 years agosignals: Return NULL at SigThread end.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:09:52 +0000 (01:09 +0200)]
signals: Return NULL at SigThread end.

11 years agoflac: Fix a bad cast from function call warning.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:04:32 +0000 (01:04 +0200)]
flac: Fix a bad cast from function call warning.

11 years agots: Fix some signess comparison issue.
Pierre d'Herbemont [Thu, 20 Aug 2009 22:46:44 +0000 (00:46 +0200)]
ts: Fix some signess comparison issue.

11 years agoogg: Fix some pointer sign comparison warning.
Pierre d'Herbemont [Thu, 20 Aug 2009 22:44:05 +0000 (00:44 +0200)]
ogg: Fix some pointer sign comparison warning.

11 years agolpcm: Fix a few unsigned comparison warnings.
Pierre d'Herbemont [Thu, 20 Aug 2009 22:39:44 +0000 (00:39 +0200)]
lpcm: Fix a few unsigned comparison warnings.

11 years agoNEWS
Jean-Baptiste Kempf [Thu, 20 Aug 2009 22:13:28 +0000 (00:13 +0200)]
NEWS

11 years agodynamicoverlay: We need a commanddesc_static_t for non strdup()-ed initializer.
Pierre d'Herbemont [Thu, 20 Aug 2009 22:07:11 +0000 (00:07 +0200)]
dynamicoverlay: We need a commanddesc_static_t for non strdup()-ed initializer.

11 years agodynamicoverlay: psz_command shouldn't be const.
Pierre d'Herbemont [Thu, 20 Aug 2009 21:57:46 +0000 (23:57 +0200)]
dynamicoverlay: psz_command shouldn't be const.

11 years agoreal: Fix unsigned issues, and fix an overflow that could happen in release build.
Pierre d'Herbemont [Thu, 20 Aug 2009 21:47:53 +0000 (23:47 +0200)]
real: Fix unsigned issues, and fix an overflow that could happen in release build.

11 years agovout_pictures: Use unsigned for width and height in picture_Export.
Pierre d'Herbemont [Thu, 20 Aug 2009 21:33:36 +0000 (23:33 +0200)]
vout_pictures: Use unsigned for width and height in picture_Export.

11 years agocaca: Fix a warning about unsigned.
Pierre d'Herbemont [Thu, 20 Aug 2009 21:20:13 +0000 (23:20 +0200)]
caca: Fix a warning about unsigned.

11 years agovlc_vout_display: Should use unsigned for height and width.
Pierre d'Herbemont [Thu, 20 Aug 2009 21:14:11 +0000 (23:14 +0200)]
vlc_vout_display: Should use unsigned for height and width.

11 years agoFix directory compilation on Win32
Jean-Baptiste Kempf [Thu, 20 Aug 2009 21:19:41 +0000 (23:19 +0200)]
Fix directory compilation on Win32

11 years agoFix unused warning on drawable.c
Jean-Baptiste Kempf [Thu, 20 Aug 2009 21:19:18 +0000 (23:19 +0200)]
Fix unused warning on drawable.c

11 years agoUNUSED for Wingdi
Jean-Baptiste Kempf [Thu, 20 Aug 2009 21:18:12 +0000 (23:18 +0200)]
UNUSED for Wingdi

11 years agoUNUSED for direct3d
Jean-Baptiste Kempf [Thu, 20 Aug 2009 21:16:52 +0000 (23:16 +0200)]
UNUSED for direct3d

11 years agoUNUSED for directx vout
Jean-Baptiste Kempf [Thu, 20 Aug 2009 21:16:39 +0000 (23:16 +0200)]
UNUSED for directx vout

11 years agomemcpy: Flag an unused param in memcpyaltivec.
Pierre d'Herbemont [Thu, 20 Aug 2009 21:05:06 +0000 (23:05 +0200)]
memcpy: Flag an unused param in memcpyaltivec.

11 years agoconfigure: Add "missing-braces nonnull parentheses uninitialized address enum-compare...
Pierre d'Herbemont [Thu, 20 Aug 2009 20:36:54 +0000 (22:36 +0200)]
configure: Add "missing-braces nonnull parentheses uninitialized address enum-compare undef comment switch" to the list of warnings that should not appear anymore in source code.

11 years agoWin32: fix src/ compilation
Jean-Baptiste Kempf [Thu, 20 Aug 2009 21:00:56 +0000 (23:00 +0200)]
Win32: fix src/ compilation

11 years agovlc_fixups: Dummy definition for LC_NUMERIC_MASK.
Pierre d'Herbemont [Thu, 20 Aug 2009 20:34:47 +0000 (22:34 +0200)]
vlc_fixups: Dummy definition for LC_NUMERIC_MASK.

11 years agovlc_fixups: Continue to poke around to fix win32 build.
Pierre d'Herbemont [Thu, 20 Aug 2009 20:26:11 +0000 (22:26 +0200)]
vlc_fixups: Continue to poke around to fix win32 build.

11 years agovlc_fixups: Use (void) instead of VLC_UNUSED which is not available.
Pierre d'Herbemont [Thu, 20 Aug 2009 20:17:42 +0000 (22:17 +0200)]
vlc_fixups: Use (void) instead of VLC_UNUSED which is not available.

11 years agovlc_fixups: Better dummy implementation for type checking, and unused checks.
Pierre d'Herbemont [Thu, 20 Aug 2009 20:06:25 +0000 (22:06 +0200)]
vlc_fixups: Better dummy implementation for type checking, and unused checks.

11 years agotest: Remove an unused variable in variables.c.
Pierre d'Herbemont [Thu, 20 Aug 2009 20:01:48 +0000 (22:01 +0200)]
test: Remove an unused variable in variables.c.

11 years agokill a warning
Geoffroy Couprie [Thu, 20 Aug 2009 18:19:58 +0000 (20:19 +0200)]
kill a warning

11 years agotest: Remove unused variable.
Pierre d'Herbemont [Thu, 20 Aug 2009 19:54:28 +0000 (21:54 +0200)]
test: Remove unused variable.

11 years agoaa: Mark unused args.
Pierre d'Herbemont [Thu, 20 Aug 2009 19:46:32 +0000 (21:46 +0200)]
aa: Mark unused args.

11 years agoRealAudio: fix compile for Win32
Jean-Baptiste Kempf [Thu, 20 Aug 2009 19:39:46 +0000 (21:39 +0200)]
RealAudio: fix compile for Win32

11 years agoSolved I420_Rgb build
Hugo Beauzee-Luyssen [Thu, 20 Aug 2009 19:23:46 +0000 (21:23 +0200)]
Solved I420_Rgb build

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoQuicktime: fix warning
Jean-Baptiste Kempf [Thu, 20 Aug 2009 19:02:54 +0000 (21:02 +0200)]
Quicktime: fix warning

11 years agoFrimp
Jean-Baptiste Kempf [Thu, 20 Aug 2009 18:40:20 +0000 (20:40 +0200)]
Frimp

11 years agolibmpeg2: Only define GetCC when needed.
Pierre d'Herbemont [Thu, 20 Aug 2009 18:36:59 +0000 (20:36 +0200)]
libmpeg2: Only define GetCC when needed.

11 years agoFix compile if you don't have localtime_r (Win32 for ex)
Jean-Baptiste Kempf [Thu, 20 Aug 2009 18:37:31 +0000 (20:37 +0200)]
Fix compile if you don't have localtime_r (Win32 for ex)

11 years agoFix PortAudio warnings
Jean-Baptiste Kempf [Thu, 20 Aug 2009 15:52:00 +0000 (17:52 +0200)]
Fix PortAudio warnings

11 years agovlc_bits: Differentiate between writable bits stream and read only.
Pierre d'Herbemont [Thu, 20 Aug 2009 18:32:05 +0000 (20:32 +0200)]
vlc_bits: Differentiate between writable bits stream and read only.

This fixes some const qualifier violation in modules.

11 years agosmb: Flag unused params.
Pierre d'Herbemont [Thu, 20 Aug 2009 17:57:33 +0000 (19:57 +0200)]
smb: Flag unused params.

11 years agodvb: Flag unused callback parameter.
Pierre d'Herbemont [Thu, 20 Aug 2009 17:45:39 +0000 (19:45 +0200)]
dvb: Flag unused callback parameter.

11 years agoauhal: Use a litteral for the format.
Pierre d'Herbemont [Thu, 20 Aug 2009 17:27:29 +0000 (19:27 +0200)]
auhal: Use a litteral for the format.

11 years agoFix flawed logic
Rémi Denis-Courmont [Thu, 20 Aug 2009 17:27:35 +0000 (20:27 +0300)]
Fix flawed logic

11 years agodvb: Blindly flag unused args.
Pierre d'Herbemont [Thu, 20 Aug 2009 17:26:36 +0000 (19:26 +0200)]
dvb: Blindly flag unused args.

11 years agolibvlc: Put vlc_usage in the same file than where it is used.
Pierre d'Herbemont [Thu, 20 Aug 2009 17:06:58 +0000 (19:06 +0200)]
libvlc: Put vlc_usage in the same file than where it is used.

11 years agoRevert "configure: Add an other bunch of Werror=."
Pierre d'Herbemont [Thu, 20 Aug 2009 17:05:59 +0000 (19:05 +0200)]
Revert "configure: Add an other bunch of Werror=."

This was a bit too early.

This reverts commit b827afa26d5085d0dc013620cf3ded1d5d6dbafd.

Conflicts:

configure.ac

11 years agovcdx: No need to cast. Kill a warning.
Pierre d'Herbemont [Thu, 20 Aug 2009 17:01:13 +0000 (19:01 +0200)]
vcdx: No need to cast. Kill a warning.

11 years agortsp: Feed a litteral to the format to kill a warning.
Pierre d'Herbemont [Thu, 20 Aug 2009 16:58:22 +0000 (18:58 +0200)]
rtsp: Feed a litteral to the format to kill a warning.

11 years agoRevert "network: Remove an unused label."
Pierre d'Herbemont [Thu, 20 Aug 2009 16:48:45 +0000 (18:48 +0200)]
Revert "network: Remove an unused label."

This reverts commit 663411401 and correctly undefine out: if needed.

11 years agoosd: Fix a unused variable warning.
Pierre d'Herbemont [Thu, 20 Aug 2009 16:33:48 +0000 (18:33 +0200)]
osd: Fix a unused variable warning.

Reported by Hugo Beauzée-Luyssen.

11 years agoconfigure: Add an other bunch of Werror=.
Pierre d'Herbemont [Thu, 20 Aug 2009 16:26:58 +0000 (18:26 +0200)]
configure: Add an other bunch of Werror=.

11 years agomotion: We really want an assignation here. Put parenthesis. (Kill a warning).
Pierre d'Herbemont [Thu, 20 Aug 2009 16:19:09 +0000 (18:19 +0200)]
motion: We really want an assignation here. Put parenthesis. (Kill a warning).

11 years agovcdx: Use %zu in format for size_t. (Kill a warning).
Pierre d'Herbemont [Thu, 20 Aug 2009 16:15:42 +0000 (18:15 +0200)]
vcdx: Use %zu in format for size_t. (Kill a warning).

11 years agocdda: Avoid a macro and kill a warning.
Pierre d'Herbemont [Thu, 20 Aug 2009 16:10:14 +0000 (18:10 +0200)]
cdda: Avoid a macro and kill a warning.

11 years agortsp: Mark some function as static.
Pierre d'Herbemont [Thu, 20 Aug 2009 15:10:20 +0000 (17:10 +0200)]
rtsp: Mark some function as static.

11 years agonetwork: Remove an unused label.
Pierre d'Herbemont [Thu, 20 Aug 2009 15:08:22 +0000 (17:08 +0200)]
network: Remove an unused label.

11 years agoconfigure: don't enable goom on OS X by default
Felix Paul Kühne [Thu, 20 Aug 2009 15:34:38 +0000 (17:34 +0200)]
configure: don't enable goom on OS X by default

11 years agoNEWS: Removal of modules
Jean-Baptiste Kempf [Thu, 20 Aug 2009 15:34:43 +0000 (17:34 +0200)]
NEWS: Removal of modules

11 years agoconfigure: Treat unused param or value as error when building with --enable-debug.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:39:33 +0000 (16:39 +0200)]
configure: Treat unused param or value as error when building with --enable-debug.

Warnings that are 'safe' to be treated as error should be added here as well.

I hope this will raise VLC code quality, and tend to lower the hudge number of warnings. Some of them are sometimes letal but hidden by others.

11 years agoshout: Flag unused param.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:38:06 +0000 (16:38 +0200)]
shout: Flag unused param.

11 years agowall: Remove unused variable and flag unused param.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:36:53 +0000 (16:36 +0200)]
wall: Remove unused variable and flag unused param.

11 years agomosaic: Remove unused function.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:35:41 +0000 (16:35 +0200)]
mosaic: Remove unused function.

11 years agologger: Flag unused param.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:30:23 +0000 (16:30 +0200)]
logger: Flag unused param.

11 years agoquartztext: Silence warning that are not our business in ColorSync headers.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:29:37 +0000 (16:29 +0200)]
quartztext: Silence warning that are not our business in ColorSync headers.

11 years agofreetype: Flag an unused param.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:28:11 +0000 (16:28 +0200)]
freetype: Flag an unused param.

11 years agomemcpy: Flag an unused param.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:26:59 +0000 (16:26 +0200)]
memcpy: Flag an unused param.

11 years agots: Kill some warnings.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:24:27 +0000 (16:24 +0200)]
ts: Kill some warnings.

11 years agorc: Flag unused params.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:18:31 +0000 (16:18 +0200)]
rc: Flag unused params.

11 years agohttp: Flag unused args.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:18:08 +0000 (16:18 +0200)]
http: Flag unused args.

11 years agoscreen: Silence warning that are not our business in ColorSync headers.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:15:55 +0000 (16:15 +0200)]
screen: Silence warning that are not our business in ColorSync headers.

11 years agortsp: Remove unused variable.
Pierre d'Herbemont [Thu, 20 Aug 2009 13:57:36 +0000 (15:57 +0200)]
rtsp: Remove unused variable.

11 years agortsp: Flag unused parameters.
Pierre d'Herbemont [Thu, 20 Aug 2009 13:56:25 +0000 (15:56 +0200)]
rtsp: Flag unused parameters.

11 years agovideo_output: Flag unused parameter.
Pierre d'Herbemont [Thu, 20 Aug 2009 13:54:41 +0000 (15:54 +0200)]
video_output: Flag unused parameter.

11 years agoconfig: Flag unused params.
Pierre d'Herbemont [Thu, 20 Aug 2009 13:21:36 +0000 (15:21 +0200)]
config: Flag unused params.

11 years agomodules: Fix an unused arg if NLS is not enabled.
Pierre d'Herbemont [Thu, 20 Aug 2009 13:20:22 +0000 (15:20 +0200)]
modules: Fix an unused arg if NLS is not enabled.

11 years agonetwork: Remove an unused variable in udp.
Pierre d'Herbemont [Thu, 20 Aug 2009 13:08:10 +0000 (15:08 +0200)]
network: Remove an unused variable in udp.