]>
git.sesse.net Git - vlc/log
Laurent Aimar [Wed, 2 Jul 2008 17:04:50 +0000 (17:04 +0000)]
Fixed initialization of asf_object_t inside ASF_ReadObject (fixed invalid
free).
Removed useless memset after calloc.
Laurent Aimar [Wed, 2 Jul 2008 17:02:59 +0000 (17:02 +0000)]
Use calloc when appropriate + cosmetics.
Laurent Aimar [Wed, 2 Jul 2008 16:55:51 +0000 (16:55 +0000)]
Fixed infinite loop in truncated file.
Rémi Denis-Courmont [Wed, 2 Jul 2008 19:52:08 +0000 (22:52 +0300)]
Ignore invalid ACL allow line
Rémi Denis-Courmont [Wed, 2 Jul 2008 19:34:17 +0000 (22:34 +0300)]
HTTP ACL: fail closed, not open
Rémi Denis-Courmont [Wed, 2 Jul 2008 19:17:10 +0000 (22:17 +0300)]
Fix HTTP interface not starting at all
Rémi Denis-Courmont [Wed, 2 Jul 2008 19:17:02 +0000 (22:17 +0300)]
Remove zip file first
Rémi Denis-Courmont [Wed, 2 Jul 2008 19:16:14 +0000 (22:16 +0300)]
Fix directory separator
Rémi Denis-Courmont [Wed, 2 Jul 2008 18:43:26 +0000 (21:43 +0300)]
Qt4: remove dead declaration
Rémi Denis-Courmont [Wed, 2 Jul 2008 18:26:12 +0000 (21:26 +0300)]
Remove hacking fullscreen control invocation - fixes #1653
Rémi Duraffort [Sun, 29 Jun 2008 08:05:40 +0000 (10:05 +0200)]
Avoid segfault in subtitle demuxer.
Rémi Denis-Courmont [Wed, 2 Jul 2008 18:05:48 +0000 (21:05 +0300)]
Sort-of RTSP VOD: accept MP3 as MPEG Audio
Rémi Denis-Courmont [Wed, 2 Jul 2008 18:04:34 +0000 (21:04 +0300)]
So-called "RTSP" VOD: advertise the actual audio frequency
This closes #1657. We have to use the same frequency as the RTP stream
output, otherwise, it's not going to work...
Antoine Cellerier [Wed, 2 Jul 2008 17:05:46 +0000 (19:05 +0200)]
Propagate rgb mask/shift values on render format/heap too.
Rémi Denis-Courmont [Wed, 2 Jul 2008 16:16:17 +0000 (19:16 +0300)]
VLM: build if ENABLE_VLM rather than ENABLE_SOUT
Rémi Denis-Courmont [Wed, 2 Jul 2008 16:14:57 +0000 (19:14 +0300)]
avformat: fix linking with --disable-sout - closes #1655
Rémi Denis-Courmont [Wed, 2 Jul 2008 15:34:30 +0000 (18:34 +0300)]
Fix build dependency order
Rafaël Carré [Wed, 2 Jul 2008 11:14:30 +0000 (13:14 +0200)]
Use the headers from builddir and srcdir before the system headers
That fixes compilation when incompatible headers are installed on the system (such as headers from vlc 0.8.6)
Jean-Baptiste Kempf [Wed, 2 Jul 2008 06:12:46 +0000 (08:12 +0200)]
Contribs update:
- liboil bump
- libschroedinger bump (remove unneeded patches)
- libmp3lame (new patch added)
Antoine Cellerier [Tue, 1 Jul 2008 20:49:40 +0000 (22:49 +0200)]
Video outputs should not change the vout's render format.
Rémi Denis-Courmont [Tue, 1 Jul 2008 20:18:20 +0000 (23:18 +0300)]
Remove dead code (CID #3)
If (a < 0 || b < 0) is false, then (a >= 0 && b >= 0) is true,
which implies (a >= || b >= 0) is true as well.
And this was tagged as a FALSE positive!?!
Rémi Denis-Courmont [Tue, 1 Jul 2008 20:12:03 +0000 (23:12 +0300)]
Remove dead code (CID #2)
Ilkka Ollakka [Tue, 1 Jul 2008 20:08:30 +0000 (23:08 +0300)]
Set sizePolicy for backgroundWidget, so when album art is visible
play/stop/etc. buttons don't jump around when album art size changes.
Rémi Denis-Courmont [Tue, 1 Jul 2008 19:39:33 +0000 (22:39 +0300)]
SAP: remotely trigerrable memory leak (CID #70)
Rémi Denis-Courmont [Tue, 1 Jul 2008 19:27:41 +0000 (22:27 +0300)]
Typo, uninit (CID #127)
Rémi Denis-Courmont [Tue, 1 Jul 2008 18:59:34 +0000 (21:59 +0300)]
Switch to 0.9.0-test2
Rémi Denis-Courmont [Tue, 1 Jul 2008 17:58:47 +0000 (20:58 +0300)]
Synchronize translation files
Rémi Denis-Courmont [Tue, 1 Jul 2008 17:40:22 +0000 (20:40 +0300)]
Missing #include
Rémi Denis-Courmont [Tue, 1 Jul 2008 17:34:57 +0000 (20:34 +0300)]
Fix make distcheck
Rémi Denis-Courmont [Tue, 1 Jul 2008 17:23:23 +0000 (20:23 +0300)]
Sync with (provisional) 0.8.6i
Rémi Denis-Courmont [Tue, 1 Jul 2008 17:22:16 +0000 (20:22 +0300)]
Fix gettext use
Rémi Denis-Courmont [Tue, 1 Jul 2008 16:42:23 +0000 (19:42 +0300)]
Do not recycle video outputs - fixes #1651
For the same reason as audio outputs. The code was thread-unsafe beyond
repair.
Rémi Denis-Courmont [Tue, 1 Jul 2008 16:41:26 +0000 (19:41 +0300)]
Revert "Remove the suxor thread"
This reverts commit
74cf34e6ae1258f4d680ef3f69e7cfa690ab6ef8 .
Rémi Denis-Courmont [Tue, 1 Jul 2008 16:45:53 +0000 (19:45 +0300)]
Qt4: Remove hackish use of vout window for the FS controller.
This fixes #1651. We can hopefully get a proper patch for the FS
controller.
Antoine Cellerier [Tue, 1 Jul 2008 11:50:57 +0000 (13:50 +0200)]
Fix compilation of VLC with --disable-vlm.
Laurent Aimar [Mon, 30 Jun 2008 23:08:28 +0000 (23:08 +0000)]
Allowed RV32 (same code than RGBA).
Laurent Aimar [Mon, 30 Jun 2008 23:05:19 +0000 (23:05 +0000)]
Fixed chain for chroma+resize.
This allows resizing non overlay output without swscale support.
(I have disabled chroma chain building until someone tests it.)
Christophe Mutricy [Mon, 30 Jun 2008 22:47:17 +0000 (23:47 +0100)]
Distribute lua/lib/misc.h
Antoine Cellerier [Mon, 30 Jun 2008 20:39:13 +0000 (22:39 +0200)]
Here too.
Antoine Cellerier [Mon, 30 Jun 2008 20:27:47 +0000 (22:27 +0200)]
Don't build the rtp module when you don't have gcrypt (I hope it still
works when you have it :p)
Rémi Denis-Courmont [Mon, 30 Jun 2008 19:57:54 +0000 (22:57 +0300)]
Remove the brain-damaged video output destruction code
Fixes crashes, deadlocks and assertions failure with #1650.
One cannot remove object references one does not own.
Reopens #1637.
Antoine Cellerier [Mon, 30 Jun 2008 20:14:01 +0000 (22:14 +0200)]
Fix typo.
Rémi Denis-Courmont [Mon, 30 Jun 2008 19:52:04 +0000 (22:52 +0300)]
Remove the suxor thread
There is enough sucking code.
Antoine Cellerier [Mon, 30 Jun 2008 19:46:43 +0000 (21:46 +0200)]
Fix implicit filter chain module.
Rémi Denis-Courmont [Mon, 30 Jun 2008 19:39:08 +0000 (22:39 +0300)]
Suxor thread: cleanup
Why call vlc_thread_ready when the other side does not wait anyway...
Laurent Aimar [Mon, 30 Jun 2008 18:52:20 +0000 (18:52 +0000)]
Clean up spu/filters when a vout module cannot be loaded.
(The clean up path of vout is in a need of more cleaning).
Laurent Aimar [Mon, 30 Jun 2008 17:59:34 +0000 (17:59 +0000)]
Clean up vout error path.
Correctly free spu and filter chain.
Do not free 2x vout pictures.
(At least, vlc -V x11 does not segfault any more on resize, it
just does not work)
Laurent Aimar [Sun, 29 Jun 2008 22:31:45 +0000 (22:31 +0000)]
Removed an invalid lock.
Olivier Aubert [Mon, 30 Jun 2008 17:51:49 +0000 (19:51 +0200)]
src/control/mediacontrol_audio_video.c: to create a generic object,
its size should be passed to vlc_object_create (instead of VLC_OBJECT_GENERIC)
Olivier Aubert [Mon, 30 Jun 2008 17:24:16 +0000 (19:24 +0200)]
python bindings: fix compilation
Rémi Denis-Courmont [Mon, 30 Jun 2008 16:09:47 +0000 (19:09 +0300)]
Warn in case of dangerous thread join patterns
Rémi Denis-Courmont [Mon, 30 Jun 2008 16:09:15 +0000 (19:09 +0300)]
signal si redumdant after kill
Felix Paul Kühne [Mon, 30 Jun 2008 14:02:48 +0000 (16:02 +0200)]
We don't want to use this module for avc1
Antoine Cellerier [Mon, 30 Jun 2008 13:31:24 +0000 (15:31 +0200)]
Fix clean target.
Felix Paul Kühne [Mon, 30 Jun 2008 12:41:46 +0000 (14:41 +0200)]
Correctly disable the Core Animation vout for the 10.4u target
Antoine Cellerier [Mon, 30 Jun 2008 11:55:59 +0000 (13:55 +0200)]
Note to self: test compilation before applying patches.
Georgi Chorbadzhiyski [Mon, 30 Jun 2008 09:00:34 +0000 (12:00 +0300)]
Add --sout-asf-bitrate-override setting to ASF muxer
This patch adds setting to override calculated bit rate outputted
into ASF stream. This is needed in the cases where ASF muxer
receives stream in TS (for example) and can't correctly determine
what output bit rate should be.
Windows Media Player actually uses ASF bitrate setting to calculate
how much to cache and if the output bit rate is wrong it tries to
cache too much or too little.
To test the behaviour before this patch try to stream WMV in TS
container to another VLC that remuxes it into ASF. Open the remuxed
stream into WMP and you'll see how it tries to cache 1%, 2%, 3%
and so on...
Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
Georgi Chorbadzhiyski [Mon, 30 Jun 2008 09:00:32 +0000 (12:00 +0300)]
Small cleanup in asf muxer. Use SOUT_CFG_PREFIX in options setup.
Small cleanup in asf muxer. Use SOUT_CFG_PREFIX in options setup.
Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
Laurent Aimar [Sun, 29 Jun 2008 22:01:52 +0000 (22:01 +0000)]
Cosmetics (moved down filter2 update)
Laurent Aimar [Sun, 29 Jun 2008 21:09:40 +0000 (21:09 +0000)]
Use ChromaCreate/Destroy when applicable.
Laurent Aimar [Sun, 29 Jun 2008 20:59:01 +0000 (20:59 +0000)]
Added ChromaCreate/Destroy (cosmetic)
Laurent Aimar [Sun, 29 Jun 2008 20:39:05 +0000 (20:39 +0000)]
Do not take/release change_lock inside InitThread/EndThread.
(Cosmetic, it will allow cleaning up a bit the vout thread).
Laurent Aimar [Sun, 29 Jun 2008 20:25:24 +0000 (20:25 +0000)]
Partially fix data leaks when vout creation fails.
Could someone with good vout knowledge review this commit ?
Rémi Denis-Courmont [Sun, 29 Jun 2008 20:21:53 +0000 (23:21 +0300)]
Fix previous commit
Rémi Denis-Courmont [Sun, 29 Jun 2008 20:16:18 +0000 (23:16 +0300)]
Cosmetics
Laurent Aimar [Sun, 29 Jun 2008 19:08:20 +0000 (19:08 +0000)]
Added reget_buffer implementation for correct PTS for codec using it.
This allows playing of MS Video 1 file but it is not yet correct because
of the way VLC handles RGB (it won't work on big endian, and the colors
seem broken).
Jonathan Rosser [Thu, 26 Jun 2008 17:04:48 +0000 (18:04 +0100)]
Add dirac video support to the ogg demuxer
Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
David Flynn [Wed, 25 Jun 2008 12:44:58 +0000 (12:44 +0000)]
ts demux: add support for dirac streams via registration_descriptor
Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
Rémi Denis-Courmont [Sun, 29 Jun 2008 17:41:33 +0000 (20:41 +0300)]
RTP: avoid loosing the first received packet
Laurent Aimar [Sun, 29 Jun 2008 16:23:12 +0000 (16:23 +0000)]
Check against too low sample rate and 0 channel count (avoid division by 0)
Laurent Aimar [Sun, 29 Jun 2008 16:22:19 +0000 (16:22 +0000)]
Check against 0 sample rate (returned by ffmpeg).
Rémi Denis-Courmont [Sun, 29 Jun 2008 15:22:43 +0000 (18:22 +0300)]
schroedinger: fix warnings
Rémi Denis-Courmont [Sun, 29 Jun 2008 15:21:10 +0000 (18:21 +0300)]
Fix corner case memory leak
Rémi Denis-Courmont [Sun, 29 Jun 2008 15:20:36 +0000 (18:20 +0300)]
Announce libschroedinger support
Jonathan Rosser [Fri, 27 Jun 2008 16:17:16 +0000 (17:17 +0100)]
Introduce new codec module to decode dirac video via libschroedinger
Schroedinger is a fast decoder of the Dirac video codec. This plugin
is currently the most complete dirac decoder (compared with ffmpeg or
codec/dirac.c) and should ideally be used in preference
- Input data blocks are handed over to schro which eventually free's them
(avoids memcpy). Freed by SchroBufferFree()
- Share picture storage between schro and vlc -- avoids memcpy of picture
data after decoding. Freed by SchroFrameFree()
- Autodetection of libschroedinger in configure.ac
May be disabled with --disable-schroedinger
- Bumped decoding priority to 200, to beat libavcodec.c and dirac.c,
this module does a better job than either of them.
- Remove potential memory leak when allocating pictures
- Always use p_block rather than priv in SchroBufferFree
- Performs pts interpolation for streams that do not have one pts per picture
- Set progressive, top_field_first and nb_fields on picture_t's properly
- Fix copyright date in header
- Reorder picture_pts_t structure for efficiency
- Print 64 bit types correctly with "%"PRId64
- No need to p_buffer->i_buffer=0 before buffer_Release()
- Work around schroedinger's lack of handling multiple parseunits per block
- Work around corrupt data produced by demux/ts.c after discontinuity
- Correctly reset decoder at Dirac END_OF_SEQUENCE
- Split decoding loop into two parts:
- First, injecting [valid] parse units into the decoder
- Second, itterating the decoder
Signed-off-by: David Flynn <davidf@woaf.net>
Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
Filippo Carone [Sun, 29 Jun 2008 12:34:55 +0000 (14:34 +0200)]
failing test for libvlc_media_list_player added
Felix Paul Kühne [Sat, 28 Jun 2008 22:37:29 +0000 (00:37 +0200)]
*cough*
Felix Paul Kühne [Sat, 28 Jun 2008 22:34:37 +0000 (00:34 +0200)]
Don't try to use 10.5-only threading features on a 10.4u target. Fixes #1614 on OS X.
Laurent Aimar [Sat, 28 Jun 2008 22:20:12 +0000 (22:20 +0000)]
Do not delete input variable, only remove callbacks (and all of them).
Otherwise, every one would have to check the return value of var_Get ...
Antoine Cellerier [Sat, 28 Jun 2008 22:20:01 +0000 (00:20 +0200)]
Simplify.
Laurent Aimar [Sat, 28 Jun 2008 22:12:00 +0000 (22:12 +0000)]
Fixed segfault when parsing wav file to check for dts/a52.
Laurent Aimar [Sat, 28 Jun 2008 22:09:27 +0000 (22:09 +0000)]
Fixed segfault on corrupted wav file.
Antoine Cellerier [Sat, 28 Jun 2008 22:04:43 +0000 (00:04 +0200)]
Remove trailing spaces.
Laurent Aimar [Sat, 28 Jun 2008 22:03:31 +0000 (22:03 +0000)]
Fixed buffer size computation with non zero bits per sample mod 8.
Laurent Aimar [Sat, 28 Jun 2008 21:59:48 +0000 (21:59 +0000)]
Fixed invalid unlock on invalid audio format.
Antoine Cellerier [Sat, 28 Jun 2008 21:58:29 +0000 (23:58 +0200)]
Don't assert.
Rémi Denis-Courmont [Sat, 28 Jun 2008 11:10:15 +0000 (14:10 +0300)]
wav: fix integer underflow
(cherry picked from commit
105335dd73917555335c03460aaa67fcdb9d4a55 )
Rémi Denis-Courmont [Sat, 28 Jun 2008 11:00:57 +0000 (14:00 +0300)]
wav: fix integer overflow (CVE-2008-2430)
When i_size is sufficiently large, we would overflow malloc(), and then
overwrite the heap with stream_Read().
Bug reported by: Alin Rad Pop, Secunia Research.
(cherry-picked from commit
95e2f0ff579a5b987cbde9454aa1fc86080528e2 )
Laurent Aimar [Sat, 28 Jun 2008 21:40:12 +0000 (21:40 +0000)]
Fixed use of freed memory every time rtmp access is probed/used.
(for example, on invalid file ...)
Rémi Duraffort [Sat, 28 Jun 2008 21:33:03 +0000 (23:33 +0200)]
Check malloc return value.
Ilkka Ollakka [Sat, 28 Jun 2008 21:22:21 +0000 (00:22 +0300)]
fix error: lua playlist warning: Error while runing script
share/lua/meta/googleimage.lua, function fetch_art(): share/lua/meta/googleimage.lua:43: calling
'stream' on bad self (string expected, got table)
Rémi Duraffort [Sat, 28 Jun 2008 21:14:41 +0000 (23:14 +0200)]
Fix memleak when the codec can't be loaded.
Felix Paul Kühne [Sat, 28 Jun 2008 21:12:05 +0000 (23:12 +0200)]
No need to patch FFmpeg's MMX code if we are on Darwin-ppc
Rémi Duraffort [Sat, 28 Jun 2008 21:03:03 +0000 (23:03 +0200)]
Don't leak an object in case of an error.
Rémi Duraffort [Sat, 28 Jun 2008 20:35:49 +0000 (22:35 +0200)]
Remove unused variables.
Rémi Duraffort [Sat, 28 Jun 2008 20:30:41 +0000 (22:30 +0200)]
Fix compilation warning.
Rémi Denis-Courmont [Sat, 28 Jun 2008 20:02:17 +0000 (23:02 +0300)]
Forgot this file
Rémi Denis-Courmont [Sat, 28 Jun 2008 19:52:16 +0000 (22:52 +0300)]
Qt4: weak reference the video output...
...so we don't try to vout_Control() it after it's been destroyed.
We cannot yield the video output for real either, as it would prevent
it from being destroyed once it is not needed anymore.
Rémi Denis-Courmont [Sat, 28 Jun 2008 19:22:00 +0000 (22:22 +0300)]
playlist: release video outputs *once* - fixes #1593
Releasing other thread's references is not a very good idea...
Rémi Denis-Courmont [Sat, 28 Jun 2008 18:46:26 +0000 (21:46 +0300)]
VLC_OBJECT_FILTER: remove