]>
git.sesse.net Git - vlc/log
Rémi Denis-Courmont [Thu, 12 May 2011 19:59:51 +0000 (22:59 +0300)]
Do not keep unused plugins loaded after plugin scan
This saves about 20 Mb of address space, 10 Mb of memory on my system,
when the plugins cache is disabled. It is even more dramatic for
non-VLC apps (as then Qt4 is not loaded).
Rémi Denis-Courmont [Thu, 12 May 2011 19:33:56 +0000 (22:33 +0300)]
Split Win32 and POSIX dynamic linker backends
Rémi Denis-Courmont [Thu, 12 May 2011 19:23:51 +0000 (22:23 +0300)]
Inline module_Call()
Rémi Denis-Courmont [Thu, 12 May 2011 19:04:49 +0000 (22:04 +0300)]
Keep only one cache file loaded at a time
Each cache file is now unloaded as soon as the cache directory scan is
complete. The data is not needed anymore past that point.
Rémi Denis-Courmont [Thu, 12 May 2011 18:51:53 +0000 (21:51 +0300)]
Plugins cache entries are one time use things
As the module descriptor is referenced into the main module list
(without copying).
Rémi Denis-Courmont [Thu, 12 May 2011 17:57:58 +0000 (20:57 +0300)]
Rationalize --(no-)plugins-cache value handling
There is no need to keep this around after the plugins scan. Also,
there is no need to check --reset-plugins-cache if caching si disabled
(--no-plugins-cache).
Rémi Denis-Courmont [Thu, 12 May 2011 17:38:18 +0000 (20:38 +0300)]
Remove write-only module_bank_t.b_cache_dirty
Rémi Denis-Courmont [Thu, 12 May 2011 17:29:49 +0000 (20:29 +0300)]
Use native types for plugins mtime and size
64-bits timestamp is useless if the OS only provides 32-bits.
Jean-Baptiste Kempf [Thu, 12 May 2011 16:08:50 +0000 (18:08 +0200)]
Avformat: better debugging message
Rémi Denis-Courmont [Thu, 12 May 2011 15:23:20 +0000 (18:23 +0300)]
RTP out: robustify send error handling
For error other than congestion (EAGAIN, EWOULDBLOCK, ENOBUFS, ENOMEM),
check the socket type. If the socket is a datagram, retry. Otherwise,
the socket is connection-oriented and we assume the connection broke,
close it.
Rémi Denis-Courmont [Thu, 12 May 2011 15:21:37 +0000 (18:21 +0300)]
RTP out: fix warning
Rémi Denis-Courmont [Wed, 11 May 2011 19:46:57 +0000 (22:46 +0300)]
DTV: wire ACCESS_SET_PRIVATE_ID_CA (forgotten in previous commit)
Rémi Denis-Courmont [Wed, 11 May 2011 19:42:40 +0000 (22:42 +0300)]
Linux DVB: migrate EN 50221 code
This needs testing (my DVB driver is not CI-capable).
Rémi Denis-Courmont [Wed, 11 May 2011 19:19:13 +0000 (22:19 +0300)]
Add HAVE_DVBPSI, and use it, DVBPSI_CFLAGS and DVBPSI_LIBS
Rémi Denis-Courmont [Wed, 11 May 2011 17:12:56 +0000 (20:12 +0300)]
Linux DVB: conditionally enable DVB-T2
The missing definitions are 3-days old...
Rémi Denis-Courmont [Wed, 11 May 2011 16:54:14 +0000 (19:54 +0300)]
Qt4: DVB-T2 in open dialog
Rémi Denis-Courmont [Wed, 11 May 2011 16:40:57 +0000 (19:40 +0300)]
DTV: common support for DVB-T2
Rémi Denis-Courmont [Wed, 11 May 2011 16:40:18 +0000 (19:40 +0300)]
DTV: Linux DVB-T2 support (if'd out)
Rémi Denis-Courmont [Wed, 11 May 2011 16:09:24 +0000 (19:09 +0300)]
Linux DVB: fix guard intervals table order and DVB-T2 parameters
Rémi Denis-Courmont [Wed, 11 May 2011 16:00:13 +0000 (19:00 +0300)]
Bump plugin ABI
Rémi Denis-Courmont [Wed, 11 May 2011 16:38:48 +0000 (19:38 +0300)]
Update message callback
- remove always zero overruns counter,
- constify message pointer.
Rémi Denis-Courmont [Wed, 11 May 2011 16:32:54 +0000 (19:32 +0300)]
Qt4: convert VLC message stuff to QString
Rémi Denis-Courmont [Wed, 11 May 2011 16:20:47 +0000 (19:20 +0300)]
Simplify verbosity filtering
Rémi Denis-Courmont [Wed, 11 May 2011 16:10:38 +0000 (19:10 +0300)]
No need to copy msg_item_t.psz_header
Rémi Denis-Courmont [Wed, 11 May 2011 16:04:07 +0000 (19:04 +0300)]
Split up debug message printing (more readable in my opinion)
Rémi Denis-Courmont [Wed, 11 May 2011 16:01:07 +0000 (19:01 +0300)]
flockfile stub
Rémi Denis-Courmont [Wed, 11 May 2011 15:28:01 +0000 (18:28 +0300)]
Only take top-most object message header
In practice, multiple headers cannot happen. Only VLM input and LUA
interface use this hack.
Rémi Denis-Courmont [Wed, 11 May 2011 15:23:32 +0000 (18:23 +0300)]
No need to copy module in message item
Rémi Denis-Courmont [Wed, 11 May 2011 15:01:15 +0000 (18:01 +0300)]
Allocate message item on the stack
Rémi Denis-Courmont [Wed, 11 May 2011 15:01:04 +0000 (18:01 +0300)]
constify
Rémi Denis-Courmont [Wed, 11 May 2011 14:51:30 +0000 (17:51 +0300)]
Use copy/free paradigm rather than hold/release for message items
Message items are more often than not not rereferenced, and hardly ever
rereferenced more than once. Demand-copying will be faster in most
common circumstances (especially built-in console or logger).
Rémi Denis-Courmont [Wed, 11 May 2011 14:36:26 +0000 (17:36 +0300)]
Remove unused msg_item_t.date
Rémi Denis-Courmont [Wed, 11 May 2011 15:27:16 +0000 (18:27 +0300)]
Remove write-only change_need_restart()
Jean-Paul Saman [Wed, 11 May 2011 10:45:36 +0000 (12:45 +0200)]
stream_filter/httplive.c: #EXTINF: accepts integer (version < 3) or floating points based on protocol version.
Update logic in parse_SegmentationInformation() to accept float values
for duration as mentioned in later version of the draft specification.
Jean-Paul Saman [Wed, 11 May 2011 10:18:06 +0000 (12:18 +0200)]
stream_filter/httplive.c: Remove stream_t* argument from parse_SegmentInformation()
The variable stream_t *s in function parse_SegmentInformation() was not used.
Jean-Paul Saman [Wed, 11 May 2011 10:14:20 +0000 (12:14 +0200)]
stream_filter/httplive.c: split up parse_SegmentationInformation() function.
Split up parse_SegmentInformation() into two functions:
\7f parse_SegmentInformation() - parse #EXTINF to get duration
parse_AddSegment() - adds new segment
The parse_SegmentInformation() did both functions before and this
made some HTTP Live URL not work as expected. The splitting up of
these functionalities solves this issue.
Jean-Baptiste Kempf [Tue, 10 May 2011 21:07:49 +0000 (23:07 +0200)]
Qt, playlist view: code simplification
Rémi Denis-Courmont [Tue, 10 May 2011 20:01:47 +0000 (23:01 +0300)]
amem: i_nb_samples is unsigned, no need for size_t
Jean-Baptiste Kempf [Tue, 10 May 2011 19:57:34 +0000 (21:57 +0200)]
NEWS: Mention amem and new libvlc functions
And remove trailing spaces...
Rémi Denis-Courmont [Tue, 10 May 2011 17:56:21 +0000 (20:56 +0300)]
Add libvlc functions for custom audio output
This is not tested due to lack of use cases. Please test and report
bugs or limitations BEFORE final 1.2.0 release (or shut up).
Rémi Denis-Courmont [Tue, 10 May 2011 17:54:23 +0000 (20:54 +0300)]
Add virtual audio output plugin
Currently channels cannot be remapped and samples format must be S16N.
Rémi Denis-Courmont [Tue, 10 May 2011 18:05:57 +0000 (21:05 +0300)]
libvlc_clock, libvlc_delay: expose LibVLC clock for audio sync
Rémi Denis-Courmont [Tue, 10 May 2011 15:10:27 +0000 (18:10 +0300)]
Alias vlc_memset() to memset()
This saves two function calls per memset() since there are no optimized
implementations of memset() at all.
Jean-Baptiste Kempf [Tue, 10 May 2011 11:41:35 +0000 (13:41 +0200)]
Qt, recents: elide on display in the menu, not at creation
And this time decode the URI...
Jean-Baptiste Kempf [Tue, 10 May 2011 11:22:02 +0000 (13:22 +0200)]
Revert "Qt, recents: elipse on the left the mrl"
This reverts commit
7e1526b90947a146aa963e92f8a7326b6a697712 .
Jean-Baptiste Kempf [Mon, 9 May 2011 23:18:40 +0000 (01:18 +0200)]
Qt, selector: don't rebuild the model when not necessary...
This should fix the build-twice-the-model issue and should avoid
rebuilding when clicking the already selected one.
Rebuilding the model is costly enough in time, to not do it all the
time.
Jean-Baptiste Kempf [Mon, 9 May 2011 21:19:39 +0000 (23:19 +0200)]
Qt, recents: elipse on the left the mrl
First, I ain't sure we should display the mrl and not a "nice version of it"
Then I ain't sure that we should elipse on the left...
But, this is a beginning... Improvements welcome.
Rémi Denis-Courmont [Mon, 9 May 2011 19:35:04 +0000 (22:35 +0300)]
vlc_module_create(): remove useless parameter
Rémi Denis-Courmont [Mon, 9 May 2011 19:12:44 +0000 (22:12 +0300)]
Remove module_t.b_submodule
It is equal to (module_t.parent != NULL) and hence redumdant.
Rémi Denis-Courmont [Mon, 9 May 2011 19:04:37 +0000 (22:04 +0300)]
Do not cache b_submodule
It is always false here.
Rémi Denis-Courmont [Mon, 9 May 2011 16:38:55 +0000 (19:38 +0300)]
Remove endianess and type sizes from plugin name
On the one hand, plugins from different architectures cannot be mixed
in the same installation directory as they have the same names.
On the other hand, endianess and type sizes is way insufficient to
discriminate architectures (e.g. armel and i386 look the same).
So this was totally useless. And it did not need to be formatted at
run-time either.
Rémi Denis-Courmont [Mon, 9 May 2011 16:28:27 +0000 (19:28 +0300)]
Remove CPU capability from the plugin cache path
The plugin cache does not depend on this anymore. It always contain all
plugins like it did in VLC versions <= 1.0. In theory, it could even be
generated at build-time if:
* the compilation is native, and
* the set of installed plugins is invariable.
Rémi Denis-Courmont [Mon, 9 May 2011 16:19:59 +0000 (19:19 +0300)]
Remove plugin directory per CPU capability hack
On x86, describing and probing optimized plugins is safe (thanks to the
removal of the -mmmx and -msse2 compiler flags).
On PowerPC, libvlccore is built with -maltivec. This is a bug (no
difference before or after the plugin directory hack).
Describing and probing Altivec plugins is no worse.
On ARM, NEON support is detected only at compilation time currently
for lack of a better alternative. So this is a non-issue.
Rémi Denis-Courmont [Mon, 9 May 2011 16:17:49 +0000 (19:17 +0300)]
Checks for CPU capability at run-time (on x86 and PPC)
Felix Paul Kühne [Mon, 9 May 2011 16:26:10 +0000 (18:26 +0200)]
contribs: another bin package update for Mac
fixes ffmpeg linking issues on some setups and includes latest modplug, etc.
Rémi Denis-Courmont [Mon, 9 May 2011 15:40:32 +0000 (18:40 +0300)]
Do not pass -mmmx or -msse2 to the compiler
x86 GCC does not need those parameters to compile MMX or SSE assembly
or built-in intrinsics (contrary to ARM GCC w.r.t. NEON). They only
allow the compiler to issue MMX or SSE instructions for the plain C
code. We already rely on this tolerant compiler semantic for the CPU
detection code, and for some optionally accelerated filters (e.g.
deinterlace).
Disabling MMX and SSE for non-assembly code should have no or
negligible effects on the affected plugins. On the other hand, it
ensures that the plugin descriptor can be run by non-MMX/non-SSE CPUs.
Rémi Denis-Courmont [Mon, 9 May 2011 15:36:55 +0000 (18:36 +0300)]
Test SSE compiler support on all IA32 architectures, not just 686
Same as is done for MMX. Run-time checks determine whether SSE can be
used in any case.
Jean-Baptiste Kempf [Mon, 9 May 2011 13:49:13 +0000 (15:49 +0200)]
Freetype: use add_loadfile when fontconfig|win32 is disabled
Jean-Baptiste Kempf [Mon, 9 May 2011 12:40:39 +0000 (14:40 +0200)]
lua, host: remove trailing spaces
Jean-Baptiste Kempf [Mon, 9 May 2011 09:55:32 +0000 (11:55 +0200)]
Qt: rename variable for consistency
Jean-Baptiste Kempf [Mon, 9 May 2011 09:33:13 +0000 (11:33 +0200)]
Qt: fix build with --disable-media-library
Sorry for the problem.
Jean-Baptiste Kempf [Tue, 3 May 2011 00:51:45 +0000 (02:51 +0200)]
Qt: try to enable PL/ML switching
This still needs a lot of fixing
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Tue, 3 May 2011 00:32:31 +0000 (02:32 +0200)]
Qt: allow SQL-ML configuration
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Mon, 2 May 2011 22:23:37 +0000 (00:23 +0200)]
Qt: MLModel creation and assignation
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Mon, 2 May 2011 22:50:08 +0000 (00:50 +0200)]
Qt, selector: Signal renaming to avoid Qt confusion
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Mon, 2 May 2011 20:40:16 +0000 (22:40 +0200)]
Qt, selector: activate the SQL ML
So at least, someone can test/fix it...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Dominique Martinet [Mon, 9 May 2011 06:34:13 +0000 (15:34 +0900)]
contrib: build libgsm with -fPIC
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Dominique Martinet [Mon, 9 May 2011 06:34:12 +0000 (15:34 +0900)]
contrib: have gettext (.intl) depend on iconv
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Mon, 9 May 2011 00:15:56 +0000 (02:15 +0200)]
Win32: 1.2 wants dvd:///D: not dvd://D:
CLose #4298
Jean-Baptiste Kempf [Sun, 8 May 2011 23:58:19 +0000 (01:58 +0200)]
DVDnav: fix .ifo files opening
Should fix the issue mentionned on #3816, comment 14, 2 last results...
Jean-Baptiste Kempf [Sun, 8 May 2011 23:04:43 +0000 (01:04 +0200)]
Configure: fix xml2 detection for libbluray
10l
Pierre Ynard [Sun, 8 May 2011 19:05:14 +0000 (21:05 +0200)]
contribs: remove unused files
Jean-Baptiste Kempf [Sun, 8 May 2011 18:44:42 +0000 (20:44 +0200)]
Win32: update default configure script
Jean-Baptiste Kempf [Sun, 8 May 2011 18:40:06 +0000 (20:40 +0200)]
COnfigure: libbluray depends on libxml2 for now
Jean-Baptiste Kempf [Sun, 8 May 2011 18:15:32 +0000 (20:15 +0200)]
Contribs: remove unused packages
Pierre Ynard [Sun, 8 May 2011 18:11:47 +0000 (20:11 +0200)]
contribs: fix portaudio rules
Jean-Baptiste Kempf [Sun, 8 May 2011 17:54:43 +0000 (19:54 +0200)]
Contribs: update portaudio to the latest stable snapshot
Laurent Aimar [Sun, 8 May 2011 17:51:09 +0000 (19:51 +0200)]
Do not used vlc_thread_create() in input/es_out_timeshift.c
Rémi Denis-Courmont [Sun, 8 May 2011 09:19:17 +0000 (12:19 +0300)]
dvdnav: only try to regular files matching *.iso (fix #4741)
(This does not affect directories and block devices.)
Rémi Denis-Courmont [Sun, 8 May 2011 17:27:13 +0000 (20:27 +0300)]
dvdnav: skip probing if forced and do not accept "file://"
Jean-Baptiste Kempf [Sun, 8 May 2011 17:20:57 +0000 (19:20 +0200)]
Contribs: upgrade libdvbpsi to 0.2.0
Jean-Baptiste Kempf [Sun, 8 May 2011 17:16:07 +0000 (19:16 +0200)]
Contribs: update zvbi to 0.2.33
It is safe (out since 2 years) and it doesn't break the ugly win32 port
I did...
Jean-Baptiste Kempf [Sun, 8 May 2011 17:12:45 +0000 (19:12 +0200)]
Contribs: fix orc stdint weird inclusions in 0.4.14
Should fix wiN32 contribs
Laurent Aimar [Sun, 8 May 2011 16:58:46 +0000 (18:58 +0200)]
Do not used vlc_thread_create() in input/decoder.c
It also fixes shared access to b_die without a lock(or equivalent) being used.
Pierre Ynard [Sun, 8 May 2011 16:40:16 +0000 (18:40 +0200)]
contrib: don't include config.h in installed pthread.h
It's retarded for an installed file to depend on it
Pierre Ynard [Sun, 8 May 2011 16:38:39 +0000 (18:38 +0200)]
Revert "Contribs: don't allow pthread to use config.h"
It breaks the build of pthread.
This reverts commit
f8db78d5ab27a41e02dbfb3f01e26023c1345246 .
Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr>
Jean-Baptiste Kempf [Sun, 8 May 2011 15:53:47 +0000 (17:53 +0200)]
Contribs: update modplug
Laurent Aimar [Sun, 8 May 2011 15:48:00 +0000 (17:48 +0200)]
Serialized libmodplug loading code.
libmodplug is thread safe except when loading files or configuring settings
(before loading a file).
Jean-Baptiste Kempf [Sun, 8 May 2011 11:24:01 +0000 (13:24 +0200)]
Configure: more information about missing fontconfig/fribidi
Jean-Baptiste Kempf [Sun, 8 May 2011 11:04:04 +0000 (13:04 +0200)]
Contribs: don't allow pthread to use config.h
Jean-Baptiste Kempf [Fri, 6 May 2011 15:56:32 +0000 (17:56 +0200)]
Audiobar: remove trailing whitespace
Jean-Baptiste Kempf [Thu, 5 May 2011 14:10:07 +0000 (16:10 +0200)]
Remove tabs in headers
Pierre Ynard [Sun, 8 May 2011 02:01:18 +0000 (04:01 +0200)]
contribs: fix cross-compilation of lua
Rémi Denis-Courmont [Sat, 7 May 2011 20:03:52 +0000 (23:03 +0300)]
Rename VLC_{PUBLIC,DEPRECATED}_API to LIBVLC_{API,DEPRECATED}
There are no functional, source or binary changes. This is only for
consistency: libvlc stuff -> LIBVLC, vlc plugin stuff -> VLC
Rémi Denis-Courmont [Sat, 7 May 2011 20:02:08 +0000 (23:02 +0300)]
Rename LIBVLC_* function attributes to VLC_* within plugin API
Felix Paul Kühne [Sat, 7 May 2011 19:35:57 +0000 (21:35 +0200)]
contribs: fixed typo
Felix Paul Kühne [Sat, 7 May 2011 19:35:33 +0000 (21:35 +0200)]
contribs: updated binary package for Mac OS X
Felix Paul Kühne [Sat, 7 May 2011 19:34:02 +0000 (21:34 +0200)]
contribs: another iconv hack for fontconfig
additionally, make sure /opt doesn't sneak in our patch
Felix Paul Kühne [Sat, 7 May 2011 19:21:21 +0000 (21:21 +0200)]
contribs: updated liborc to fix schroedinger compilation
Felix Paul Kühne [Sat, 7 May 2011 19:00:51 +0000 (21:00 +0200)]
contribs: hack to ensure libcdio creates proper la files