vlc.git
11 years agoUse vlc_object_set_name in some places
Rémi Denis-Courmont [Sun, 23 Aug 2009 19:23:44 +0000 (22:23 +0300)]
Use vlc_object_set_name in some places

11 years agovlc_object_get_name, vlc_object_set_name: accessors
Rémi Denis-Courmont [Sun, 23 Aug 2009 19:26:56 +0000 (22:26 +0300)]
vlc_object_get_name, vlc_object_set_name: accessors

11 years agoNever rename an object post attach & un-deprecated find_name
Rémi Denis-Courmont [Sun, 23 Aug 2009 19:25:28 +0000 (22:25 +0300)]
Never rename an object post attach & un-deprecated find_name

11 years agoCosmetic
Rémi Denis-Courmont [Sun, 23 Aug 2009 19:26:36 +0000 (22:26 +0300)]
Cosmetic

11 years agoAvoid hackish use of psz_object_name
Rémi Denis-Courmont [Sun, 23 Aug 2009 18:59:24 +0000 (21:59 +0300)]
Avoid hackish use of psz_object_name

11 years agoTrivial code factorization
Rémi Denis-Courmont [Sun, 23 Aug 2009 18:56:06 +0000 (21:56 +0300)]
Trivial code factorization

11 years agoDon't recreate the same table over and over and over
Rémi Denis-Courmont [Sun, 23 Aug 2009 18:53:32 +0000 (21:53 +0300)]
Don't recreate the same table over and over and over

11 years agofilter: avoid vlc_object_t.psz_object_name
Rémi Denis-Courmont [Sun, 23 Aug 2009 18:21:52 +0000 (21:21 +0300)]
filter: avoid vlc_object_t.psz_object_name

11 years agoRevert "configure: An other test that warns."
Rémi Denis-Courmont [Sun, 23 Aug 2009 17:47:18 +0000 (20:47 +0300)]
Revert "configure: An other test that warns."

This reverts commit e70077bff48d1edc1c6376f60d4dbeced2e18a11.
This was completely broken (NULL not defined).

11 years agoFix lrintf check
Rémi Denis-Courmont [Sun, 23 Aug 2009 17:43:17 +0000 (20:43 +0300)]
Fix lrintf check

11 years agosqrtf is in libm, not (non-existent) libmx
Rémi Denis-Courmont [Sun, 23 Aug 2009 17:38:03 +0000 (20:38 +0300)]
sqrtf is in libm, not (non-existent) libmx

11 years agoRevert "vlc_bits: Differentiate between writable bits stream and read only."
Rémi Denis-Courmont [Sun, 23 Aug 2009 17:22:20 +0000 (20:22 +0300)]
Revert "vlc_bits: Differentiate between writable bits stream and read only."

This reverts commit 4bfba26a6188ea4aeed87c463ae10860ef921616.
This broke strict C aliasing rules.

11 years agoRemove vlc_object_t.p_private
Rémi Denis-Courmont [Sun, 23 Aug 2009 16:25:28 +0000 (19:25 +0300)]
Remove vlc_object_t.p_private

11 years agoUse VLC object for meta writer and factor code
Rémi Denis-Courmont [Sun, 23 Aug 2009 17:15:39 +0000 (20:15 +0300)]
Use VLC object for meta writer and factor code

11 years agoUse a VLC object for meta reader
Rémi Denis-Courmont [Sun, 23 Aug 2009 16:20:44 +0000 (19:20 +0300)]
Use a VLC object for meta reader

11 years agoMake playlist_export_t a VLC object
Rémi Denis-Courmont [Sun, 23 Aug 2009 15:54:47 +0000 (18:54 +0300)]
Make playlist_export_t a VLC object

11 years agoSimplification
Rémi Denis-Courmont [Sun, 23 Aug 2009 15:17:05 +0000 (18:17 +0300)]
Simplification

11 years agoSimplification
Rémi Denis-Courmont [Sun, 23 Aug 2009 15:16:19 +0000 (18:16 +0300)]
Simplification

11 years agoqt4: fix typo + cosmetics
Jakob Leben [Sun, 23 Aug 2009 14:43:19 +0000 (16:43 +0200)]
qt4: fix typo + cosmetics

11 years agoqt4: fix playlist column show/hide
Jakob Leben [Sun, 23 Aug 2009 14:12:09 +0000 (16:12 +0200)]
qt4: fix playlist column show/hide

11 years agoWinGDI: kill warning
Jean-Baptiste Kempf [Sun, 23 Aug 2009 12:14:33 +0000 (14:14 +0200)]
WinGDI: kill warning

11 years agoMSW: signedness corrections
Jean-Baptiste Kempf [Sun, 23 Aug 2009 12:03:45 +0000 (14:03 +0200)]
MSW: signedness corrections

11 years agoWin32: kill warning about undefined preproc variable
Jean-Baptiste Kempf [Sun, 23 Aug 2009 11:17:03 +0000 (13:17 +0200)]
Win32: kill warning about undefined preproc variable

11 years agoVisual: reindent (2)
Jean-Baptiste Kempf [Sun, 23 Aug 2009 11:07:17 +0000 (13:07 +0200)]
Visual: reindent (2)

11 years agoVisual: kill signedness warnings
Jean-Baptiste Kempf [Sun, 23 Aug 2009 11:05:47 +0000 (13:05 +0200)]
Visual: kill signedness warnings

11 years agoVisual: reindent
Jean-Baptiste Kempf [Sun, 23 Aug 2009 11:00:19 +0000 (13:00 +0200)]
Visual: reindent

11 years agoFix signed warning for postproc
Jean-Baptiste Kempf [Sun, 23 Aug 2009 10:55:26 +0000 (12:55 +0200)]
Fix signed warning for postproc

11 years agoMSW: kill "cast from function... to non matching type" warning
Jean-Baptiste Kempf [Sun, 23 Aug 2009 10:54:42 +0000 (12:54 +0200)]
MSW: kill "cast from function... to non matching type" warning

11 years agoComment out dead code
Jean-Baptiste Kempf [Sun, 23 Aug 2009 10:53:17 +0000 (12:53 +0200)]
Comment out dead code

11 years agomsw vouts: Fix signed vs unsigned type and format strings
Jean-Baptiste Kempf [Sun, 23 Aug 2009 10:51:06 +0000 (12:51 +0200)]
msw vouts: Fix signed vs unsigned type and format strings

11 years agoFix flac compilation for both win32 and win64
Jean-Baptiste Kempf [Sun, 23 Aug 2009 10:35:37 +0000 (12:35 +0200)]
Fix flac compilation for both win32 and win64

11 years agoContribs: minor update to 1.2.39
Jean-Baptiste Kempf [Sun, 23 Aug 2009 10:22:55 +0000 (12:22 +0200)]
Contribs: minor update to 1.2.39

No major changes, but I prefer to stay close to upstream, for obvious reasons.

11 years agoContribs: Tiff 3.9.0 is released
Jean-Baptiste Kempf [Sun, 23 Aug 2009 10:20:09 +0000 (12:20 +0200)]
Contribs: Tiff 3.9.0 is released

11 years agoid3tag: code cosmetic and warning killing
Jean-Baptiste Kempf [Sun, 23 Aug 2009 10:11:06 +0000 (12:11 +0200)]
id3tag: code cosmetic and warning killing

11 years agoRC: kill warnings
Jean-Baptiste Kempf [Sun, 23 Aug 2009 10:10:40 +0000 (12:10 +0200)]
RC: kill warnings

11 years agoLibiconv for Win64
Jean-Baptiste Kempf [Sun, 23 Aug 2009 10:09:47 +0000 (12:09 +0200)]
Libiconv for Win64

Patch by NightStrike

11 years agofetcher does not need to be an object
Rémi Denis-Courmont [Sun, 23 Aug 2009 10:07:30 +0000 (13:07 +0300)]
fetcher does not need to be an object

11 years agoart_finder_t: custom type for art finder modules
Rémi Denis-Courmont [Sun, 23 Aug 2009 10:07:03 +0000 (13:07 +0300)]
art_finder_t: custom type for art finder modules

11 years agoCosmetic
Rémi Denis-Courmont [Sat, 22 Aug 2009 18:38:53 +0000 (21:38 +0300)]
Cosmetic

11 years agoPortaudio: consistency with other aouts (and kill a warning)
Jean-Baptiste Kempf [Sat, 22 Aug 2009 09:14:58 +0000 (11:14 +0200)]
Portaudio: consistency with other aouts (and kill a warning)

11 years agoWinVLC: kill "was used with no prototype before its definition"
Jean-Baptiste Kempf [Sat, 22 Aug 2009 09:08:45 +0000 (11:08 +0200)]
WinVLC: kill "was used with no prototype before its definition"

11 years agoQuicktime: kill warnings for Win32
Jean-Baptiste Kempf [Sat, 22 Aug 2009 09:02:22 +0000 (11:02 +0200)]
Quicktime: kill warnings for Win32

11 years agoUnused #include
Rémi Denis-Courmont [Fri, 21 Aug 2009 19:35:56 +0000 (22:35 +0300)]
Unused #include

11 years agoCPU: get rid of signal(SIGILL) - not thread-safe (in LibVLC)
Rémi Denis-Courmont [Fri, 21 Aug 2009 19:26:51 +0000 (22:26 +0300)]
CPU: get rid of signal(SIGILL) - not thread-safe (in LibVLC)

This also gets rid of one user of setjmp(), but it is still found in
the (stupid?) PNG codec and OS X interfaces.

11 years agoCPU: fprintf is not safe inside a signal handler...
Rémi Denis-Courmont [Fri, 21 Aug 2009 18:58:28 +0000 (21:58 +0300)]
CPU: fprintf is not safe inside a signal handler...

...and VLC does not quite work on Linux 2.2 anymore.

11 years agoqt4: remove p_playlist intf-change callback
Ilkka Ollakka [Fri, 21 Aug 2009 16:36:16 +0000 (19:36 +0300)]
qt4: remove p_playlist intf-change callback

As it doesn't seem to be called after creating playlist in core on startup
and playlist-model calls rebuild on creation anyway.

Also remove item-current from playlist-model which ain't used.

11 years agoId3tag: constify when possible.
Jean-Baptiste Kempf [Fri, 21 Aug 2009 16:43:58 +0000 (18:43 +0200)]
Id3tag: constify when possible.

11 years agoWe have a replacement for localtime_r
Rémi Denis-Courmont [Fri, 21 Aug 2009 16:34:21 +0000 (19:34 +0300)]
We have a replacement for localtime_r

11 years agoqt4: cosmetics and consistence
Jakob Leben [Thu, 20 Aug 2009 15:00:10 +0000 (17:00 +0200)]
qt4: cosmetics and consistence

for future generations

11 years agoid3tag: kill a warning about casting
Jean-Baptiste Kempf [Fri, 21 Aug 2009 15:50:50 +0000 (17:50 +0200)]
id3tag: kill a warning about casting

11 years agoconfigure: Per module Werror flags.
Pierre d'Herbemont [Fri, 21 Aug 2009 15:25:48 +0000 (17:25 +0200)]
configure: Per module Werror flags.

This allow a little bit more flexibility and won't require the same level of code quality in configure tests (is that a plus?).

11 years agow32thread: Don't warn twice about destr being unused. That's enough spam.
Pierre d'Herbemont [Fri, 21 Aug 2009 14:33:06 +0000 (16:33 +0200)]
w32thread: Don't warn twice about destr being unused. That's enough spam.

11 years agowin32: Flag some unused arg warnings.
Pierre d'Herbemont [Fri, 21 Aug 2009 14:32:43 +0000 (16:32 +0200)]
win32: Flag some unused arg warnings.

11 years agoconfigure: An other test that warns.
Pierre d'Herbemont [Fri, 21 Aug 2009 14:27:25 +0000 (16:27 +0200)]
configure: An other test that warns.

11 years agocdda: Don't include vlc_playlist.h.
Pierre d'Herbemont [Fri, 21 Aug 2009 10:55:59 +0000 (12:55 +0200)]
cdda: Don't include vlc_playlist.h.

11 years agomodules: Use access_GetParentInput and demux_GetParentInput.
Pierre d'Herbemont [Fri, 21 Aug 2009 10:28:16 +0000 (12:28 +0200)]
modules: Use access_GetParentInput and demux_GetParentInput.

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