]>
git.sesse.net Git - vlc/log
Pavlov Konstantin [Mon, 3 Mar 2008 22:41:27 +0000 (01:41 +0300)]
toolbox: check for other files instead of missing ones.
Pierre d'Herbemont [Mon, 3 Mar 2008 21:29:21 +0000 (22:29 +0100)]
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++.
Pierre d'Herbemont [Mon, 3 Mar 2008 21:25:32 +0000 (22:25 +0100)]
cmake: Fix tests.
Rémi Denis-Courmont [Mon, 3 Mar 2008 20:37:29 +0000 (22:37 +0200)]
Remove the unneeded vlc_object_destroy logger hack, and fix wrapping.
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
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)
Rémi Duraffort [Mon, 3 Mar 2008 18:05:24 +0000 (19:05 +0100)]
Use (void) instead of VLC_UNUSED (with pierre agreement)
Rémi Duraffort [Mon, 3 Mar 2008 17:54:54 +0000 (18:54 +0100)]
Revert "Include vlc_common.h to get VLC_UNUSED()"
This reverts commit
805980f9540538da4ca6f1f6d8fcf9a19f34375f .
Rémi Denis-Courmont [Mon, 3 Mar 2008 17:58:50 +0000 (19:58 +0200)]
Fix a bunch of format string injection in the Real RTSP access
...or why is asprintf() not the same as strdup().
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Rémi Denis-Courmont [Mon, 3 Mar 2008 17:51:52 +0000 (19:51 +0200)]
Detect division by zero before it happens
Pointed-out-by: Drew Yao
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Rémi Denis-Courmont [Mon, 3 Mar 2008 17:27:39 +0000 (19:27 +0200)]
Use calloc() instead of malloc() - fixes integer overflow...
...assuming you have non-buggy calloc() implementation.
Pointed-out-by: Drew Yao
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Pierre d'Herbemont [Mon, 3 Mar 2008 17:14:01 +0000 (18:14 +0100)]
Include vlc_common.h to get VLC_UNUSED()
Rémi Denis-Courmont [Mon, 3 Mar 2008 17:06:48 +0000 (19:06 +0200)]
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.
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Pierre d'Herbemont [Mon, 3 Mar 2008 16:58:50 +0000 (17:58 +0100)]
network/rootwrap.c: Unused args fix.
Rémi Denis-Courmont [Mon, 3 Mar 2008 16:49:08 +0000 (18:49 +0200)]
Use 443 rather than 80 as the implicit Host: port when using TLS
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Faustino Osuna [Mon, 3 Mar 2008 16:10:46 +0000 (16:10 +0000)]
Make sure there is a new-line at the end of the .gitignore files.
Rémi Denis-Courmont [Mon, 3 Mar 2008 15:53:12 +0000 (17:53 +0200)]
Revert "Don't test for buggy libintl when NLS is disabled"
strerror_r() will still crash as setlocale() is used regardless of
ENABLE_NLS.
This reverts commit
61d0ac25f124103bcdf609d16e5d489bfaa54e0f .
Rémi Duraffort [Mon, 3 Mar 2008 14:14:18 +0000 (15:14 +0100)]
Another check for malloc.
Rémi Duraffort [Mon, 3 Mar 2008 13:55:52 +0000 (14:55 +0100)]
Check only one time the return value of malloc.
Rémi Duraffort [Mon, 3 Mar 2008 12:25:05 +0000 (13:25 +0100)]
Check the return value of malloc.
Rémi Duraffort [Mon, 3 Mar 2008 11:24:11 +0000 (12:24 +0100)]
Check the return value of malloc.
Rémi Duraffort [Mon, 3 Mar 2008 10:49:08 +0000 (11:49 +0100)]
Remove unecessary msg_Err according to rem remark.
Rémi Duraffort [Mon, 3 Mar 2008 10:46:55 +0000 (11:46 +0100)]
Check the return value of services_discovery_GetServicesNames.
If mac users can test ... (evenif it's really simple)
Faustino Osuna [Mon, 3 Mar 2008 08:40:48 +0000 (08:40 +0000)]
Add more ignores for cmake and Mac OS X build folders.
Faustino Osuna [Mon, 3 Mar 2008 08:19:14 +0000 (08:19 +0000)]
Add more ignores.
Pierre d'Herbemont [Mon, 3 Mar 2008 02:26:11 +0000 (03:26 +0100)]
src/input/decoder.c: More unused args fix.
Pierre d'Herbemont [Mon, 3 Mar 2008 02:18:24 +0000 (03:18 +0100)]
control/media_library.c: Fix more unused args.
Jean-Baptiste Kempf [Mon, 3 Mar 2008 02:03:23 +0000 (18:03 -0800)]
Win32 doesn't need the MMX patch...
Pierre d'Herbemont [Mon, 3 Mar 2008 01:55:54 +0000 (02:55 +0100)]
darwin_specific.c: unused warning fix.
Pierre d'Herbemont [Mon, 3 Mar 2008 01:45:45 +0000 (02:45 +0100)]
text/unicode.c: More unused warning fix.
Pierre d'Herbemont [Mon, 3 Mar 2008 01:30:51 +0000 (02:30 +0100)]
interface/intf_eject.c: Fix a unused param warning.
Jean-Baptiste Kempf [Mon, 3 Mar 2008 01:20:05 +0000 (17:20 -0800)]
Qt4: Small fix and speedup
Christophe Mutricy [Mon, 3 Mar 2008 00:04:36 +0000 (00:04 +0000)]
Don't test for buggy libintl when NLS is disabled
Christophe Mutricy [Sun, 2 Mar 2008 23:47:55 +0000 (23:47 +0000)]
Don't check for headers. Pkg-config is enough
Ilkka Ollakka [Mon, 3 Mar 2008 00:23:53 +0000 (02:23 +0200)]
set i_start_time with AV_TIME_BASE, fixes streaming flv from file (for me)
and doesn't seem to affect any regression on demuxing.
Pierre d'Herbemont [Sun, 2 Mar 2008 22:45:00 +0000 (23:45 +0100)]
cmake: Add a small info.
Pierre d'Herbemont [Sun, 2 Mar 2008 22:27:04 +0000 (23:27 +0100)]
More Id and permission fixes.
Pavlov Konstantin [Sun, 2 Mar 2008 22:01:55 +0000 (01:01 +0300)]
Fix $Id$ (probably)
Mark Moriarty [Sun, 2 Mar 2008 21:15:59 +0000 (16:15 -0500)]
A few more ignores in contrib.
Rémi Denis-Courmont [Sun, 2 Mar 2008 19:23:42 +0000 (21:23 +0200)]
Set the DCCP service code(s) from RTP stream output
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Rémi Denis-Courmont [Sun, 2 Mar 2008 19:01:43 +0000 (21:01 +0200)]
Set the DCCP service code properly.
Assume RTP converys video (which is fine for MPEG-TS), as we cannot
know if it's only audio anyway.
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Rémi Denis-Courmont [Sun, 2 Mar 2008 18:02:34 +0000 (20:02 +0200)]
pkg-config support to libvlc-control
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
André Weber [Sun, 2 Mar 2008 17:37:32 +0000 (18:37 +0100)]
Merge branch 'master' of git@git.videolan.org:vlc
Rémi Denis-Courmont [Sun, 2 Mar 2008 17:28:00 +0000 (19:28 +0200)]
Ignore all object files, not just vlc.o
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Rémi Denis-Courmont [Sun, 2 Mar 2008 17:08:32 +0000 (19:08 +0200)]
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>
Jean-Paul Saman [Sun, 2 Mar 2008 17:22:31 +0000 (18:22 +0100)]
Again id weirdness.
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 17:17:10 +0000 (18:17 +0100)]
Add more files to ignore.
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
Jean-Paul Saman [Sun, 2 Mar 2008 17:16:21 +0000 (18:16 +0100)]
Remove useless error messages when allocation of structures failed.
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
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>
Jean-Paul Saman [Sun, 2 Mar 2008 14:23:38 +0000 (15:23 +0100)]
Fix building of goom on Linux.
André Weber [Sun, 2 Mar 2008 16:07:53 +0000 (17:07 +0100)]
Revert "#492 bugfix, for SPDIF audio ouput of AC3 and DTS sound on Windows"
This reverts commit
9438646c972ab353d6cd686397f29e16174499ef .
wrong file in my list I'am sorry, and wrong file modes
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
Pierre d'Herbemont [Sun, 2 Mar 2008 13:57:51 +0000 (14:57 +0100)]
contrib/.gitignore: s/.make/.mak/.
Pierre d'Herbemont [Sun, 2 Mar 2008 13:44:36 +0000 (14:44 +0100)]
Supports $ rewrite via .gitattributes
Rémi Duraffort [Sun, 2 Mar 2008 12:31:19 +0000 (13:31 +0100)]
Avoid a segfault when services_discovery_GetServicesNames fail.
Rémi Duraffort [Sun, 2 Mar 2008 12:24:35 +0000 (13:24 +0100)]
Check the returned values of malloc.
Pierre d'Herbemont [Sun, 2 Mar 2008 12:35:28 +0000 (13:35 +0100)]
contrib: set .gitignore.
Rémi Denis-Courmont [Sun, 2 Mar 2008 11:51:38 +0000 (13:51 +0200)]
Ignore files create by configure
This only affects people still not building from subdir.
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Rémi Denis-Courmont [Sun, 2 Mar 2008 09:56:03 +0000 (11:56 +0200)]
Attach the RTP access output grabber object.
Fix #1486
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Rémi Denis-Courmont [Sat, 1 Mar 2008 22:17:40 +0000 (00:17 +0200)]
Remove the mmap debugging for now.
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Rémi Denis-Courmont [Sat, 1 Mar 2008 21:39:37 +0000 (23:39 +0200)]
Add the common libtool objects to the global ignore list
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Rémi Denis-Courmont [Sat, 1 Mar 2008 21:36:03 +0000 (23:36 +0200)]
Special case support --sout URL syntax for RTP demux.
This is meant so that this will still work:
$ vlc --sout rtp/ts://239.255.12.42
Also, these new constructs will work:
$ vlc --sout dccp/ts://[::]
$ vlc --sout udplite/ts://239.255.42.12
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Rémi Denis-Courmont [Sat, 1 Mar 2008 21:34:57 +0000 (23:34 +0200)]
Use a single --sout-rtp-proto string rather than multiple silently
conflicting booleans to select the RTP transport protocol.
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Rémi Denis-Courmont [Sat, 1 Mar 2008 20:32:30 +0000 (22:32 +0200)]
Fix (trunk-only) integer underflow in MP4 0xa9xxx box
Pointed-out-by: Drew Yao
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Rémi Denis-Courmont [Sat, 1 Mar 2008 20:22:48 +0000 (22:22 +0200)]
Fix integer overflow in MP4 RDRF boxes
Pointed-out-by: Drew Yao
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Rémi Denis-Courmont [Sat, 1 Mar 2008 20:22:23 +0000 (22:22 +0200)]
Fix memory leak in case of corrupt MP4 box
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Rémi Denis-Courmont [Sat, 1 Mar 2008 19:59:05 +0000 (21:59 +0200)]
Ignore PO files
Rémi Denis-Courmont [Sat, 1 Mar 2008 19:52:51 +0000 (21:52 +0200)]
Initial .gitignore
Pierre d'Herbemont [Sun, 2 Mar 2008 01:55:08 +0000 (02:55 +0100)]
misc/events.c: Removing an comment that does not belong there.
Christophe Mutricy [Sun, 2 Mar 2008 00:09:35 +0000 (00:09 +0000)]
use proper error
Rémi Denis-Courmont [Sat, 1 Mar 2008 18:59:18 +0000 (18:59 +0000)]
Simplify.
The previous commit "accidentally" worked around Drew Yao's first integer overflow.
Rémi Denis-Courmont [Sat, 1 Mar 2008 18:54:56 +0000 (18:54 +0000)]
Fix buffer overflow.
Rémi Denis-Courmont [Sat, 1 Mar 2008 18:31:32 +0000 (18:31 +0000)]
Fix calloc usage
Rémi Denis-Courmont [Sat, 1 Mar 2008 18:25:25 +0000 (18:25 +0000)]
Another malloc check
Rémi Denis-Courmont [Sat, 1 Mar 2008 18:20:01 +0000 (18:20 +0000)]
Check some malloc() failures - yes it can happen when the alloc size is variable. Unfortunately, the MP4 code seems pretty hopeless.
Rémi Denis-Courmont [Sat, 1 Mar 2008 17:42:57 +0000 (17:42 +0000)]
Fix some brain-damaged calloc use
(Hint: sizeof(char) is ONE per the definition of sizeof)
(Hint: size is the SECOND parameter of calloc, not the FIRST one)
(Hint: calloc() calls bzero(), waste of time if memory is set anyway)
Rémi Denis-Courmont [Sat, 1 Mar 2008 17:27:36 +0000 (17:27 +0000)]
Mark the callback list as const
(unfortunately, it will not be shareable since it contains relocations)
Rémi Denis-Courmont [Sat, 1 Mar 2008 17:25:57 +0000 (17:25 +0000)]
Fix a few warnings
Mark Moriarty [Sat, 1 Mar 2008 00:21:04 +0000 (00:21 +0000)]
Permit counter stat update per frame (appears to have no or little performance impact).
Christophe Mutricy [Fri, 29 Feb 2008 22:19:07 +0000 (22:19 +0000)]
No need to test for avutil.h a second time
Jean-Paul Saman [Fri, 29 Feb 2008 19:29:48 +0000 (19:29 +0000)]
Typo
Faustino Osuna [Fri, 29 Feb 2008 19:24:48 +0000 (19:24 +0000)]
macosx/VLCKit: Take the time to run through config.cmake even if CMakeCache.txt exists.
Pierre d'Herbemont [Fri, 29 Feb 2008 19:09:17 +0000 (19:09 +0000)]
control/event.c: Remove libvlc_event_detach_lock_state().
Faustino Osuna [Fri, 29 Feb 2008 18:58:36 +0000 (18:58 +0000)]
extras/contrib/Makefile: Fix typo in qt4_win32 rule.
Faustino Osuna [Fri, 29 Feb 2008 18:54:02 +0000 (18:54 +0000)]
cmake/config.cmake: Add debug flags to see if ffmpeg is really being detected.
Faustino Osuna [Fri, 29 Feb 2008 18:42:30 +0000 (18:42 +0000)]
control/testapi.c: Detach event that was originally attached.
Faustino Osuna [Fri, 29 Feb 2008 18:41:02 +0000 (18:41 +0000)]
control/event.c: Fix infinite loop.
Faustino Osuna [Fri, 29 Feb 2008 17:49:40 +0000 (17:49 +0000)]
cmake/config.cmake: Look for postproc/postprocess.h or libpostproc/postprocess.h.
Pierre d'Herbemont [Fri, 29 Feb 2008 17:08:57 +0000 (17:08 +0000)]
ffmpeg: Add AC-3 Audio (Dolby Digital) to ffmpeg module. (Thanks to dynaflash for reporting).
Faustino Osuna [Fri, 29 Feb 2008 17:04:45 +0000 (17:04 +0000)]
Fix previous commit.
Faustino Osuna [Fri, 29 Feb 2008 16:44:10 +0000 (16:44 +0000)]
Let's try this again. Detect older and new versions of ffmpeg and allow for their coexistence within VLC.
Pierre d'Herbemont [Fri, 29 Feb 2008 15:09:18 +0000 (15:09 +0000)]
cmake: s/sout_ts/mux_ts/g
Pierre d'Herbemont [Fri, 29 Feb 2008 14:46:52 +0000 (14:46 +0000)]
cmake: Add sout modules.
Jean-Paul Saman [Fri, 29 Feb 2008 14:37:22 +0000 (14:37 +0000)]
small cleanup
Jean-Paul Saman [Fri, 29 Feb 2008 14:35:40 +0000 (14:35 +0000)]
check for malloc return value
Jean-Paul Saman [Fri, 29 Feb 2008 14:29:40 +0000 (14:29 +0000)]
Patch by Johannes Buchner (buchner.johannes at gmx do at): Hotkeys for zoom.
Pierre d'Herbemont [Fri, 29 Feb 2008 13:52:08 +0000 (13:52 +0000)]
input/input.c: Misformatted if statement fix. Could someone check if that's really the wanted behaviour though.
Faustino Osuna [Fri, 29 Feb 2008 01:43:53 +0000 (01:43 +0000)]
Too many problems with new ffmpeg detection, reverting to last known good (rev 25403).
Faustino Osuna [Fri, 29 Feb 2008 00:46:50 +0000 (00:46 +0000)]
Detect and allow older versions of ffmpeg to be used in conjunction with VLC.
Faustino Osuna [Thu, 28 Feb 2008 23:09:18 +0000 (23:09 +0000)]
Update svn:ignore and remove vlc.win32.nsi, as vlc.win32.nsi.in have been moved to extras/package/win32/.