vlc.git
12 years agoBackport FFmpeg pkg-config patch from HEAD to r12920
Rafaël Carré [Mon, 26 May 2008 22:44:36 +0000 (00:44 +0200)]
Backport FFmpeg pkg-config patch from HEAD to r12920

lamers

12 years agoRemove duplication
Rafaël Carré [Mon, 26 May 2008 20:43:35 +0000 (22:43 +0200)]
Remove duplication

12 years agomms/tcp: hanging or unexpected seeking after the end of stream
bl4 [Sat, 24 May 2008 18:17:49 +0000 (20:17 +0200)]
mms/tcp: hanging or unexpected seeking after the end of stream

Signed-off-by: Rafaël Carré <funman@videolan.org>
12 years agoOnly allow VLC_OBJECT_MODULE outside of p_libvlc
Rémi Denis-Courmont [Mon, 26 May 2008 19:53:44 +0000 (22:53 +0300)]
Only allow VLC_OBJECT_MODULE outside of p_libvlc

Speeds up vlc_list_find(), as we avoid looking up the 200+ plugins for
each vlc_list_find(). Also avoids accidentally stealing objects across
LibVLC instances. IMHO, the object tree should be per-instance, and the
root object should not exist, but that's too big a change yet.

12 years agoCosmetic fix
Rémi Denis-Courmont [Wed, 14 May 2008 17:38:32 +0000 (20:38 +0300)]
Cosmetic fix

12 years agoFix FFmpeg .pc creation - patch to be sent at FFmpeg developers
Rafaël Carré [Mon, 26 May 2008 19:48:09 +0000 (21:48 +0200)]
Fix FFmpeg .pc creation - patch to be sent at FFmpeg developers

12 years agoRemove strange stuff ...
Rafaël Carré [Mon, 26 May 2008 18:57:19 +0000 (20:57 +0200)]
Remove strange stuff ...

12 years agoShip a lot of useful headers
Rémi Denis-Courmont [Mon, 26 May 2008 18:56:49 +0000 (21:56 +0300)]
Ship a lot of useful headers

(main remaining offenders: vlc_interface.h and vlc_network.h)

12 years agoExport WORDS_BIGENDIAN to pkg-config unless someone knows better
Rémi Denis-Courmont [Mon, 26 May 2008 18:46:45 +0000 (21:46 +0300)]
Export WORDS_BIGENDIAN to pkg-config unless someone knows better

12 years agoAC_C_BIGENDIAN works nowadays
Rémi Denis-Courmont [Mon, 26 May 2008 18:37:27 +0000 (21:37 +0300)]
AC_C_BIGENDIAN works nowadays

12 years agoRevert "Move VLC_FOURCC to vlc_es.h"
Rémi Denis-Courmont [Mon, 26 May 2008 18:29:55 +0000 (21:29 +0300)]
Revert "Move VLC_FOURCC to vlc_es.h"

This reverts commit 62b9f5b0251b41dbcb2a38902e03fc70cf3677ab.

12 years agolibvlccore: Rename iso_lang.h to vlc_iso_lang.h because we use VLC_EXPORT there,...
Pierre d'Herbemont [Mon, 26 May 2008 18:18:54 +0000 (20:18 +0200)]
libvlccore: Rename iso_lang.h to vlc_iso_lang.h because we use VLC_EXPORT there, and plugins may use it.

12 years agoMove VLC_FOURCC to vlc_es.h
Rémi Denis-Courmont [Mon, 26 May 2008 18:11:01 +0000 (21:11 +0300)]
Move VLC_FOURCC to vlc_es.h

12 years agoMissing assert.h
Rémi Denis-Courmont [Mon, 26 May 2008 18:10:37 +0000 (21:10 +0300)]
Missing assert.h

12 years agoInstall a bunch of "clean" headers
Rémi Denis-Courmont [Mon, 26 May 2008 18:01:00 +0000 (21:01 +0300)]
Install a bunch of "clean" headers

12 years agoRemove unused HAVE_XXXX_{SWSCALE,FFMPEG}_TREE defines
Rafaël Carré [Mon, 26 May 2008 17:51:45 +0000 (19:51 +0200)]
Remove unused HAVE_XXXX_{SWSCALE,FFMPEG}_TREE defines

12 years agoRemove broken support for linking FFmpeg plugin with a build tree
Rafaël Carré [Mon, 26 May 2008 17:29:15 +0000 (19:29 +0200)]
Remove broken support for linking FFmpeg plugin with a build tree

Remove workarounds for broken (probably very old) FFmpeg .pc files
Errors out if nor swscale headers, nor img_resample() in libavcodec are
present

12 years agoUpdate NEWS.
Antoine Cellerier [Mon, 26 May 2008 14:13:41 +0000 (16:13 +0200)]
Update NEWS.

12 years agoRevert broken part of 653bca0a937929bf4308bdac4232dde37b175a6e
Rémi Denis-Courmont [Mon, 26 May 2008 17:45:38 +0000 (20:45 +0300)]
Revert broken part of 653bca0a937929bf4308bdac4232dde37b175a6e

12 years agoEnable check_headers
Rémi Denis-Courmont [Mon, 26 May 2008 17:24:45 +0000 (20:24 +0300)]
Enable check_headers

12 years agoHave hton64 accept rvalues. Remove dep upon WORDS_BIGENDIAN
Rémi Denis-Courmont [Mon, 26 May 2008 17:24:39 +0000 (20:24 +0300)]
Have hton64 accept rvalues. Remove dep upon WORDS_BIGENDIAN

12 years agoPenultimate (initial) public header fix
Rémi Denis-Courmont [Mon, 26 May 2008 17:04:35 +0000 (20:04 +0300)]
Penultimate (initial) public header fix

12 years agoFix HAVE_ATTRIBUTE_FORMAT usage - refs #297
Rémi Denis-Courmont [Mon, 26 May 2008 16:58:44 +0000 (19:58 +0300)]
Fix HAVE_ATTRIBUTE_FORMAT usage - refs #297

12 years agoDo not depend on NDEBUG inside headers
Rémi Denis-Courmont [Mon, 26 May 2008 16:41:28 +0000 (19:41 +0300)]
Do not depend on NDEBUG inside headers

If stats are too heavy weight to use w/o debug, we should either fix
them or remove them completely anyway

12 years agoInclude assert.h where assert() is used
Rafaël Carré [Mon, 26 May 2008 16:41:19 +0000 (18:41 +0200)]
Include assert.h where assert() is used

12 years agoAnother bunch of invalid config.h usage
Rémi Denis-Courmont [Mon, 26 May 2008 16:39:13 +0000 (19:39 +0300)]
Another bunch of invalid config.h usage

12 years agoSyntax error
Rémi Denis-Courmont [Mon, 26 May 2008 16:23:50 +0000 (19:23 +0300)]
Syntax error

12 years agoRemove another invalid use of config.h
Rémi Denis-Courmont [Mon, 26 May 2008 16:23:30 +0000 (19:23 +0300)]
Remove another invalid use of config.h

12 years agoAdds missing assert.h header
Rafaël Carré [Mon, 26 May 2008 16:34:09 +0000 (18:34 +0200)]
Adds missing assert.h header

12 years agoDo not use assert in public headers
Rémi Denis-Courmont [Mon, 26 May 2008 16:19:42 +0000 (19:19 +0300)]
Do not use assert in public headers

12 years agoNo need for SYS_LINUX
Rémi Denis-Courmont [Mon, 26 May 2008 16:06:46 +0000 (19:06 +0300)]
No need for SYS_LINUX

12 years agoRemove unused variable
Rémi Denis-Courmont [Mon, 26 May 2008 15:59:43 +0000 (18:59 +0300)]
Remove unused variable

12 years agoC++ compile fixes
Rémi Denis-Courmont [Mon, 26 May 2008 15:54:07 +0000 (18:54 +0300)]
C++ compile fixes

12 years agoRemove unused attribute visibility check
Rémi Denis-Courmont [Mon, 26 May 2008 15:38:05 +0000 (18:38 +0300)]
Remove unused attribute visibility check

12 years agoDo not use visibility. It breaks #297 as well as libvlccore.sym
Rémi Denis-Courmont [Mon, 26 May 2008 15:44:47 +0000 (18:44 +0300)]
Do not use visibility. It breaks #297 as well as libvlccore.sym

12 years agoRemove HAVE_ATTRIBUTE_VISIBILITY - refs #297
Rémi Denis-Courmont [Mon, 26 May 2008 15:37:33 +0000 (18:37 +0300)]
Remove HAVE_ATTRIBUTE_VISIBILITY - refs #297

12 years agoFix #includes
Rémi Denis-Courmont [Sun, 25 May 2008 15:34:44 +0000 (18:34 +0300)]
Fix #includes

12 years agoOops.
Antoine Cellerier [Mon, 26 May 2008 14:07:55 +0000 (16:07 +0200)]
Oops.

12 years agoUse mouse as capture retangle center instead of upper left corner.
Antoine Cellerier [Mon, 26 May 2008 14:06:02 +0000 (16:06 +0200)]
Use mouse as capture retangle center instead of upper left corner.

12 years agoAdd --screen-mouse-follow option (x11 only).
Antoine Cellerier [Mon, 26 May 2008 14:03:33 +0000 (16:03 +0200)]
Add --screen-mouse-follow option (x11 only).

12 years agoFix the rawvideo codec when visible_pitch != pitch. (And simplify code) This should...
Antoine Cellerier [Mon, 26 May 2008 13:11:43 +0000 (15:11 +0200)]
Fix the rawvideo codec when visible_pitch != pitch. (And simplify code) This should fix partial screen captures using non multiple of 16 values.

12 years agoAdd some missing symbols in a blind attempt to fix the buildbots. Feel free to revert...
Antoine Cellerier [Mon, 26 May 2008 12:52:25 +0000 (14:52 +0200)]
Add some missing symbols in a blind attempt to fix the buildbots. Feel free to revert if this is wrong.

12 years agoFix --enable-lua flag description in configure.ac
Antoine Cellerier [Mon, 26 May 2008 12:35:28 +0000 (14:35 +0200)]
Fix --enable-lua flag description in configure.ac

12 years agoFix pkg-config based libswscale detection tests.
Antoine Cellerier [Mon, 26 May 2008 12:13:20 +0000 (14:13 +0200)]
Fix pkg-config based libswscale detection tests.

12 years agoRemove unused variable.
Antoine Cellerier [Mon, 26 May 2008 11:49:44 +0000 (13:49 +0200)]
Remove unused variable.

12 years agolibvlc: libvlc_vlm_get_media_instance_* is in header, not libvlc_vlm_get_media_*.
Pierre d'Herbemont [Mon, 26 May 2008 11:52:02 +0000 (13:52 +0200)]
libvlc: libvlc_vlm_get_media_instance_* is in header, not libvlc_vlm_get_media_*.

This is the last fix for libvlc.dylib compilation on Mac OS X.

12 years agolibvlc: Remove libvlc_event_(init|fini) as they were finally not needed.
Pierre d'Herbemont [Mon, 26 May 2008 11:51:03 +0000 (13:51 +0200)]
libvlc: Remove libvlc_event_(init|fini) as they were finally not needed.

12 years agolibvlc: Prefix internal function with VLC_PRIVATE_API.
Pierre d'Herbemont [Mon, 26 May 2008 11:41:31 +0000 (13:41 +0200)]
libvlc: Prefix internal function with VLC_PRIVATE_API.

12 years agoRevert "Remove VLC_PRIVATE_API"
Pierre d'Herbemont [Mon, 26 May 2008 11:33:03 +0000 (13:33 +0200)]
Revert "Remove VLC_PRIVATE_API"

This reverts commit 96cc9c261db1c616efa2fbc0aea21bc70b1e46fc.

This commit is reverted because we are using a regexp to determine the list of exported symbols in libvlc. However some private symbols start with libvlc_, this produces (here on Mac OS X) a nmedit error about symbols not being found while exported. A solution is to externalize those private symbols, hence using VLC_PUBLIC_API.

Feel free to come up with a better solution.

12 years agoImplement partial screen capture for x11. Feel free to add similar code for the other...
Antoine Cellerier [Mon, 26 May 2008 10:39:10 +0000 (12:39 +0200)]
Implement partial screen capture for x11. Feel free to add similar code for the other platforms.

12 years agoDo not malloc(0) - to make valgrind not report 0 byte leaks
Rafaël Carré [Mon, 26 May 2008 08:25:47 +0000 (10:25 +0200)]
Do not malloc(0) - to make valgrind not report 0 byte leaks

12 years agomodify logger-module rrd-output to use time for timestamp instead of mdate()
Ilkka Ollakka [Tue, 20 May 2008 13:23:35 +0000 (16:23 +0300)]
modify logger-module rrd-output to use time for timestamp instead of mdate()

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