vlc.git
12 years agoSAP: m= subtype is not supposed to be a number in with the "udp"
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.

12 years agovlc_fixups.h: Protect against multiple inclusions
Rémi Denis-Courmont [Wed, 19 Mar 2008 16:58:46 +0000 (18:58 +0200)]
vlc_fixups.h: Protect against multiple inclusions

12 years agofile access: Remove expand path, spare one dummy duplication
Rémi Denis-Courmont [Wed, 19 Mar 2008 16:46:53 +0000 (18:46 +0200)]
file access: Remove expand path, spare one dummy duplication

12 years agoFactorize the localtime_r replacement
Rémi Denis-Courmont [Wed, 19 Mar 2008 16:37:26 +0000 (18:37 +0200)]
Factorize the localtime_r replacement

12 years agoUse LoadLibrary instead of LoadLibraryA.
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.

12 years agoFix Array Indexing Vulnerability in sdpplin_parse(). (CVE-2008-0073). (closes #1531).
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.

12 years agoAdd a --disable-vlc configure flag to not build VLC.
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".

12 years agomore libvlc_media_list_player tests
Filippo Carone [Wed, 19 Mar 2008 13:10:06 +0000 (14:10 +0100)]
more libvlc_media_list_player tests

12 years agoauhal: Fix kAudioDevicePropertyDeviceIsAlive check (vlc_bool_t size has changed and...
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).

12 years agoauhal: Replace deprecated Add/RemoveProc calls by Create/DestroyProcID calls.
Pierre d'Herbemont [Wed, 19 Mar 2008 12:17:46 +0000 (13:17 +0100)]
auhal: Replace deprecated Add/RemoveProc calls by Create/DestroyProcID calls.

12 years agoauhal: Make sure gettimeofday is defined.
Pierre d'Herbemont [Wed, 19 Mar 2008 11:06:07 +0000 (12:06 +0100)]
auhal: Make sure gettimeofday is defined.

12 years agoRevert "Fix compilation, by "fixing" VLC_PUBLIC_API." as the compilation breakage...
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.

12 years agoqt4: Fix open_panels.cpp compilation.
Pierre d'Herbemont [Wed, 19 Mar 2008 09:30:17 +0000 (10:30 +0100)]
qt4: Fix open_panels.cpp compilation.

12 years agoFix compilation, by "fixing" VLC_PUBLIC_API.
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)

12 years agoAdd "" around subtitles name. Fix #1528
Jean-Baptiste Kempf [Wed, 19 Mar 2008 02:42:12 +0000 (19:42 -0700)]
Add "" around subtitles name. Fix #1528

12 years agomedia_instance: Don't rely on vlc_object_find now that input refcounting is fixed.
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.

12 years agocontrol/media_instance.c: Fix libvlc_media_instance_new_from_input_thread() now that...
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.

12 years agoAdd FLV mimetypes in browser plugins
Rafaël Carré [Wed, 19 Mar 2008 00:55:49 +0000 (01:55 +0100)]
Add FLV mimetypes in browser plugins

Patch contributed by dkl0

12 years agocontrol/media_descriptor.c: Proper vlc: URL.
Pierre d'Herbemont [Wed, 19 Mar 2008 00:37:24 +0000 (01:37 +0100)]
control/media_descriptor.c: Proper vlc: URL.

12 years agovlm: Don't automatically detach in vlm_Delete if not needed, this will be done at...
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).

12 years agoobjects.c: Automatically detach from the parent.
Pierre d'Herbemont [Wed, 19 Mar 2008 00:29:12 +0000 (01:29 +0100)]
objects.c: Automatically detach from the parent.

12 years agovlm: Fix destruction by using correctly using refcounting.
Pierre d'Herbemont [Wed, 19 Mar 2008 00:24:36 +0000 (01:24 +0100)]
vlm: Fix destruction by using correctly using refcounting.

12 years agoVLC_PUBLIC_API needs extern "C" on windows/c++ too.
Pierre d'Herbemont [Tue, 18 Mar 2008 23:42:00 +0000 (00:42 +0100)]
VLC_PUBLIC_API needs extern "C" on windows/c++ too.

12 years agoinput: Get rid of Destroy(), and move sout keeping code to the destructor.
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.

12 years agoinput: Use a Destructor to delete critical resources. Destroy() should be removed.
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.

12 years agoblock.c: Remove a warning about unused argument.
Pierre d'Herbemont [Tue, 18 Mar 2008 22:42:36 +0000 (23:42 +0100)]
block.c: Remove a warning about unused argument.

12 years agoobjects.c: Add an assert_locked() in vlc_object_yield_locked().
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().

12 years agovlc_objects.h: Export and implement vlc_object_set_destructor().
Pierre d'Herbemont [Tue, 18 Mar 2008 22:23:23 +0000 (23:23 +0100)]
vlc_objects.h: Export and implement vlc_object_set_destructor().

12 years agoMark VLC_PUBLIC_API as extern "C" when using C++.
Pierre d'Herbemont [Tue, 18 Mar 2008 22:15:30 +0000 (23:15 +0100)]
Mark VLC_PUBLIC_API as extern "C" when using C++.

12 years agoProper vlc: URL
Rémi Denis-Courmont [Tue, 18 Mar 2008 19:50:02 +0000 (21:50 +0200)]
Proper vlc: URL

12 years agoRemove redumdant stdbool includes
Rémi Denis-Courmont [Tue, 18 Mar 2008 19:38:13 +0000 (21:38 +0200)]
Remove redumdant stdbool includes

12 years agoRemove security-policy UI
Rémi Denis-Courmont [Tue, 18 Mar 2008 19:37:19 +0000 (21:37 +0200)]
Remove security-policy UI

12 years agoshout discovery: don't try to set non-existent option
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).

12 years agoRemove the short-lived security-policy parameter.
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.

12 years agofixes for libvlc medialistplayer_play_item and medialistplayer_play_item_at_index...
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

12 years agoIgnore files built in bindings/cil
Rafaël Carré [Tue, 18 Mar 2008 08:29:48 +0000 (09:29 +0100)]
Ignore files built in bindings/cil

12 years agoFix out of tree building of the python bindings
Rafaël Carré [Tue, 18 Mar 2008 08:26:27 +0000 (09:26 +0100)]
Fix out of tree building of the python bindings

12 years agoVerify Python.h presence when enabling python bindings
Rafaël Carré [Mon, 17 Mar 2008 14:51:57 +0000 (15:51 +0100)]
Verify Python.h presence when enabling python bindings

12 years agonew (failing) test for ticket #1527 added
Filippo Carone [Mon, 17 Mar 2008 22:35:11 +0000 (23:35 +0100)]
new (failing) test for ticket #1527 added

12 years agocheck if media_list_player->media_list is null before locking - fixes #1524
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

12 years agoUpdate pot file
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

12 years agoFix #1487
Rafaël Carré [Mon, 17 Mar 2008 20:32:09 +0000 (21:32 +0100)]
Fix #1487

Don't use an object after releasing it

12 years agoDon't leak vlc_bool_t through libvlc-control
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.

12 years agoTag ABI break
Rémi Denis-Courmont [Mon, 17 Mar 2008 19:11:40 +0000 (21:11 +0200)]
Tag ABI break

12 years agoPass trust flag to var_OptionParse
Rémi Denis-Courmont [Mon, 17 Mar 2008 19:11:15 +0000 (21:11 +0200)]
Pass trust flag to var_OptionParse

12 years agoFix return value
Rémi Denis-Courmont [Mon, 17 Mar 2008 19:09:07 +0000 (21:09 +0200)]
Fix return value

12 years agoRetain certain flags from input_ItemAddOpt
Rémi Denis-Courmont [Mon, 17 Mar 2008 19:06:16 +0000 (21:06 +0200)]
Retain certain flags from input_ItemAddOpt

(Oh! another ABI break - if only vlc_input_item_t weren't public)

12 years agoCode factorization: use input_ItemAddOption
Rémi Denis-Courmont [Mon, 17 Mar 2008 19:05:35 +0000 (21:05 +0200)]
Code factorization: use input_ItemAddOption

12 years agoVLM: use input_ItemAddOption
Rémi Denis-Courmont [Mon, 17 Mar 2008 19:04:21 +0000 (21:04 +0200)]
VLM: use input_ItemAddOption

12 years agoUse native C/C++ boolean type
Rémi Denis-Courmont [Mon, 17 Mar 2008 18:04:45 +0000 (20:04 +0200)]
Use native C/C++ boolean type

12 years agoProvide the trust value to var_OptionParse
Rémi Denis-Courmont [Mon, 17 Mar 2008 17:57:33 +0000 (19:57 +0200)]
Provide the trust value to var_OptionParse

12 years agoSet the proper flags for item options
Rémi Denis-Courmont [Mon, 17 Mar 2008 17:38:21 +0000 (19:38 +0200)]
Set the proper flags for item options

12 years agoRe-enable m3u parsing
Rafaël Carré [Mon, 17 Mar 2008 10:46:09 +0000 (11:46 +0100)]
Re-enable m3u parsing

This check is already made by the new safe option flag (still broken, but to be fixed one day)

12 years agoTell that dst-parameter overrides new bind/path parameters.
Ilkka Ollakka [Mon, 17 Mar 2008 08:14:45 +0000 (10:14 +0200)]
Tell that dst-parameter overrides new bind/path parameters.

12 years agoAdd bind and path aliases for standard streamoutput, so you can document
Ilkka Ollakka [Fri, 14 Mar 2008 20:57:55 +0000 (22:57 +0200)]
Add bind and path aliases for standard streamoutput, so you can document
streaming (hopefully) more cleaner way like:

standard{access=http,bind=:8080,path=/myfile.ts}
equals to
standard{access=http,dst=:8080//myfile.ts}
(that extra / doesn't seem to harm and it's only visual flaw)

12 years agoFix warning in rawvid demxuer.
Jean-Baptiste Kempf [Mon, 17 Mar 2008 07:46:46 +0000 (00:46 -0700)]
Fix warning in rawvid demxuer.

12 years agoKill a warning.
Jean-Baptiste Kempf [Mon, 17 Mar 2008 07:42:48 +0000 (00:42 -0700)]
Kill a warning.

12 years agoREmove uninitialised variable.
Jean-Baptiste Kempf [Mon, 17 Mar 2008 07:40:27 +0000 (00:40 -0700)]
REmove uninitialised variable.

12 years agoUpdate the list of objects after a VLM import. Patch By Jean-François Massol, slightl...
Jean-Baptiste Kempf [Mon, 17 Mar 2008 00:40:33 +0000 (17:40 -0700)]
Update the list of objects after a VLM import. Patch By Jean-François Massol, slightly modified.

12 years agoRemove debug.
Jean-Baptiste Kempf [Sun, 16 Mar 2008 19:37:38 +0000 (12:37 -0700)]
Remove debug.

12 years agoLink ncurses plugin to libtinfo if available.
Pavlov Konstantin [Sun, 16 Mar 2008 22:10:02 +0000 (01:10 +0300)]
Link ncurses plugin to libtinfo if available.
Should fix builds on linuxes using that library: ALT, PLD, Fedora.

12 years agonew (failing) test for media list player (ticket #1524)
Filippo Carone [Sun, 16 Mar 2008 21:40:50 +0000 (22:40 +0100)]
new (failing) test for media list player (ticket #1524)

12 years agoHandle all memory errors in MP4 esds
Rémi Denis-Courmont [Sun, 16 Mar 2008 21:22:59 +0000 (23:22 +0200)]
Handle all memory errors in MP4 esds

12 years agoHandle memory errors in MP4 ctts - refs #1508
Rémi Denis-Courmont [Sun, 16 Mar 2008 21:17:27 +0000 (23:17 +0200)]
Handle memory errors in MP4 ctts - refs #1508

12 years agoCleanup MP4 ftyp
Rémi Denis-Courmont [Sun, 16 Mar 2008 21:16:58 +0000 (23:16 +0200)]
Cleanup MP4 ftyp

12 years agoHandle memory errors in MP4 stts - fixes #1502
Rémi Denis-Courmont [Sun, 16 Mar 2008 21:15:40 +0000 (23:15 +0200)]
Handle memory errors in MP4 stts - fixes #1502

12 years agoUpdate no-mmx patch for current ffmpeg.
Pavlov Konstantin [Sun, 16 Mar 2008 20:59:36 +0000 (23:59 +0300)]
Update no-mmx patch for current ffmpeg.

12 years agoTry compilation before interaction
Rafaël Carré [Sun, 16 Mar 2008 20:22:30 +0000 (21:22 +0100)]
Try compilation before interaction

buildbots should be able to compile asa cleanly now (unless for X-compile of course)

12 years agoInteraction are controlled by a dedicated thread
Rafaël Carré [Sun, 16 Mar 2008 19:49:26 +0000 (20:49 +0100)]
Interaction are controlled by a dedicated thread

This is not the playlist's work at all
Fix #1520

12 years agoDuring the compilation, print errors and warnings on stderr.
Rémi Duraffort [Sun, 16 Mar 2008 20:33:27 +0000 (21:33 +0100)]
During the compilation, print errors and warnings on stderr.

12 years agoRemove useless test before a delete.
Rémi Duraffort [Sat, 15 Mar 2008 19:26:02 +0000 (20:26 +0100)]
Remove useless test before a delete.

12 years agofix for libvlc_get_input_thread: check for null before locking. fixes #1522
Filippo Carone [Sun, 16 Mar 2008 18:59:47 +0000 (19:59 +0100)]
fix for libvlc_get_input_thread: check for null before locking. fixes #1522

12 years agoinitial media list player unit tests file
Filippo Carone [Sun, 16 Mar 2008 16:11:26 +0000 (17:11 +0100)]
initial media list player unit tests file

12 years agouse the sync_instance library for tests too
Filippo Carone [Sun, 16 Mar 2008 16:11:00 +0000 (17:11 +0100)]
use the sync_instance library for tests too

12 years agocentralize maven compiler plugin
Filippo Carone [Sun, 16 Mar 2008 16:10:13 +0000 (17:10 +0100)]
centralize maven compiler plugin

12 years agoRemove debug
Rafaël Carré [Sun, 16 Mar 2008 14:15:07 +0000 (15:15 +0100)]
Remove debug

12 years agogettext 0.16.1 was an unintended change - sorry
Filippo Carone [Sun, 16 Mar 2008 13:15:46 +0000 (14:15 +0100)]
gettext 0.16.1 was an unintended change - sorry

12 years agoac_prog_java* not needed anymore
Filippo Carone [Sun, 16 Mar 2008 13:12:06 +0000 (14:12 +0100)]
ac_prog_java* not needed anymore

12 years agoremove ant references on --enable-java-bindings, say users to run mvn
Filippo Carone [Sun, 16 Mar 2008 13:04:10 +0000 (14:04 +0100)]
remove ant references on --enable-java-bindings, say users to run mvn

12 years agosome basic info on how to use mvn added
Filippo Carone [Sun, 16 Mar 2008 12:45:53 +0000 (13:45 +0100)]
some basic info on how to use mvn added

12 years agoswitch to jdk 1.5
Filippo Carone [Sun, 16 Mar 2008 12:39:23 +0000 (13:39 +0100)]
switch to jdk 1.5

12 years agoswitch to jdk 1.5
Filippo Carone [Sun, 16 Mar 2008 12:22:00 +0000 (13:22 +0100)]
switch to jdk 1.5

12 years agomore info about developers/contributors
Filippo Carone [Sun, 16 Mar 2008 12:21:26 +0000 (13:21 +0100)]
more info about developers/contributors

12 years ago[PATCH] Maven2 plugins
Adrien Grand [Sun, 16 Mar 2008 12:02:00 +0000 (13:02 +0100)]
[PATCH] Maven2 plugins

Signed-off-by: Filippo Carone <littlejohn@videolan.org>
12 years agoBetter stats box in ncurses
Rafaël Carré [Sun, 16 Mar 2008 02:47:07 +0000 (03:47 +0100)]
Better stats box in ncurses

Fix scrolling
Use ACS_* characters to be nicer
Only show video & audio if there is an es (or show both if there is no es, mp3 has no es)
TODO: show sout only when needed

12 years agoAdd assert()ions to help fighting a bug
Rafaël Carré [Sat, 15 Mar 2008 21:47:10 +0000 (22:47 +0100)]
Add assert()ions to help fighting a bug

12 years agoDo not hide bugs
Rafaël Carré [Sat, 15 Mar 2008 20:50:33 +0000 (21:50 +0100)]
Do not hide bugs

12 years agoRemove useless test before free and delete.
Rémi Duraffort [Sat, 15 Mar 2008 19:01:04 +0000 (20:01 +0100)]
Remove useless test before free and delete.

12 years agoFix DShow capture names with spaces, spotted by Andre Weber.
Jean-Baptiste Kempf [Sat, 15 Mar 2008 18:46:54 +0000 (11:46 -0700)]
Fix DShow capture names with spaces, spotted by Andre Weber.
Fix Apple iSight on windows :D

12 years agoForce to fix the size of GotoDialog.
Jean-Baptiste Kempf [Sat, 15 Mar 2008 07:35:13 +0000 (00:35 -0700)]
Force to fix the size of GotoDialog.

12 years agoCosmetic - changed negative test.
Richard Hosking [Sat, 15 Mar 2008 16:55:28 +0000 (16:55 +0000)]
Cosmetic - changed negative test.

12 years agomore media list unit tests
Filippo Carone [Sat, 15 Mar 2008 16:32:12 +0000 (17:32 +0100)]
more media list unit tests

12 years agomedia list count unit test added
Filippo Carone [Sat, 15 Mar 2008 15:33:48 +0000 (16:33 +0100)]
media list count unit test added

12 years agoAdrien added to thanks
Filippo Carone [Sat, 15 Mar 2008 15:33:18 +0000 (16:33 +0100)]
Adrien added to thanks

12 years agoignore folder contents
Filippo Carone [Sat, 15 Mar 2008 15:25:19 +0000 (16:25 +0100)]
ignore folder contents

12 years agoignore mvn generated files
Filippo Carone [Sat, 15 Mar 2008 14:34:04 +0000 (15:34 +0100)]
ignore mvn generated files

12 years agoFix very minor memory leak when using OSS for audio.
Richard Hosking [Sat, 15 Mar 2008 14:50:27 +0000 (14:50 +0000)]
Fix very minor memory leak when using OSS for audio.

12 years ago[PATCH] - maven project structure reorganization - add a exec:java goal to launch...
Adrien Grand [Sat, 15 Mar 2008 12:27:06 +0000 (13:27 +0100)]
[PATCH]  - maven project structure reorganization - add a exec:java goal to launch the VlcClient

12 years agoVery slight fixes in Open Dialog too.
Jean-Baptiste Kempf [Sat, 15 Mar 2008 03:51:07 +0000 (20:51 -0700)]
Very slight fixes in Open Dialog too.

12 years agoVery very Slight modification of Open dialog
Jean-Baptiste Kempf [Sat, 15 Mar 2008 03:42:03 +0000 (20:42 -0700)]
Very very Slight modification of Open dialog