Jean-Paul Saman [Wed, 5 Mar 2008 07:27:05 +0000 (08:27 +0100)]
Patch by Koehler, Vitally <vkoehler AT telekom de>: This modification solves the problem of audio packet losses by the playback of MPEG2 transport stream.
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
Faustino Osuna [Tue, 4 Mar 2008 22:41:30 +0000 (22:41 +0000)]
macosx/VLCKit: Load VLCLibrary when VLCKit is loaded. No longer need atexit( ... ) to unload library, use __attribute__((destructor))__ instead. Also make sure we don't autorelease the VLCLibrary (as the library's destructor will take care of that for us).
Jean-Paul Saman [Tue, 4 Mar 2008 21:03:03 +0000 (22:03 +0100)]
[PATCH] by Anthony Loiseau <anthony.loiseau at gmail dot com>: Avoid browser crashing on mozilla-plugin when jumping into the media using the time-slider and no movie is loaded.
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
file: Be consistent with the rest of the world. Do not expand tilde.
The shell already does it, and \~ should not be expanded by VLC.
Also fixes consistency with the other file-opening plugins
(directory, mmap, cdda...).
Olivier Aubert [Tue, 4 Mar 2008 10:10:48 +0000 (11:10 +0100)]
python bindings: provide useful defaults for linking when compiling out-of-tree
This allows to compile the bindings from a properly installed VLC (includes and libs in standard locations), as for instance with the libvlc1-dev debian package.
misc/objects.c:
* Fix a rare race condition that may happen because the refcount was changed outside of the structure lock.
* assert(refcount>0) in some key function to help to track freed object easily.
* Use vlc_object_yield_locked() instead of refcount++.
André Weber [Mon, 3 Mar 2008 18:57:43 +0000 (19:57 +0100)]
Enable the last parameter of the macros change_integer_list, change_string_list to supply a method to initialize update dynamic selectionlists inside the settings GUI allready on showing the gui. (f.e. the audio device list)
Remove the old port 80 hack in the network subsystem
The only paths that still appears not to set a default remote port are
the dccp/rtp and tcp/rtp accesses. And it makes no sense for these to
default to HTTP port 80 anyway.
Remove security-policy from config_ChainParse()
but NOT from var_OptionParse().
Rationale: At a shallow level, this breaks the command line use badly.
At a deeper level: We still do security enforcement in
var_OptionParse(). In practice, the config chain strings are always
coming from (part of) the value of string configuration variable,
which is parsed by var_OptionParse(). Hence, as long as these variables
are all tagged as "unsafe", only trusted input can ever reach
config_ChainParse().
There are other (intractable?) issues with checking configuration chain
strings: First, we would also need to check the module name in front of
the {var1=val1,...} stuff. Second, some modules parse their
configuration chain manually, i.e. they don't call config_ChainParse()
and sometimes do not register their variables as configuration items
(e.g. the sout duplicate module).
If you have a super-duper idea on how to improve this, you're welcome,
but in the mean time...
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org> Vaguely-acked-by: Pierre d'Herbemont <pdherbemont@free.fr>
André Weber [Sun, 2 Mar 2008 17:22:11 +0000 (18:22 +0100)]
Bugfix for #492: Audio output on Windows useing SPDIF for AC3 / DTS
But its still very time critical, because paout gets sometimes empty
so that aout_OutputNextBuffer(..) doesn't deliver new audiobuffers,
sometimes it happens - that these buffers arrive very late for output.
Reasons: -changed CPU load, (extra running application, also fast forward
seeking and and jumping may lead to this situation.)
Enhancement #897: added an option to let the user choose is prefered audio device. (needs restart of VLC to get applied)
Jean-Paul Saman [Sun, 2 Mar 2008 14:26:45 +0000 (15:26 +0100)]
Don't leak memory when filling in p_stream->p_decoder_specific_info for subtitles. The p_stream->p_decoder_specific_info pointer was already allocated just before checking for VLC_FOURCC('s','u','b','t'). The fix moves the non-subtitles case to an else.
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
André Weber [Sun, 2 Mar 2008 15:31:57 +0000 (16:31 +0100)]
#492 bugfix, for SPDIF audio ouput of AC3 and DTS sound on Windows
(but its still critical because it happens - aout_OutputNextBuffer(...) has no buffers
available - sometime the output doesn't know until some ms before the last block
has finished to play! so each little disturbtion of the CPU or load change
leads to studdering/hickups)
#897 enhancement: give the use the option to choose its prefered audio device,
instead of useing Windows default