Rafaël Carré [Tue, 2 Oct 2007 02:11:11 +0000 (02:11 +0000)]
taglib: support for id3v2 embedded album art
the only demuxer supported is mpga, other demuxers should be updated if they demux files that can have id3v2 tags
fix some bugs in flac & ogg demuxers
Remove the HTTP interface thread, and save 20 wakeups per seconds.
The idle HTTP interace is down from 30 to 10 wakeups/s (I think the remaining ones are due to HTTPd core).
- Do not release the input while we did not yield it...
- Really yield the input (and release it) on a need-basis in the HTTP handler rather than in a custom thread. This is probably not thread-safe, but it's less unsafe than the previous code anyway.
This makes the HTTP interface thread very much useless, niark niark
Find the playlist once *before* starting.
LibVLC always creates the (singleton) playlist before the interfaces anyway.
Besides, the HTTP interface callbacks assumes the playlist is yield.
This removes one of two reasons for running the damn HTTP interface thread.
Added a INPUT_GET_VIDEO_FPS (get the fps of the main video, should works with
input slave) Untested.
media_instance.c no longer depends on input_internal.h
Clean up a bit es_out pause handling.
Fixed DEMUX_GET_FPS description (double not float)
Partial fix for media instance. (It was using input_control_e intead of
input_query_e).
Btw input_internal.h is an internal header for src/input/* ONLY.
If input/control/* need it, then it is BROKEN (or there is a missing
functionnality, just ask for it then)
I see it calling demux2_Control, this will segfault if you are unlucky.
Accessing directly to p_input->p member is also forbidden.
Partial unfinished pipes conditional fallback for condition variables.
This would be necessary to rid the networking code of arbitrary timers (but it does not work yet).
Added const wheen needed for stream_Peek (demuxer/access)
Made demux2_IsPathExtension case insensitive.
Used demux2_IsPathExtension/p_demux->b_force when appropriate
Fixed a regression in flac demuxer (segfault when reading meta data)
Added a VLC_UNUSED(x) macro to avoid seeing ugly (void)x around the code.
Improved a bit a few vlc_common.h macro (do {} while(0))
Hide object reference counter.
Good news is, no plugins used it anyway.
Bad news is, some parts of libvlc still use which is wrong (i_refcount is protected by the "structure lock", meaning only misc/objects.c functions can use it safely).
Some fixes for compiling on Cygwin: x264, pthreads, taglib and dirac.
Reverse previous workaround for pthreads lib having GC2 suffix - that
is actually normal; patch should instead go into x264 to make it ignore
the presence of a local pthread lib under cygwin when doing configure tests.
Fixed a regression with --sub-autodetect-path
Ignore directories in --sub-autodetect-path that match the directory
of the current file (But it does not works with symbolic links).
Check all(?) memory allocations (if you do it, do it completetly ;)
Fixed an overflow when more than MAX_SUBTITLE_FILES are detected.
Fixed a bunch of memory leaks.
Fixed removing sub/idx pair. (sizeof() != strlen on char*)
Clean up/Simplify (asprintf/calloc are usefull)
Cosmetics
Also try to send twice without splice().
This means ICMP errors will be ignored, which is a Bad Idea.
But people are likely to complain about how it breaks their setup if we
don't ignore ICMP anyway.
Hard-code precomputed Diffie-Hellman-Merkel group parameters.
These are not confidential, and fairly slow to compute.
(This is much simpler than caching them to disk, and more
portable-app-friendly)
Temporary change to try to force altair to update its version of gettext
from 0.16 to 0.16.1 before bootstrap (unlike the other builders it doesn't
bootstrap the contribs first)