Felix Paul Kühne [Sun, 23 Mar 2008 14:19:26 +0000 (15:19 +0100)]
removed trailing spaces, cough
Felix Paul Kühne [Sun, 23 Mar 2008 14:16:04 +0000 (15:16 +0100)]
finished hotkeys settings in simple prefs
Includes an array of not-to-be-used keys
Shows modifier keys with their corresponding symbols instead of 'Alt', etc.
Saving combinations of multiple keys won't crash anymore, but work as expected
Felix Paul Kühne [Sun, 23 Mar 2008 14:02:21 +0000 (15:02 +0100)]
updated the list of shortcuts not to be used on Mac OS X
Felix Paul Kühne [Sun, 23 Mar 2008 13:23:15 +0000 (14:23 +0100)]
fixed typo
Filippo Carone [Sun, 23 Mar 2008 12:28:00 +0000 (13:28 +0100)]
more unit test and functions for media list
Rémi Denis-Courmont [Sun, 23 Mar 2008 08:49:16 +0000 (10:49 +0200)]
Remove the autoconf hack, fix gettext broken in
b6c4b865
and fix the M4 ignore rules
User [Sun, 23 Mar 2008 02:57:36 +0000 (02:57 +0000)]
Revert "Update gettext"
This reverts commit
8b71b1041b0ba6304f864c977c1a2dceb725a0cd.
Most developers did not update their gettext install
Bumping gettext requirement is useless.
Pierre d'Herbemont [Sun, 23 Mar 2008 00:50:51 +0000 (01:50 +0100)]
Re-checking src/interface/interface.h.
Pierre d'Herbemont [Sun, 23 Mar 2008 00:31:07 +0000 (01:31 +0100)]
autotools: Distribute src/interface/interface.h
Pierre d'Herbemont [Sun, 23 Mar 2008 00:16:36 +0000 (01:16 +0100)]
input: Remove input_DestroyThread() as it is now handled via vlc_object_release().
Pierre d'Herbemont [Sun, 23 Mar 2008 00:15:54 +0000 (01:15 +0100)]
objects: Call vlc_object_join() automatically from vlc_object_destructor() if needed.
interaction: No need to call vlc_object_join() now.
Pierre d'Herbemont [Sat, 22 Mar 2008 23:55:15 +0000 (00:55 +0100)]
interaction: Keep a libvlc's global interaction object reference around, and properly release it when done.
Pierre d'Herbemont [Sat, 22 Mar 2008 23:51:03 +0000 (00:51 +0100)]
objects: Send a vlc_object_kill from vlc_object_destroy() to make sure vlc_object_release() can properly free all the allocated resources when the refcount reach zero.
Previously you need to send a vlc_object_kill() prior to a vlc_object_release() to get your object actually destroyed, which rendered the refcounting unusuable in some cases.
Jean-Baptiste Kempf [Sat, 22 Mar 2008 22:32:32 +0000 (15:32 -0700)]
Uniformisation and configurability of Mouse Hidding Time. Patch by Lukas Durfina
Jean-Baptiste Kempf [Sat, 22 Mar 2008 22:02:46 +0000 (15:02 -0700)]
Nasm bump to 2.02
Jean-Baptiste Kempf [Sat, 22 Mar 2008 21:34:33 +0000 (14:34 -0700)]
Use VideoLAN VLC media player as a brand name.
Jean-Baptiste Kempf [Sat, 22 Mar 2008 20:22:29 +0000 (13:22 -0700)]
Add "" around DVD/VCD/CDDA devices... Should help to play .iso and VIDEO_TS folder with spaces in it. Watch that for any regressions.
Jean-Baptiste Kempf [Sat, 22 Mar 2008 20:20:40 +0000 (13:20 -0700)]
Don't set the privacy dialog as a MI child.
Jean-Baptiste Kempf [Sat, 22 Mar 2008 07:12:18 +0000 (00:12 -0700)]
Fix the '@' disappearance in UDP addresses.
Jean-Baptiste Kempf [Sat, 22 Mar 2008 05:16:07 +0000 (22:16 -0700)]
Add two FourCC that are actually decoded.
Rafaël Carré [Sat, 22 Mar 2008 01:39:34 +0000 (02:39 +0100)]
ncurses: link with libtinfo(w) only if needed
Sam Hocevar [Fri, 21 Mar 2008 21:50:25 +0000 (22:50 +0100)]
Fix a potential corruption in release_input_thread().
If the media instance owns the input and libvlc_media_instance_release()
is called immediately after libvlc_media_instance_stop(), there is a
chance that we try to free the input resources before the thread is
effectively terminated. To avoid this, we call input_DestroyThread()
instead of vlc_object_release() at the end of release_input_thread() when
the media instance owns the input thread.
Sam Hocevar [Fri, 21 Mar 2008 21:25:30 +0000 (21:25 +0000)]
Various spelling fixes.
Sam Hocevar [Fri, 21 Mar 2008 21:17:57 +0000 (21:17 +0000)]
Add missing p_vout->pf_end in vmem.c and snapshot.c
The p_vout->pf_end method is mandatory for video output modules. It is
called from so many places in libvlc that it would be too tedious to
make it optional. I'm therefore adding empty methods to modules instead.
James Bond [Fri, 21 Mar 2008 19:23:46 +0000 (20:23 +0100)]
We are not using svn anymore
Rafaël Carré [Thu, 20 Mar 2008 22:48:45 +0000 (23:48 +0100)]
DM: Use built-in priority for known codecs
Not every dailymotion video is available in vp6
Felix Paul Kühne [Fri, 21 Mar 2008 16:37:06 +0000 (17:37 +0100)]
fixed a couple of download sites (mostly related to the heanet failure) and fixed the wget usage in some firewalled setups)
Felix Paul Kühne [Fri, 21 Mar 2008 16:31:21 +0000 (17:31 +0100)]
compile before you commit, will you?
Felix Paul Kühne [Fri, 21 Mar 2008 16:09:44 +0000 (17:09 +0100)]
synced patch with current FFmpeg svn
Filippo Carone [Fri, 21 Mar 2008 15:22:25 +0000 (16:22 +0100)]
new failing test for medialistplayer_next
Sam Hocevar [Fri, 21 Mar 2008 14:26:30 +0000 (14:26 +0000)]
New video output driver: "vmem", for direct memory access.
Sometimes our list of video output modules is still not enough for an
external libvlc application with specific requirements. For instance, an
SDL application running in full screen cannot open a new window on Linux
(this is a known libSDL limitation). This vmem video output allows it to
asynchronously render the video into an SDL_Surface, with full locking.
Resolution or pitch changes are not supported yet. I'd advise against
them however, since they often require a full chroma unload/reload
operation, which is quite expensive.
I also believe this feature should be directly integrated into libvlc,
but I don't want to be too intrusive yet.
Filippo Carone [Fri, 21 Mar 2008 14:21:52 +0000 (15:21 +0100)]
give the opportunity to play synchronously
Filippo Carone [Fri, 21 Mar 2008 14:21:23 +0000 (15:21 +0100)]
addMediaDescriptor refactored to addMedia
Filippo Carone [Fri, 21 Mar 2008 14:03:29 +0000 (15:03 +0100)]
fix for #1533: check on array boundaries before removing media
Filippo Carone [Thu, 20 Mar 2008 23:32:47 +0000 (00:32 +0100)]
more unit tests
Filippo Carone [Thu, 20 Mar 2008 23:31:58 +0000 (00:31 +0100)]
create a medialist on JVLC creation
André Weber [Thu, 20 Mar 2008 20:17:48 +0000 (21:17 +0100)]
Fix the handling of string variable - store them as UTF-8 into the config variables, also convert the StringList values to an UTF8 string before putting them into a QVariant - which seems not to work if created from a "char *" - because later converterd QVariant->toString() isn't UTF8 like expected.
waveout.c forgott to convert string to UTF8 before storing in choice list
Filippo Carone [Thu, 20 Mar 2008 19:44:24 +0000 (20:44 +0100)]
media instance tests added
Filippo Carone [Wed, 19 Mar 2008 13:36:05 +0000 (14:36 +0100)]
ignore samples/target folder
Filippo Carone [Wed, 19 Mar 2008 13:29:36 +0000 (14:29 +0100)]
some media descriptor tests
Sam Hocevar [Thu, 20 Mar 2008 18:25:02 +0000 (18:25 +0000)]
Ignore Qt generated files.
qt4-uic (the Qt user interface compiler) and rcc (the Qt resource compiler)
create .cpp and .h files that we don't want to track. Adding them to
.gitignore.
Sam Hocevar [Thu, 20 Mar 2008 18:11:53 +0000 (18:11 +0000)]
Minor Windows ME build fixes.
Add a --disable-wince option so that we can disable this (probably broken)
plugin's build when mingwce is detected. Also, add -lmmtimer to the libvlc
link flags because this is where timeGetTime() lies.
Sam Hocevar [Thu, 20 Mar 2008 17:43:48 +0000 (17:43 +0000)]
Documentation updates.
Made the Doxygen headers slightly clearer when directly read from the
header file, fixed grammar and spelling here and there, added some
missing \param and \return tags (though a lot remains to be done).
Sam Hocevar [Thu, 20 Mar 2008 17:38:00 +0000 (17:38 +0000)]
Merge branch 'master' of git@git.videolan.org:vlc
Rémi Denis-Courmont [Thu, 20 Mar 2008 17:08:30 +0000 (19:08 +0200)]
Don't use strcpy() on overlapping memory buffers - fixes #1500
Sam Hocevar [Thu, 20 Mar 2008 16:59:11 +0000 (16:59 +0000)]
Put (void)val; here and there to tell gcc we used the variable.
The spin_lock wrappers do not use the return value of the functions they
wrap, resulting in dozens of compiler warnings because they are inline
functions. There is no elegant solution to this, I hope using (void)val;
is the least shocking alternative.
Ilkka Ollakka [Thu, 20 Mar 2008 16:01:00 +0000 (18:01 +0200)]
set rc_method = X264_RC_CQP if qp is set
set qpmin/qpmax even without qp set.
more constant on x264 parameters handling.
Pierre d'Herbemont [Wed, 19 Mar 2008 22:23:27 +0000 (23:23 +0100)]
libvlc.sym: Add __vlc_object_set_destructor and fix make check.
Jean-Baptiste Kempf [Wed, 19 Mar 2008 22:08:27 +0000 (15:08 -0700)]
Small size adjustement.
Jean-Baptiste Kempf [Wed, 19 Mar 2008 22:06:21 +0000 (15:06 -0700)]
Fix "Remove security-policy UI" [
2db278fa3a9a53f1ab026acfd83672a405cb2e9f] commit that made overlapping.
Rémi Denis-Courmont [Wed, 19 Mar 2008 19:00:19 +0000 (21:00 +0200)]
Remove redumdant Makefile target
Rémi Denis-Courmont [Wed, 19 Mar 2008 18:59:09 +0000 (20:59 +0200)]
pkg-config for the plugin API
(Don't expect this to work yet though)
Rémi Denis-Courmont [Wed, 19 Mar 2008 18:52:05 +0000 (20:52 +0200)]
Use NDEBUG
Rémi Denis-Courmont [Wed, 19 Mar 2008 18:40:16 +0000 (20:40 +0200)]
Set PLUGIN_PATH and LOCALEDIR only for libvlc
Rémi Denis-Courmont [Wed, 19 Mar 2008 17:31:15 +0000 (19:31 +0200)]
SAP: m= subtype is not supposed to be a number in with the "udp"
protocol, so don't try to use atoi() there.
Rémi Denis-Courmont [Wed, 19 Mar 2008 16:58:46 +0000 (18:58 +0200)]
vlc_fixups.h: Protect against multiple inclusions
Rémi Denis-Courmont [Wed, 19 Mar 2008 16:46:53 +0000 (18:46 +0200)]
file access: Remove expand path, spare one dummy duplication
Rémi Denis-Courmont [Wed, 19 Mar 2008 16:37:26 +0000 (18:37 +0200)]
Factorize the localtime_r replacement
Sam Hocevar [Wed, 19 Mar 2008 13:53:57 +0000 (13:53 +0000)]
Use LoadLibrary instead of LoadLibraryA.
LoadLibrary can either point to LoadLibraryA or LoadLibraryW depending
on the system and build options, so let's use LoadLibrary everywhere
for consistency. Also, wrap static argument strings with _T() so that
they're automatically in the right format.
Pavlov Konstantin [Wed, 19 Mar 2008 15:31:07 +0000 (18:31 +0300)]
Fix Array Indexing Vulnerability in sdpplin_parse(). (CVE-2008-0073). (closes #1531).
Thanks to Alin Rad Pop, Secunia Research.
Ported from libxine.
Sam Hocevar [Wed, 19 Mar 2008 13:18:09 +0000 (13:18 +0000)]
Add a --disable-vlc configure flag to not build VLC.
In some cases (eg. when building binary packages) one only needs libvlc
and libvlc-control and does not wish to build or install VLC binaries.
This --disable-vlc flag saves us from manually removing the unwanted
binaries after "make install".
Filippo Carone [Wed, 19 Mar 2008 13:10:06 +0000 (14:10 +0100)]
more libvlc_media_list_player tests
Pierre d'Herbemont [Wed, 19 Mar 2008 12:45:18 +0000 (13:45 +0100)]
auhal: Fix kAudioDevicePropertyDeviceIsAlive check (vlc_bool_t size has changed and doesn't match anymore the needed param size for kAudioDevicePropertyDeviceIsAlive).
Pierre d'Herbemont [Wed, 19 Mar 2008 12:17:46 +0000 (13:17 +0100)]
auhal: Replace deprecated Add/RemoveProc calls by Create/DestroyProcID calls.
Pierre d'Herbemont [Wed, 19 Mar 2008 11:06:07 +0000 (12:06 +0100)]
auhal: Make sure gettimeofday is defined.
Pierre d'Herbemont [Wed, 19 Mar 2008 09:31:46 +0000 (10:31 +0100)]
Revert "Fix compilation, by "fixing" VLC_PUBLIC_API." as the compilation breakage on Qt4 was obviously a typo in
461e426f5.
This reverts commit
82d39c38faa8a4eaeb613d65d27957321f449c02.
Pierre d'Herbemont [Wed, 19 Mar 2008 09:30:17 +0000 (10:30 +0100)]
qt4: Fix open_panels.cpp compilation.
Pierre d'Herbemont [Wed, 19 Mar 2008 06:53:24 +0000 (07:53 +0100)]
Fix compilation, by "fixing" VLC_PUBLIC_API.
Revert "VLC_PUBLIC_API needs extern "C" on windows/c++ too."
This reverts commit
4af174fcd8b06d416eb499a61f56029a2d48bd90.
Revert "Mark VLC_PUBLIC_API as extern "C" when using C++."
This reverts commit
879e3eb226c7df84db6868b25964830664f92ebb.
Don't publish the default object destructor. (VLC_PUBLIC_API is broken)
Jean-Baptiste Kempf [Wed, 19 Mar 2008 02:42:12 +0000 (19:42 -0700)]
Add "" around subtitles name. Fix #1528
Pierre d'Herbemont [Wed, 19 Mar 2008 01:32:28 +0000 (02:32 +0100)]
media_instance: Don't rely on vlc_object_find now that input refcounting is fixed.
Pierre d'Herbemont [Wed, 19 Mar 2008 01:05:06 +0000 (02:05 +0100)]
control/media_instance.c: Fix libvlc_media_instance_new_from_input_thread() now that input refcounting is fixed.
Rafaël Carré [Wed, 19 Mar 2008 00:55:49 +0000 (01:55 +0100)]
Add FLV mimetypes in browser plugins
Patch contributed by dkl0
Pierre d'Herbemont [Wed, 19 Mar 2008 00:37:24 +0000 (01:37 +0100)]
control/media_descriptor.c: Proper vlc: URL.
Pierre d'Herbemont [Wed, 19 Mar 2008 00:30:09 +0000 (01:30 +0100)]
vlm: Don't automatically detach in vlm_Delete if not needed, this will be done at destroy time if needed (This should fix some rare bug).
Pierre d'Herbemont [Wed, 19 Mar 2008 00:29:12 +0000 (01:29 +0100)]
objects.c: Automatically detach from the parent.
Pierre d'Herbemont [Wed, 19 Mar 2008 00:24:36 +0000 (01:24 +0100)]
vlm: Fix destruction by using correctly using refcounting.
Pierre d'Herbemont [Tue, 18 Mar 2008 23:42:00 +0000 (00:42 +0100)]
VLC_PUBLIC_API needs extern "C" on windows/c++ too.
Pierre d'Herbemont [Tue, 18 Mar 2008 23:36:33 +0000 (00:36 +0100)]
input: Get rid of Destroy(), and move sout keeping code to the destructor.
Pierre d'Herbemont [Tue, 18 Mar 2008 23:02:47 +0000 (00:02 +0100)]
input: Use a Destructor to delete critical resources. Destroy() should be removed.
Pierre d'Herbemont [Tue, 18 Mar 2008 22:42:36 +0000 (23:42 +0100)]
block.c: Remove a warning about unused argument.
Pierre d'Herbemont [Tue, 18 Mar 2008 22:56:30 +0000 (23:56 +0100)]
objects.c: Add an assert_locked() in vlc_object_yield_locked().
Pierre d'Herbemont [Tue, 18 Mar 2008 22:23:23 +0000 (23:23 +0100)]
vlc_objects.h: Export and implement vlc_object_set_destructor().
Pierre d'Herbemont [Tue, 18 Mar 2008 22:15:30 +0000 (23:15 +0100)]
Mark VLC_PUBLIC_API as extern "C" when using C++.
Rémi Denis-Courmont [Tue, 18 Mar 2008 19:50:02 +0000 (21:50 +0200)]
Proper vlc: URL
Rémi Denis-Courmont [Tue, 18 Mar 2008 19:38:13 +0000 (21:38 +0200)]
Remove redumdant stdbool includes
Rémi Denis-Courmont [Tue, 18 Mar 2008 19:37:19 +0000 (21:37 +0200)]
Remove security-policy UI
Rémi Denis-Courmont [Tue, 18 Mar 2008 19:23:56 +0000 (21:23 +0200)]
shout discovery: don't try to set non-existent option
(funman removed m3u-extvlcopt a few days ago).
Rémi Denis-Courmont [Tue, 18 Mar 2008 19:12:00 +0000 (21:12 +0200)]
Remove the short-lived security-policy parameter.
In by far the overwhelming majority of cases, the user would not know
how to determine the correct answer to the security prompt (did you
ever compare SSL error handling in IE6 and IE7?). Since the trust value
is now determined programatically, this would seem to mostly help users
shoot themselves in the foot.
--security-policy is also broken when using --playlist-enqueue: imagine
you are running VLC with no security, and then your browser enqueues an
M3U from some nasty webserver... fireworks.
Wrappers around VLC really should NOT use M3U files if they need to
tweak certain options (e.g. --sout). Global options can simply be set
the normal way from the command line (e.g.: vlc --sout '#std{...}').
Per-item options can be set using the colon notation. Multiple items
should be expanded on the command line in the right order, rather than
written to a M3U file. Alternative, IPC interfaces could be used
(single instance + playlist enqueue, RC interface, DBus interface...)
or language bindings.
*** Important note ***
Web browser plugins are still in need of fixing. I suppose
libvlc-control should be extented to support playlist item trust.
Feel free to revert and do something else if you have a _better_ idea.
Filippo Carone [Tue, 18 Mar 2008 18:28:38 +0000 (19:28 +0100)]
fixes for libvlc medialistplayer_play_item and medialistplayer_play_item_at_index - medialistplayer_play is still out of order
Rafaël Carré [Tue, 18 Mar 2008 08:29:48 +0000 (09:29 +0100)]
Ignore files built in bindings/cil
Rafaël Carré [Tue, 18 Mar 2008 08:26:27 +0000 (09:26 +0100)]
Fix out of tree building of the python bindings
Rafaël Carré [Mon, 17 Mar 2008 14:51:57 +0000 (15:51 +0100)]
Verify Python.h presence when enabling python bindings
Filippo Carone [Mon, 17 Mar 2008 22:35:11 +0000 (23:35 +0100)]
new (failing) test for ticket #1527 added
Filippo Carone [Mon, 17 Mar 2008 22:19:25 +0000 (23:19 +0100)]
check if media_list_player->media_list is null before locking - fixes #1524
Christophe Mutricy [Mon, 17 Mar 2008 20:53:27 +0000 (20:53 +0000)]
Update pot file
on't forget to do it when you delete files else it breaks make dist
Rafaël Carré [Mon, 17 Mar 2008 20:32:09 +0000 (21:32 +0100)]
Fix #1487
Don't use an object after releasing it
Rémi Denis-Courmont [Mon, 17 Mar 2008 19:20:33 +0000 (21:20 +0200)]
Don't leak vlc_bool_t through libvlc-control
This restores the ABI. It also avoids nasty issues with determining
what a native boolean is from language bindings.
Rémi Denis-Courmont [Mon, 17 Mar 2008 19:11:40 +0000 (21:11 +0200)]
Tag ABI break
Rémi Denis-Courmont [Mon, 17 Mar 2008 19:11:15 +0000 (21:11 +0200)]
Pass trust flag to var_OptionParse
Rémi Denis-Courmont [Mon, 17 Mar 2008 19:09:07 +0000 (21:09 +0200)]
Fix return value