vlc.git
12 years agoRevert "decomp: disable on DARWIN, because 10.4 does not support posix_spawn_file_act...
Rémi Denis-Courmont [Sun, 21 Dec 2008 13:36:35 +0000 (15:36 +0200)]
Revert "decomp: disable on DARWIN, because 10.4 does not support posix_spawn_file_actions_adddup2"

This reverts commit b08dedb5cb170a64fbaba76ed5455ad93f30d3ca.

12 years agodecomp: use plain fork/exec if POSIX spawn is missing
Rémi Denis-Courmont [Sun, 21 Dec 2008 13:35:55 +0000 (15:35 +0200)]
decomp: use plain fork/exec if POSIX spawn is missing

12 years agoComment for myself
Rémi Denis-Courmont [Sun, 21 Dec 2008 13:30:37 +0000 (15:30 +0200)]
Comment for myself

12 years agodecomp: disable on DARWIN, because 10.4 does not support posix_spawn_file_actions_adddup2
Derk-Jan Hartman [Sun, 21 Dec 2008 13:21:26 +0000 (14:21 +0100)]
decomp: disable on DARWIN, because 10.4 does not support posix_spawn_file_actions_adddup2

12 years agouse MetaMatch in search instead compare to possible NULL value
Ilkka Ollakka [Sun, 21 Dec 2008 12:54:22 +0000 (14:54 +0200)]
use MetaMatch in search instead compare to possible NULL value

12 years agoVLC_OBJECT_PLAYLIST: remove unused type
Rémi Denis-Courmont [Sun, 21 Dec 2008 12:44:39 +0000 (14:44 +0200)]
VLC_OBJECT_PLAYLIST: remove unused type

12 years agoDo not compete with libvlc in destroying interfaces (in a broken way)
Rémi Denis-Courmont [Sun, 21 Dec 2008 12:40:49 +0000 (14:40 +0200)]
Do not compete with libvlc in destroying interfaces (in a broken way)

12 years agoFix for 'no-return-in-nonvoid function intf.c'
Dominique Leuenberger [Sun, 21 Dec 2008 12:10:05 +0000 (13:10 +0100)]
Fix for 'no-return-in-nonvoid function intf.c'

MAke sure we always return defined values.
I: Program returns random data in a function
E: vlc-beta no-return-in-nonvoid-function intf.c:341

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
12 years agoMove libvlccore into the global symbol namespace if needed
Rémi Denis-Courmont [Sun, 21 Dec 2008 10:21:08 +0000 (12:21 +0200)]
Move libvlccore into the global symbol namespace if needed

Should fix #2257

12 years agoFix error values
Rémi Denis-Courmont [Sat, 20 Dec 2008 09:39:44 +0000 (11:39 +0200)]
Fix error values

12 years agoopengl: Remove opengl effects as agreed at the VDD '08.
Pierre d'Herbemont [Sat, 20 Dec 2008 16:34:58 +0000 (17:34 +0100)]
opengl: Remove opengl effects as agreed at the VDD '08.

Saves about 500 lines of codes.

12 years agoDon't require location under track element in xspf-playlist.
Ilkka Ollakka [Sat, 20 Dec 2008 08:23:45 +0000 (10:23 +0200)]
Don't require location under track element in xspf-playlist.
Should fix #1597

12 years agojvlc: mediadescriptor tests added
Filippo Carone [Mon, 15 Dec 2008 17:52:59 +0000 (18:52 +0100)]
jvlc: mediadescriptor tests added

12 years agoDrop the very obsoleted gettext language code no. It has been a symlink to nb for...
Dominique Leuenberger [Thu, 18 Dec 2008 18:14:29 +0000 (19:14 +0100)]
Drop the very obsoleted gettext language code no. It has been a symlink to nb for a long time.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
12 years agoAdd Remote Audio Output Protocol stream output plugin
Michael Hanselmann [Tue, 16 Dec 2008 21:26:10 +0000 (22:26 +0100)]
Add Remote Audio Output Protocol stream output plugin

Apple AirPort Express devices can play audio streamed over the
network. The Remote Audio Output Protocol was reverse-engineered
by Jon Lech Johansen in 2004. He also released a proof of concept
implementation named JustePort.

The control protocol is similar to interleaved RTSP record mode and
based on HTTP. It is used to negotiate details before sending music
data over an AES encrypted TCP connection. RSA is used to encrypt the
AES key before transfering it via an HTTP header. To this day, only
the public part of the RSA key has been made public while the private
part remains unknown.

VLC uses libgcrypt for encryption. Unfortunately, libgcrypt doesn't
support the OAEP standard as defined in RFC2437 and RAOP demands
OAEP padding for RSA encrypted data. OAEP has been reimplemented from
scratch based on the specification for this plugin. These functions,
MGF1 and AddOaepPadding, can be adopted for libgcrypt at a later time.

All input data must be encoded using the Apple Lossless codec with
44100 Hz and 2 channels. The "transcode" plugin can be used to
reencode input data. Updating the volume while playing is not yet
supported. Except for logging, no use is made of the audio delay
and jack type reported by the device.

Apple's RAOP-compatible devices announce themselves on the network
using Zeroconf, but discovering them is not implemented in this
plugin. The service type is "_raop._tcp".

The "raop" plugin can be used like this:
--sout='#transcode{acodec=alac,channels=2}:raop{host=hostname}'

It also supports a "volume" parameter with a range from 0 to 255.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
12 years agoQt/VLM:: correctly set the filter.
Jean-Baptiste Kempf [Fri, 19 Dec 2008 15:57:35 +0000 (16:57 +0100)]
Qt/VLM:: correctly set the filter.

12 years agoQt4: correctly create some buttons.
Jean-Baptiste Kempf [Fri, 19 Dec 2008 15:45:46 +0000 (16:45 +0100)]
Qt4: correctly create some buttons.

12 years agoQt4: forgotten include.
Jean-Baptiste Kempf [Fri, 19 Dec 2008 15:27:41 +0000 (16:27 +0100)]
Qt4: forgotten include.

12 years agoQt4: icons for skip and eject buttons.
Jean-Baptiste Kempf [Fri, 19 Dec 2008 15:08:33 +0000 (16:08 +0100)]
Qt4: icons for skip and eject buttons.

12 years agoQt4: connect TimeLabel to the inputStateChange to display the buffering status.
Jean-Baptiste Kempf [Fri, 19 Dec 2008 14:53:58 +0000 (15:53 +0100)]
Qt4: connect TimeLabel to the inputStateChange to display the buffering status.

DOesn't show anything yet.

12 years agoQt: Improve some wording for support.
Jean-Baptiste Kempf [Fri, 19 Dec 2008 14:52:36 +0000 (15:52 +0100)]
Qt: Improve some wording for support.

12 years agoForward port of 'Telnet: fix win32 work'.
Jean-Baptiste Kempf [Fri, 19 Dec 2008 00:30:57 +0000 (01:30 +0100)]
Forward port of 'Telnet: fix win32 work'.

Should work, but not tested yet.

12 years agoQt4: Fix small layout bug introduced by customization
Jean-Baptiste Kempf [Thu, 18 Dec 2008 23:53:59 +0000 (00:53 +0100)]
Qt4: Fix small layout bug introduced by customization

12 years agoAdd .rm and .rmvb extensions.
Jean-Baptiste Kempf [Thu, 18 Dec 2008 23:07:02 +0000 (00:07 +0100)]
Add .rm and .rmvb extensions.

12 years ago[Qt] Add 2 new icons.
Jean-Baptiste Kempf [Wed, 17 Dec 2008 22:13:01 +0000 (23:13 +0100)]
[Qt] Add 2 new icons.

12 years agoCheck itemtype if uri is changed
Ilkka Ollakka [Wed, 17 Dec 2008 21:15:03 +0000 (23:15 +0200)]
Check itemtype if uri is changed

12 years agoDon't wait location-node for creating input, and allow multiple
Ilkka Ollakka [Wed, 17 Dec 2008 21:07:22 +0000 (23:07 +0200)]
Don't wait location-node for creating input, and allow multiple
location nodes on track.

Use last location-node for uri (maybe first would be better instead ?).

check that input_item_NewExt doesn't return NULL

should fix ticket #2353

12 years ago[Win32] Activate ActiveX by default since now it works.
Jean-Baptiste Kempf [Wed, 17 Dec 2008 21:08:37 +0000 (22:08 +0100)]
[Win32] Activate ActiveX by default since now it works.

12 years agoCheck malloc return value.
Rémi Duraffort [Wed, 17 Dec 2008 20:40:27 +0000 (21:40 +0100)]
Check malloc return value.

12 years agoUse NULL instead of 0.
Rémi Duraffort [Wed, 17 Dec 2008 20:31:01 +0000 (21:31 +0100)]
Use NULL instead of 0.

12 years agoDon't write two times when only one is needed.
Rémi Duraffort [Wed, 17 Dec 2008 20:17:49 +0000 (21:17 +0100)]
Don't write two times when only one is needed.

12 years ago[Qt] SPrefs, activate the headphone filter correctly.
Jean-Baptiste Kempf [Wed, 17 Dec 2008 19:48:14 +0000 (20:48 +0100)]
[Qt] SPrefs, activate the headphone filter correctly.

Remark by Babal.

12 years ago[Qt] Add deinterlacing and AR in video tab in Simple Preferences.
Jean-Baptiste Kempf [Wed, 17 Dec 2008 17:55:45 +0000 (18:55 +0100)]
[Qt] Add deinterlacing and AR in video tab in Simple Preferences.

12 years agoLess includes.
Rémi Duraffort [Wed, 17 Dec 2008 19:17:04 +0000 (20:17 +0100)]
Less includes.

12 years agocaugh caugh.
Rémi Duraffort [Wed, 17 Dec 2008 18:59:09 +0000 (19:59 +0100)]
caugh caugh.

12 years agoAnother fix for win32.
Rémi Duraffort [Wed, 17 Dec 2008 18:53:52 +0000 (19:53 +0100)]
Another fix for win32.

12 years agoFix win32 compilation.
Rémi Duraffort [Wed, 17 Dec 2008 18:44:52 +0000 (19:44 +0100)]
Fix win32 compilation.

12 years agob_menu: remove unused variable
Rémi Denis-Courmont [Tue, 16 Dec 2008 21:04:36 +0000 (23:04 +0200)]
b_menu: remove unused variable

12 years agoMigrate AA and GGI to intf-popupmenu
Rémi Denis-Courmont [Tue, 16 Dec 2008 21:01:04 +0000 (23:01 +0200)]
Migrate AA and GGI to intf-popupmenu

This is untested. Most probably nobody uses these anymore.

12 years agob_menu_change: remove write-only variable
Rémi Denis-Courmont [Tue, 16 Dec 2008 21:00:08 +0000 (23:00 +0200)]
b_menu_change: remove write-only variable

12 years agobdagraph: cleaning.
Rémi Duraffort [Tue, 16 Dec 2008 20:56:40 +0000 (21:56 +0100)]
bdagraph: cleaning.

12 years agoWin32: fix race condition initializing static mutexes
Rémi Denis-Courmont [Tue, 16 Dec 2008 19:51:04 +0000 (21:51 +0200)]
Win32: fix race condition initializing static mutexes

12 years agoRobustify Win32 mutex assertions
Rémi Denis-Courmont [Tue, 16 Dec 2008 19:49:13 +0000 (21:49 +0200)]
Robustify Win32 mutex assertions

12 years agobda: little cleanup.
Rémi Duraffort [Tue, 16 Dec 2008 19:25:57 +0000 (20:25 +0100)]
bda: little cleanup.

12 years agoanalyser/zsh: fix memleak (#2303)
Rémi Duraffort [Tue, 16 Dec 2008 18:50:09 +0000 (19:50 +0100)]
analyser/zsh: fix memleak (#2303)

12 years agoC++-proofing
Rémi Denis-Courmont [Tue, 16 Dec 2008 18:12:00 +0000 (20:12 +0200)]
C++-proofing

12 years agoAVI: fix track names character set (fixes #2334)
Rémi Denis-Courmont [Tue, 16 Dec 2008 17:58:26 +0000 (19:58 +0200)]
AVI: fix track names character set (fixes #2334)

12 years agoFromLatin1: converts from ISO-8859-1 to UTF-8
Rémi Denis-Courmont [Tue, 16 Dec 2008 17:58:10 +0000 (19:58 +0200)]
FromLatin1: converts from ISO-8859-1 to UTF-8

12 years agoRemove conditionally unused function
Rémi Denis-Courmont [Tue, 16 Dec 2008 16:21:10 +0000 (18:21 +0200)]
Remove conditionally unused function

12 years agoCheck for vmsplice() since Middle Ages libc didn't have it
Rémi Denis-Courmont [Tue, 16 Dec 2008 16:05:47 +0000 (18:05 +0200)]
Check for vmsplice() since Middle Ages libc didn't have it

12 years agoi18n
Christophe Mutricy [Tue, 16 Dec 2008 00:22:10 +0000 (00:22 +0000)]
i18n

12 years agoCosmetic: reorder and remove duplicates
Christophe Mutricy [Tue, 16 Dec 2008 00:18:45 +0000 (00:18 +0000)]
Cosmetic: reorder and remove duplicates

12 years agoDistribute pixmaps/space.png
Christophe Mutricy [Tue, 16 Dec 2008 00:14:04 +0000 (00:14 +0000)]
Distribute pixmaps/space.png

12 years agomodules/access_filter is no longer distributed
Christophe Mutricy [Tue, 16 Dec 2008 00:12:56 +0000 (00:12 +0000)]
modules/access_filter is no longer distributed

12 years agoDistribute vorbis.h
Christophe Mutricy [Mon, 15 Dec 2008 19:49:04 +0000 (19:49 +0000)]
Distribute vorbis.h

12 years agoQt/vlm: == instead of =
Rémi Duraffort [Mon, 15 Dec 2008 22:11:05 +0000 (23:11 +0100)]
Qt/vlm: == instead of =

12 years agopudec: fix potential memleaks.
Rémi Duraffort [Mon, 15 Dec 2008 21:59:30 +0000 (22:59 +0100)]
pudec: fix potential memleaks.

12 years agomms/mmstu: fix a memleak and avoid to memcpy two times the same thing
Rémi Duraffort [Mon, 15 Dec 2008 21:48:47 +0000 (22:48 +0100)]
mms/mmstu: fix a memleak and avoid to memcpy two times the same thing
(but yes duplicate 2 lines of code).

12 years agoAdded S_TEXT/ASCII codec to matroska.
Laurent Aimar [Mon, 15 Dec 2008 20:49:38 +0000 (21:49 +0100)]
Added S_TEXT/ASCII codec to matroska.

12 years agoNEWS.
Jean-Baptiste Kempf [Mon, 15 Dec 2008 20:40:17 +0000 (21:40 +0100)]
NEWS.

12 years agoReally fix this.
Rémi Duraffort [Mon, 15 Dec 2008 20:30:31 +0000 (21:30 +0100)]
Really fix this.

12 years agoFix multiple deallocation (three deallocation for the same varaible that's a bit...
Rémi Duraffort [Mon, 15 Dec 2008 20:12:53 +0000 (21:12 +0100)]
Fix multiple deallocation (three deallocation for the same varaible that's a bit big :)).

12 years agoRemove a varaible never really used (only writen one time and then forgotten)
Rémi Duraffort [Mon, 15 Dec 2008 19:56:28 +0000 (20:56 +0100)]
Remove a varaible never really used (only writen one time and then forgotten)

12 years agonetwork/poll: non initialized variable.
Rémi Duraffort [Mon, 15 Dec 2008 19:53:51 +0000 (20:53 +0100)]
network/poll: non initialized variable.

12 years agoFix compilation warning on Win CE.
Rémi Duraffort [Mon, 15 Dec 2008 19:45:12 +0000 (20:45 +0100)]
Fix compilation warning on Win CE.

12 years agoAdded support for real video and 14_4 audio codec in mkv.
Laurent Aimar [Mon, 15 Dec 2008 19:56:59 +0000 (20:56 +0100)]
Added support for real video and 14_4 audio codec in mkv.

Other audio codecs (cook/28_8/atrac3) will need a lot more code.

12 years agoUnused variable.
Rémi Duraffort [Mon, 15 Dec 2008 19:34:40 +0000 (20:34 +0100)]
Unused variable.

12 years agocontrol/media_control: fix a memleak (we don't need to do a copy if we use const...
Rémi Duraffort [Mon, 15 Dec 2008 19:32:35 +0000 (20:32 +0100)]
control/media_control: fix a memleak (we don't need to do a copy if we use const char*).

12 years agoUse const char* when needed (easier to understand if a function will try to grab...
Rémi Duraffort [Mon, 15 Dec 2008 19:28:02 +0000 (20:28 +0100)]
Use const char* when needed (easier to understand if a function will try to grab a string).

12 years agoAdded vlc_get_libvlc_object to libvlccore
Basos G [Fri, 12 Dec 2008 15:12:17 +0000 (17:12 +0200)]
Added vlc_get_libvlc_object to libvlccore

It is intented to expose the libvlc_int_t (the main vlc object)
to enable extented vlc hacking.. E.g. when you need to make something
with configuration or modules that it is not provided by the PUBLIC API,
you expose the libvlc_int_t as an vlc_object_t and act upon it with
the internal (libvlccore) API...

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
Put back to libvlc rather than libvlccore (a stupid idea of mine).

12 years agoFix memleak (#2351) (mvar_AppendNewVar already do a strdup of the value);
Rémi Duraffort [Mon, 15 Dec 2008 19:07:57 +0000 (20:07 +0100)]
Fix memleak (#2351) (mvar_AppendNewVar already do a strdup of the value);

12 years agoxtag_free don't need to return anything.
Rémi Duraffort [Mon, 15 Dec 2008 19:01:40 +0000 (20:01 +0100)]
xtag_free don't need to return anything.

12 years ago* Fix memleak (#2352)
Rémi Duraffort [Mon, 15 Dec 2008 18:59:40 +0000 (19:59 +0100)]
* Fix memleak (#2352)
* Use NULL instead of 0
* cosmetics.

12 years agoFix memleak (#2350).
Rémi Duraffort [Mon, 15 Dec 2008 18:40:27 +0000 (19:40 +0100)]
Fix memleak (#2350).

12 years agoRemove unneded test before delete/free.
Rémi Duraffort [Mon, 15 Dec 2008 18:38:33 +0000 (19:38 +0100)]
Remove unneded test before delete/free.

12 years agoBDA free() strings from var_GetNon_EmptyString
Ken Self [Mon, 15 Dec 2008 16:50:42 +0000 (17:50 +0100)]
BDA free() strings from var_GetNon_EmptyString

12 years agoAdd ATSC option to GUI
kenself [Sun, 14 Dec 2008 11:04:25 +0000 (22:04 +1100)]
Add ATSC option to GUI

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoSignificant changes to ATSC and DVB-S processing which now work.
kenself [Sun, 14 Dec 2008 11:04:24 +0000 (22:04 +1100)]
Significant changes to ATSC and DVB-S processing which now work.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
+ Remove whitespace (jb)

12 years agoAdded Tunng Space class definitions
kenself [Sun, 14 Dec 2008 11:04:23 +0000 (22:04 +1100)]
Added Tunng Space class definitions

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoEnhance DVB-S handling with range parameter and option to create tuning space
kenself [Sun, 14 Dec 2008 11:04:22 +0000 (22:04 +1100)]
Enhance DVB-S handling with range parameter and option to create tuning space

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago[Qt] Cleanup: Don't skip first sorting, seems that you don't need that kinda
Ilkka Ollakka [Mon, 15 Dec 2008 12:39:28 +0000 (14:39 +0200)]
[Qt] Cleanup: Don't skip first sorting, seems that you don't need that kinda
 workaround to get items correctly ordered in playlist, just set sortingIndicator
 to right column and let playlist sort empty list when enabling sorting.

 Works for me, but please double check.

12 years ago[QT] cosmetic, use regexp instead of multiple removes in simple preferences
Ilkka Ollakka [Mon, 15 Dec 2008 11:48:22 +0000 (13:48 +0200)]
[QT] cosmetic, use regexp instead of multiple removes in simple preferences

12 years agopython bindings: workaround for the #2257 / #2266 VLC bug (linux only ATM)
Olivier Aubert [Mon, 15 Dec 2008 10:44:39 +0000 (11:44 +0100)]
python bindings: workaround for the #2257 / #2266 VLC bug (linux only ATM)

12 years agoupdate version and distribution management
Filippo Carone [Sun, 14 Dec 2008 21:23:38 +0000 (22:23 +0100)]
update version and distribution management

12 years agojvlc: various unit tests fixes
Filippo Carone [Sun, 14 Dec 2008 21:23:06 +0000 (22:23 +0100)]
jvlc: various unit tests fixes

12 years agojvlc: fix LibVlcState enum to reflect native states
Filippo Carone [Sun, 14 Dec 2008 18:00:38 +0000 (19:00 +0100)]
jvlc: fix LibVlcState enum to reflect native states

12 years agocmml: fix memleak (#2345)
Rémi Duraffort [Sun, 14 Dec 2008 18:03:32 +0000 (19:03 +0100)]
cmml: fix memleak (#2345)

12 years agovlm: don't remove quotes around name in
Rémi Duraffort [Sun, 14 Dec 2008 17:58:41 +0000 (18:58 +0100)]
vlm: don't remove quotes around name in
setup test output #standard{mux=ts,access=udp,dst=239.255.100.42,sap,name="Pouet Pouet"}
That's maybe not the best way to do this.
Fix #2346

12 years agojvlc: more libvlc_media unit tests added
Filippo Carone [Sun, 14 Dec 2008 17:42:15 +0000 (18:42 +0100)]
jvlc: more libvlc_media unit tests added

12 years agoMediaDescriptorTest.java removed
Filippo Carone [Sun, 14 Dec 2008 17:05:10 +0000 (18:05 +0100)]
MediaDescriptorTest.java removed

12 years agoMediaDescriptorTest renamed to LibVlcMediaTest
Filippo Carone [Sun, 14 Dec 2008 17:04:38 +0000 (18:04 +0100)]
MediaDescriptorTest renamed to LibVlcMediaTest

12 years agojvlc: add_intf unit test added
Filippo Carone [Sun, 14 Dec 2008 17:03:04 +0000 (18:03 +0100)]
jvlc: add_intf unit test added

12 years agojvlc: some libvlc_media bindings added
Filippo Carone [Sun, 14 Dec 2008 16:59:57 +0000 (17:59 +0100)]
jvlc: some libvlc_media bindings added

12 years agojvlc: LibVlcMediaDescriptor renamed to LibVlcMedia
Filippo Carone [Sun, 14 Dec 2008 16:25:02 +0000 (17:25 +0100)]
jvlc: LibVlcMediaDescriptor renamed to LibVlcMedia

12 years agojvlc: libvlc_add_intf and libvlc_wait added
Filippo Carone [Sun, 14 Dec 2008 16:11:50 +0000 (17:11 +0100)]
jvlc: libvlc_add_intf and libvlc_wait added

12 years agoreturn width on getWidth, not height
Filippo Carone [Sun, 14 Dec 2008 16:09:59 +0000 (17:09 +0100)]
return width on getWidth, not height

12 years agoProtect against division by 0 on corrupted file (real).
Laurent Aimar [Sun, 14 Dec 2008 16:23:28 +0000 (17:23 +0100)]
Protect against division by 0 on corrupted file (real).

12 years agoFixed real frame allocation error path.
Laurent Aimar [Sun, 14 Dec 2008 15:52:34 +0000 (16:52 +0100)]
Fixed real frame allocation error path.

12 years agoRemove unused variables.
Rémi Duraffort [Sun, 14 Dec 2008 15:54:48 +0000 (16:54 +0100)]
Remove unused variables.

12 years agoRemoved useless real video code in avcodec.
Laurent Aimar [Sun, 14 Dec 2008 15:37:46 +0000 (16:37 +0100)]
Removed useless real video code in avcodec.