- 13 May, 2011 6 commits
-
-
Rémi Denis-Courmont authored
We need to select a format that can be output by the mixer, preferably the exact format output by the mixer. Keeping the input audio format breaks for non-linear input formats when S/PDIF output is disabled: the mixer outputs FL32 that cannot be converted to MPGA, AC-3, etc.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Jean-Baptiste Kempf authored
-
Jean-Baptiste Kempf authored
-
Jean-Baptiste Kempf authored
-
- 12 May, 2011 13 commits
-
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
There are two advantages: - scanning uncached plugins is much faster, - plugins with broken dependencies are visible in the modules list. Plugins are still resolved "now" if they are probed by module_need(). This is a safety feature (the run-time linker would exit silently if it hit an unresolved symbol). As the previous commit unloads all uncached plugins, we can reload the plugins with different flags as needed. Plugins with broken/missing underlying libraries will trigger an error only when used, rather than when scanned. vlc-cache-gen is then a bit more robust against messed up packages installation (it will not skip plugins anymore). Also, dialog_Fatal() could be used to report run-time errors. This was not possible previously: the error would occur before the UI was started. Note that this is not implemented on Windows, as there is no support (that I know) for lazy resolution of DLLs.
-
Rémi Denis-Courmont authored
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 authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
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 authored
As the module descriptor is referenced into the main module list (without copying).
-
Rémi Denis-Courmont authored
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 authored
-
Rémi Denis-Courmont authored
64-bits timestamp is useless if the OS only provides 32-bits.
-
Jean-Baptiste Kempf authored
-
Rémi Denis-Courmont authored
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 authored
-
- 11 May, 2011 21 commits
-
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
This needs testing (my DVB driver is not CI-capable).
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
The missing definitions are 3-days old...
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
- remove always zero overruns counter, - constify message pointer.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
In practice, multiple headers cannot happen. Only VLM input and LUA interface use this hack.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
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 authored
-