vlc.git
12 years agoPDA intf: clean up
Rafaël Carré [Fri, 23 May 2008 15:15:45 +0000 (17:15 +0200)]
PDA intf: clean up

Fix some warnings
Get the pixmaps from the right directory

12 years agoqtcapture: Don't use the pts provided by qtkit. I don't get how it works for now.
Pierre d'Herbemont [Mon, 26 May 2008 01:10:59 +0000 (03:10 +0200)]
qtcapture: Don't use the pts provided by qtkit. I don't get how it works for now.

12 years agoqtcapture: Fix a warning.
Pierre d'Herbemont [Mon, 26 May 2008 00:57:26 +0000 (02:57 +0200)]
qtcapture: Fix a warning.

12 years agoqtcapture: Tab fixes, plus attempt to get the real PTS. We still really do lag compar...
Pierre d'Herbemont [Mon, 26 May 2008 00:55:39 +0000 (02:55 +0200)]
qtcapture: Tab fixes, plus attempt to get the real PTS. We still really do lag compared to PhotoBooth...

12 years agoqtcapture: statification and comment.
Pierre d'Herbemont [Mon, 26 May 2008 00:34:01 +0000 (02:34 +0200)]
qtcapture: statification and comment.

12 years agoqtcapture: msg_Err->msg_Dbg
Pierre d'Herbemont [Mon, 26 May 2008 00:31:40 +0000 (02:31 +0200)]
qtcapture: msg_Err->msg_Dbg

12 years agoqtcapture: New access_demux module (QTKit based) to capture video from your iSight...
Pierre d'Herbemont [Mon, 26 May 2008 00:22:38 +0000 (02:22 +0200)]
qtcapture: New access_demux module (QTKit based) to capture video from your iSight Camera on Mac OS X.

Usage: 'vlc qtcapture://'.

This is a 2 hours hacked module. We don't grab sound yet, and there are a lot of FIXME.

Note: For some reason QTKit needs a the main thread to be a cocoa thread. Don't expect it to run with -I dummy for instance.

12 years agoTake program prefix and suffix into account in the make-alias script.
Antoine Cellerier [Sun, 25 May 2008 22:11:33 +0000 (00:11 +0200)]
Take program prefix and suffix into account in the make-alias script.

12 years agoGNUTls fixed the vasprintf bug. No need to delete the files.
Jean-Baptiste Kempf [Sun, 25 May 2008 20:48:39 +0000 (13:48 -0700)]
GNUTls fixed the vasprintf bug. No need to delete the files.

12 years agoAdded ChangeLog info
Felix Paul Kühne [Sun, 25 May 2008 18:22:04 +0000 (20:22 +0200)]
Added ChangeLog info

12 years agoAdd UYVY to the list of chromas tried by default in the v4l2 module
Antoine Cellerier [Sun, 25 May 2008 13:22:14 +0000 (15:22 +0200)]
Add UYVY to the list of chromas tried by default in the v4l2 module
(that's one of the isight's chromas)

12 years agoaccess_out_file: fix append mode, relax stdout support, simplify
Rémi Denis-Courmont [Sun, 25 May 2008 15:06:00 +0000 (18:06 +0300)]
access_out_file: fix append mode, relax stdout support, simplify

O_APPEND puts the file pointer to the end after _each_ write.
We want to put it at the end (only) after open.
Also allow reading/seeking stdout, as it could be a redirected file
(of course, it won't work if it's a terminal)

12 years agoOption to link ffmpeg plugin with libdca when using a static ffmpeg
Rafaël Carré [Sun, 25 May 2008 14:02:10 +0000 (16:02 +0200)]
Option to link ffmpeg plugin with libdca when using a static ffmpeg

12 years agoFix va_start invocation
Rémi Denis-Courmont [Sun, 25 May 2008 13:45:50 +0000 (16:45 +0300)]
Fix va_start invocation

12 years agoWe don't use paranoia_mode_t if libcdio <= 0.72
Rafaël Carré [Sun, 25 May 2008 12:46:55 +0000 (14:46 +0200)]
We don't use paranoia_mode_t if libcdio <= 0.72

12 years agoPARANOIA_MODE_* were introduced in libcdio 0.72
Rafaël Carré [Sun, 25 May 2008 12:30:14 +0000 (14:30 +0200)]
PARANOIA_MODE_* were introduced in libcdio 0.72

12 years agoRemove audio output recycling support. It kept crashing.
Rémi Denis-Courmont [Sun, 25 May 2008 10:19:03 +0000 (13:19 +0300)]
Remove audio output recycling support. It kept crashing.

12 years agoVLC_EXPORT is meant for libvlccore, not libvlc-control
Rémi Denis-Courmont [Sat, 24 May 2008 17:22:50 +0000 (20:22 +0300)]
VLC_EXPORT is meant for libvlccore, not libvlc-control

12 years agoMore symbols fixes
Rémi Denis-Courmont [Sat, 24 May 2008 17:10:26 +0000 (20:10 +0300)]
More symbols fixes

Still not working though

12 years agoRemove non-sensical connect->listen transition
Rémi Denis-Courmont [Sat, 24 May 2008 17:00:02 +0000 (20:00 +0300)]
Remove non-sensical connect->listen transition

Thank you big time for committing stuff against people's review.

12 years agoDon't parse no options
Rémi Denis-Courmont [Sat, 24 May 2008 16:58:47 +0000 (19:58 +0300)]
Don't parse no options

12 years agoInline and fix some linking errors
Rémi Denis-Courmont [Sat, 24 May 2008 16:57:58 +0000 (19:57 +0300)]
Inline and fix some linking errors

Should fix strlcpy() issues on Linux, but Win32 is surely still totally
broken by d754b40584b5fd5ffd5f39a2288a14f9f4662f78

12 years agoFix rtmp access_output building
Rafaël Carré [Sat, 24 May 2008 16:51:10 +0000 (18:51 +0200)]
Fix rtmp access_output building

Mark description & shortnames as translatable with N_
(Thanks for testing the build before committing, I think the source code
had the same review)

12 years agoC++ needs explicit casting
Rafaël Carré [Sat, 24 May 2008 16:30:36 +0000 (18:30 +0200)]
C++ needs explicit casting

12 years agoRTMP access output module
Miguel Angel Cabrera Moya [Mon, 5 May 2008 21:31:17 +0000 (23:31 +0200)]
RTMP access output module

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoThanks for MMS/TCP patch.
Jean-Baptiste Kempf [Sat, 24 May 2008 16:06:52 +0000 (09:06 -0700)]
Thanks for MMS/TCP patch.

12 years agoAdded another couple of missing symbols.
Felix Paul Kühne [Sat, 24 May 2008 14:45:18 +0000 (16:45 +0200)]
Added another couple of missing symbols.

Please review whether this patch is correct as it adds internal functions using VLC_EXPORT.

12 years agoUpdated the symbols
Felix Paul Kühne [Sat, 24 May 2008 14:28:25 +0000 (16:28 +0200)]
Updated the symbols

12 years agoAdd GNU Make 3.81 for Darwin 8
Felix Paul Kühne [Sat, 24 May 2008 13:55:24 +0000 (15:55 +0200)]
Add GNU Make 3.81 for Darwin 8

12 years agoDisable the default compilation of cmake as its support is to-be-removed.
Felix Paul Kühne [Sat, 24 May 2008 13:42:10 +0000 (15:42 +0200)]
Disable the default compilation of cmake as its support is to-be-removed.

12 years agoFix win32 linking
Rémi Denis-Courmont [Sat, 24 May 2008 09:56:52 +0000 (12:56 +0300)]
Fix win32 linking

12 years agovlc_scandir: remove (dead) code
Rémi Denis-Courmont [Sat, 24 May 2008 09:45:46 +0000 (12:45 +0300)]
vlc_scandir: remove (dead) code

12 years agoSimplify, fix and inline strcasecmp and strncasecmp
Rémi Denis-Courmont [Sat, 24 May 2008 09:40:57 +0000 (12:40 +0300)]
Simplify, fix and inline strcasecmp and strncasecmp

12 years agoVLC update: provide stubs
Rémi Denis-Courmont [Sat, 24 May 2008 09:24:26 +0000 (12:24 +0300)]
VLC update: provide stubs

12 years agoInline strnlen() and use it
Rémi Denis-Courmont [Sat, 24 May 2008 09:15:26 +0000 (12:15 +0300)]
Inline strnlen() and use it

12 years agoTry to fix make check
Rémi Denis-Courmont [Sat, 24 May 2008 09:12:15 +0000 (12:12 +0300)]
Try to fix make check

12 years agoProvide default for vlc_pthread_fatal
Rémi Denis-Courmont [Sat, 24 May 2008 09:09:00 +0000 (12:09 +0300)]
Provide default for vlc_pthread_fatal

12 years agoInline atoll and atof
Rémi Denis-Courmont [Sat, 24 May 2008 09:06:24 +0000 (12:06 +0300)]
Inline atoll and atof

12 years agoInline strdup, strndup, lldiv and getenv
Rémi Denis-Courmont [Sat, 24 May 2008 08:55:05 +0000 (11:55 +0300)]
Inline strdup, strndup, lldiv and getenv

Also fix an overflow in strndup().

12 years agoprovide default block_mmap_Alloc
Rémi Denis-Courmont [Sat, 24 May 2008 08:41:49 +0000 (11:41 +0300)]
provide default block_mmap_Alloc

12 years agoFix header problem
Rémi Denis-Courmont [Sat, 24 May 2008 08:35:51 +0000 (11:35 +0300)]
Fix header problem

12 years agovlc_wclosedir is still needed on Windows
Rémi Denis-Courmont [Sat, 24 May 2008 08:33:03 +0000 (11:33 +0300)]
vlc_wclosedir is still needed on Windows

12 years agoRemove VLC_INTERNAL
Rémi Denis-Courmont [Sat, 24 May 2008 08:19:42 +0000 (11:19 +0300)]
Remove VLC_INTERNAL

I should not have put internal stuff into the header files anyway

12 years agoWin32 vlc_w.*dir: declare internally
Rémi Denis-Courmont [Sat, 24 May 2008 08:18:51 +0000 (11:18 +0300)]
Win32 vlc_w.*dir: declare internally

12 years agovlc_.*dir: declare internally, as it's only used with libvlc
Rémi Denis-Courmont [Sat, 24 May 2008 08:04:59 +0000 (11:04 +0300)]
vlc_.*dir: declare internally, as it's only used with libvlc

12 years agovlc_current_charset: declare internally
Rémi Denis-Courmont [Sat, 24 May 2008 07:56:20 +0000 (10:56 +0300)]
vlc_current_charset: declare internally

12 years agovlc_fix_readdir: declare internally
Rémi Denis-Courmont [Sat, 24 May 2008 07:55:10 +0000 (10:55 +0300)]
vlc_fix_readdir: declare internally

12 years agoseekdir, telldir: unused, remove
Rémi Denis-Courmont [Sat, 24 May 2008 07:52:00 +0000 (10:52 +0300)]
seekdir, telldir: unused, remove

12 years agoRemove VLC_PRIVATE_API
Rémi Denis-Courmont [Sat, 24 May 2008 07:47:32 +0000 (10:47 +0300)]
Remove VLC_PRIVATE_API

12 years ago-export-dynamic is no sense for libs, use -export-symbol (or nothing)
Rémi Denis-Courmont [Sat, 24 May 2008 07:39:07 +0000 (10:39 +0300)]
-export-dynamic is no sense for libs, use -export-symbol (or nothing)

12 years agotranscode: If no module is explicitely selected, print that we are potentially using...
Pierre d'Herbemont [Sat, 24 May 2008 00:41:03 +0000 (02:41 +0200)]
transcode: If no module is explicitely selected, print that we are potentially using any module.

12 years agotranscode: When failing also print the fourcc we were looking for instead of just...
Pierre d'Herbemont [Sat, 24 May 2008 00:36:14 +0000 (02:36 +0200)]
transcode: When failing also print the fourcc we were looking for instead of just "(null)" if no explicit module was selected.

12 years agotranscode: Put more details in error messages.
Pierre d'Herbemont [Sat, 24 May 2008 00:23:51 +0000 (02:23 +0200)]
transcode: Put more details in error messages.

12 years agoRevert "stats: Don't crash if there is no timer to dump."
Pierre d'Herbemont [Fri, 23 May 2008 22:57:17 +0000 (00:57 +0200)]
Revert "stats: Don't crash if there is no timer to dump."

This reverts commit 8fe54e490872687b20e52581d84a94ffa7f443b0.

No need for that one, now that Rafael handles it in DumpTimer directly.

12 years agotranscode: One more occurence of pf_encode_video() that needs a timer.
Pierre d'Herbemont [Fri, 23 May 2008 22:54:11 +0000 (00:54 +0200)]
transcode: One more occurence of pf_encode_video() that needs a timer.

12 years agoThanks.
Jean-Baptiste Kempf [Fri, 23 May 2008 22:42:09 +0000 (15:42 -0700)]
Thanks.

12 years agoCosmetic et metadata fixes.
Jean-Baptiste Kempf [Fri, 23 May 2008 22:36:10 +0000 (15:36 -0700)]
Cosmetic et metadata fixes.

12 years agoreal file index and seek
Wang Bo [Fri, 23 May 2008 12:38:26 +0000 (20:38 +0800)]
real file index and seek

Signed-off-by: Jean-Baptiste Kempf <jb@ambre.(none)>
12 years agoconfig: Clean up for the -psn cmd line argument case on Mac OS X.
Pierre d'Herbemont [Fri, 23 May 2008 22:16:06 +0000 (00:16 +0200)]
config: Clean up for the -psn cmd line argument case on Mac OS X.

12 years agotranscode: Measure the time taken to encode one audio or video frame.
Pierre d'Herbemont [Fri, 23 May 2008 20:47:44 +0000 (22:47 +0200)]
transcode: Measure the time taken to encode one audio or video frame.

12 years agostats: Don't crash if there is no timer to dump.
Pierre d'Herbemont [Fri, 23 May 2008 20:46:03 +0000 (22:46 +0200)]
stats: Don't crash if there is no timer to dump.

12 years agoVLC: remove win32 stuff
Rémi Denis-Courmont [Fri, 23 May 2008 15:43:57 +0000 (18:43 +0300)]
VLC: remove win32 stuff

12 years agoSeparate and refactor the win32 main code
Rémi Denis-Courmont [Fri, 23 May 2008 15:42:11 +0000 (18:42 +0300)]
Separate and refactor the win32 main code

It has almost nothing in common with the Unix main code anyway.

12 years agoCode factorization
Rémi Denis-Courmont [Fri, 23 May 2008 15:26:16 +0000 (18:26 +0300)]
Code factorization

12 years agoBe lazy : let modules do what they want with stats - without crashing
Rafaël Carré [Fri, 23 May 2008 15:06:51 +0000 (17:06 +0200)]
Be lazy : let modules do what they want with stats - without crashing

12 years agomms/tcp: send requested media file path to the server without leading / character
bl4 [Fri, 23 May 2008 13:50:27 +0000 (15:50 +0200)]
mms/tcp: send requested media file path to the server without leading / character

Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
12 years agoDon't do pts changes to telx blocks if we're not runing real time.
Antoine Cellerier [Fri, 23 May 2008 14:40:19 +0000 (16:40 +0200)]
Don't do pts changes to telx blocks if we're not runing real time.

12 years agoHelp to fight NULL pointer dereference in stats
Rafaël Carré [Fri, 23 May 2008 13:52:20 +0000 (15:52 +0200)]
Help to fight NULL pointer dereference in stats

12 years agoAdd gtk2 cflags/libs to gtk2_main
Rafaël Carré [Fri, 23 May 2008 13:51:08 +0000 (15:51 +0200)]
Add gtk2 cflags/libs to gtk2_main

12 years agoFix linking when compiling with enabled update checker
Felix Paul Kühne [Fri, 23 May 2008 13:27:37 +0000 (15:27 +0200)]
Fix linking when compiling with enabled update checker

12 years agoWe need xlocale.h here too
Felix Paul Kühne [Fri, 23 May 2008 12:54:30 +0000 (14:54 +0200)]
We need xlocale.h here too

12 years agoInclude xlocale.h on OS X for locale_t
Felix Paul Kühne [Fri, 23 May 2008 12:48:04 +0000 (14:48 +0200)]
Include xlocale.h on OS X for locale_t

12 years agoKeep a good rendering quality when rendering zvbi subs as text.
Antoine Cellerier [Fri, 23 May 2008 12:12:26 +0000 (14:12 +0200)]
Keep a good rendering quality when rendering zvbi subs as text.

12 years agoFix the display date in zvbi.
Antoine Cellerier [Fri, 23 May 2008 08:18:34 +0000 (10:18 +0200)]
Fix the display date in zvbi.

12 years agoOnly keep the full pes packet if using the zvbi teletext decoder. (zvbi should be...
Antoine Cellerier [Fri, 23 May 2008 07:50:23 +0000 (09:50 +0200)]
Only keep the full pes packet if using the zvbi teletext decoder. (zvbi should be fixed to be able to use the vbi data directly without all the pes stuff)

12 years agoFix wx build
Alexis Ballier [Thu, 22 May 2008 21:26:46 +0000 (23:26 +0200)]
Fix wx build

The ugly casting is correct wrt the vlc_object_t inheritance
Signed-off-by: Rafaël Carré <funman@videolan.org>
12 years agoCheck malloc return value when needed and don't print an error when such error happend.
Rémi Duraffort [Thu, 22 May 2008 19:58:28 +0000 (21:58 +0200)]
Check malloc return value when needed and don't print an error when such error happend.
Fix a potential segfault.

12 years agoUse netinet macros instead of pointer access
Rémi Denis-Courmont [Thu, 22 May 2008 20:46:34 +0000 (23:46 +0300)]
Use netinet macros instead of pointer access

12 years agoFix vlc_threadvar_delete
Rémi Denis-Courmont [Thu, 22 May 2008 20:03:16 +0000 (23:03 +0300)]
Fix vlc_threadvar_delete

12 years agoRemove (hopefully) unused #include
Rémi Denis-Courmont [Thu, 22 May 2008 20:03:00 +0000 (23:03 +0300)]
Remove (hopefully) unused #include

We don't want config.h stuff in vlc_common.h

12 years agoRemove THREAD_COND_TIMEOUT
Rémi Denis-Courmont [Thu, 22 May 2008 19:59:49 +0000 (22:59 +0300)]
Remove THREAD_COND_TIMEOUT

12 years agoProvide vlc_gettext on all platforms
Rémi Denis-Courmont [Thu, 22 May 2008 19:46:11 +0000 (22:46 +0300)]
Provide vlc_gettext on all platforms

This avoids having to link a few plugins with libintl on platforms where
it's not built-in libc. This also factors the internal use of
dgettext("vlc", ...).

12 years agoMove _ and N_ to the right header
Rémi Denis-Courmont [Thu, 22 May 2008 19:32:30 +0000 (22:32 +0300)]
Move _ and N_ to the right header

12 years agoRemove libvlc->psz_homedir and use config_GetHomeDir() instead
Rémi Denis-Courmont [Thu, 22 May 2008 18:28:54 +0000 (21:28 +0300)]
Remove libvlc->psz_homedir and use config_GetHomeDir() instead

12 years agoMake config_GetHomeDir return a const string too
Rémi Denis-Courmont [Thu, 22 May 2008 17:32:25 +0000 (20:32 +0300)]
Make config_GetHomeDir return a const string too

12 years agoStore the home directory statically, as it cannot change
Rémi Denis-Courmont [Thu, 22 May 2008 17:18:12 +0000 (20:18 +0300)]
Store the home directory statically, as it cannot change

12 years agoWorkaround f*cked up iTunes
Rafaël Carré [Thu, 22 May 2008 18:24:36 +0000 (20:24 +0200)]
Workaround f*cked up iTunes

12 years agoIf uselocale() is absent, assume libc does no localization
Rémi Denis-Courmont [Thu, 22 May 2008 16:42:46 +0000 (19:42 +0300)]
If uselocale() is absent, assume libc does no localization

Otherwise, the user is screwed anyway

12 years agoPut the _same_ _platform-independent_ stuff in the same place
Rémi Denis-Courmont [Thu, 22 May 2008 16:39:53 +0000 (19:39 +0300)]
Put the _same_ _platform-independent_ stuff in the same place

12 years agoUse the same directory layout on all platforms.
Rémi Denis-Courmont [Thu, 22 May 2008 16:32:05 +0000 (19:32 +0300)]
Use the same directory layout on all platforms.

It was an artificially-created mess. Besides, many other Windows
applications also have a data, datadir or share directory.

12 years agoNo need for huge automake if's
Rémi Denis-Courmont [Thu, 22 May 2008 16:10:10 +0000 (19:10 +0300)]
No need for huge automake if's

12 years agoSplit directory handling and core configuration
Rémi Denis-Courmont [Thu, 22 May 2008 16:04:15 +0000 (19:04 +0300)]
Split directory handling and core configuration

12 years agoCosmetic
Rémi Denis-Courmont [Thu, 22 May 2008 15:52:50 +0000 (18:52 +0300)]
Cosmetic

12 years agoGnuTLS and libgcrypt bump from 2.2.2 to 2.2.5 and 1.4.0 to 1.4.1
Jean-Baptiste Kempf [Thu, 22 May 2008 06:50:00 +0000 (08:50 +0200)]
GnuTLS and libgcrypt bump from 2.2.2 to 2.2.5 and 1.4.0 to 1.4.1

12 years agoUpdate NEWS and interface string about the latest parsing for the subtitles.
Jean-Baptiste Kempf [Wed, 21 May 2008 21:18:17 +0000 (14:18 -0700)]
Update NEWS and interface string about the latest parsing for the subtitles.
Some comments about the naming of the subtitles (mplayer doesn't name as gnome-subtitles does, and none of them respect the main conventions)
Most of the subtitles format are now parsed. However, some styles are still discarded.

12 years agous_strtod: do not make any kludgy assumptions about number formats
Rémi Denis-Courmont [Wed, 21 May 2008 19:12:11 +0000 (22:12 +0300)]
us_strtod: do not make any kludgy assumptions about number formats

12 years agoDon't rely on scanf when parsing floats from files
Rémi Denis-Courmont [Wed, 21 May 2008 19:07:22 +0000 (22:07 +0300)]
Don't rely on scanf when parsing floats from files

(well, you _can_ but you'd need to use uselocale() then)

12 years agoWin32 also has and needs fcntl.h
Christophe Mutricy [Wed, 21 May 2008 19:02:22 +0000 (20:02 +0100)]
Win32 also has and needs fcntl.h

12 years agoRemove unused i18n_atof
Rémi Denis-Courmont [Wed, 21 May 2008 18:59:03 +0000 (21:59 +0300)]
Remove unused i18n_atof

12 years agoVLM: use american numbers too here
Rémi Denis-Courmont [Wed, 21 May 2008 18:58:01 +0000 (21:58 +0300)]
VLM: use american numbers too here

(we don't want sample scripts to break in certain countries)