vlc.git
13 years agoRemoved impossible fourcc in record.c
Laurent Aimar [Thu, 14 May 2009 20:55:50 +0000 (22:55 +0200)]
Removed impossible fourcc in record.c

13 years agoUsed vlc_fourcc_GetCodecAudio when applicable.
Laurent Aimar [Thu, 14 May 2009 20:54:50 +0000 (22:54 +0200)]
Used vlc_fourcc_GetCodecAudio when applicable.

13 years agoAdded a small vlc_fourcc_GetCodecAudio helper.
Laurent Aimar [Thu, 14 May 2009 20:46:02 +0000 (22:46 +0200)]
Added a small vlc_fourcc_GetCodecAudio helper.

13 years agoUsed vlc_fourcc_GetCodecFromString where applicable.
Laurent Aimar [Thu, 14 May 2009 20:06:58 +0000 (22:06 +0200)]
Used vlc_fourcc_GetCodecFromString where applicable.

13 years agoAdded a small vlc_fourcc_GetCodecFromString helper.
Laurent Aimar [Thu, 14 May 2009 19:35:22 +0000 (21:35 +0200)]
Added a small vlc_fourcc_GetCodecFromString helper.

13 years agoReplaced AOUT_FMT_*_NE/IE by by VLC_CODEC equivalents.
Laurent Aimar [Thu, 14 May 2009 19:23:01 +0000 (21:23 +0200)]
Replaced AOUT_FMT_*_NE/IE by by VLC_CODEC equivalents.

13 years agoRemoved unused AUDIO_FMT_S/U16_NE.
Laurent Aimar [Thu, 14 May 2009 19:11:02 +0000 (21:11 +0200)]
Removed unused AUDIO_FMT_S/U16_NE.

13 years agoAdded and used VLC_CODEC_MP3 when applicable.
Laurent Aimar [Thu, 14 May 2009 19:09:40 +0000 (21:09 +0200)]
Added and used VLC_CODEC_MP3 when applicable.

I also removed its use where it cannot/should not happen.

13 years agoMerge commit 'origin/1.0-bugfix'
Jean-Baptiste Kempf [Thu, 14 May 2009 21:20:40 +0000 (23:20 +0200)]
Merge commit 'origin/1.0-bugfix'

13 years agoQt: Default Output address to 0.0.0.0 in HTTP and MMS
Jean-Baptiste Kempf [Thu, 14 May 2009 21:03:24 +0000 (23:03 +0200)]
Qt: Default Output address to 0.0.0.0 in HTTP and MMS

13 years agoRevert "Forbid Qt4.5.0"
Jean-Baptiste Kempf [Thu, 14 May 2009 20:45:02 +0000 (22:45 +0200)]
Revert "Forbid Qt4.5.0"

Stupid Ubunty Jaunty!

This reverts commit b6b7804713f8aee372637597e9c51aeab09c526f.

13 years agoinput: Fix a memleak.
Rémi Duraffort [Thu, 14 May 2009 17:27:30 +0000 (19:27 +0200)]
input: Fix a memleak.

13 years agoUse var_GetInteger()
Rémi Denis-Courmont [Thu, 14 May 2009 19:48:03 +0000 (22:48 +0300)]
Use var_GetInteger()

13 years agoCopyright Update and cosmetic
Jean-Baptiste Kempf [Thu, 14 May 2009 19:08:06 +0000 (21:08 +0200)]
Copyright Update and cosmetic

13 years agoAdded missing vobsub.h
Laurent Aimar [Thu, 14 May 2009 19:02:57 +0000 (21:02 +0200)]
Added missing vobsub.h

Oups.

13 years agoAdded vobsub.h to Modules.am
Laurent Aimar [Thu, 14 May 2009 18:33:09 +0000 (20:33 +0200)]
Added vobsub.h to Modules.am

13 years agowince: replace _wrename by MoveFileW
Geoffroy Couprie [Wed, 13 May 2009 14:50:53 +0000 (16:50 +0200)]
wince: replace _wrename by MoveFileW
(cherry picked from commit 7ba508f8ef84047d1c1ed06ac0f3596e0ea1019d)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agowince: replace getpid by GetCurrentProcessId
Pierre Ynard [Sat, 9 May 2009 15:20:46 +0000 (17:20 +0200)]
wince: replace getpid by GetCurrentProcessId

Signed-off-by: Geoffroy Couprie <geo.couprie@gmail.com>
(cherry picked from commit d93246d2d334a21021ab004e99dff22d601fb8ab)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoAdding a libvlc_MediaPlayerLengthChanged event
Hugo Beauzee-Luyssen [Thu, 14 May 2009 12:52:32 +0000 (14:52 +0200)]
Adding a libvlc_MediaPlayerLengthChanged event

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
13 years agovobsub idx parsing in matroska tracks
John Stebbins [Thu, 14 May 2009 00:08:36 +0000 (17:08 -0700)]
vobsub idx parsing in matroska tracks

 Added capability to avformat and mkv demuxers to extract the
original_frame_width, original_frame_height and palette from their tracks
private data.
 Vobsubs in mkv were only using default values for these items.

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
13 years agoMark loop, repeat, random as safe.
Jean-Baptiste Kempf [Thu, 14 May 2009 18:07:31 +0000 (20:07 +0200)]
Mark loop, repeat, random as safe.

13 years agoForbid Qt4.5.0
Jean-Baptiste Kempf [Thu, 14 May 2009 17:55:55 +0000 (19:55 +0200)]
Forbid Qt4.5.0

13 years agoRemove kludge for old Qt versions.
Jean-Baptiste Kempf [Thu, 14 May 2009 17:36:44 +0000 (19:36 +0200)]
Remove kludge for old Qt versions.

13 years agoBump necessary Qt version to 4.4
Jean-Baptiste Kempf [Thu, 14 May 2009 17:34:36 +0000 (19:34 +0200)]
Bump necessary Qt version to 4.4

13 years agomozilla: fix integer types
Jean-Paul Saman [Tue, 17 Mar 2009 13:28:12 +0000 (14:28 +0100)]
mozilla: fix integer types

(u)int16 -> (u)int16_t
(u)int32 -> (u)int32_t
(cherry picked from commit 53ec8a45e5945db7a452238447e83a8b630c8a79)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agommsh: cleanup
Jean-Paul Saman [Tue, 12 May 2009 15:02:38 +0000 (17:02 +0200)]
mmsh: cleanup
(cherry picked from commit 190ae57d8cd38b2ec1748f950865b94febdb01d0)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agommstu: fix memleak
Jean-Paul Saman [Tue, 12 May 2009 14:55:26 +0000 (16:55 +0200)]
mmstu: fix memleak
(cherry picked from commit ecfdb8c3ca6c1803cf055dcac440ec7ca1a8a9c3)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agommsh: fix potential memleak
Jean-Paul Saman [Tue, 12 May 2009 12:18:36 +0000 (14:18 +0200)]
mmsh: fix potential memleak
(cherry picked from commit 5cc974b1a4bb383006a380d4c9e0011e47cefde1)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agommstu: handle keepalive error case
Jean-Paul Saman [Tue, 12 May 2009 12:11:30 +0000 (14:11 +0200)]
mmstu: handle keepalive error case
(cherry picked from commit e692b86ada5f970fb37b1db137a9d68148dc6ec2)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoXCB/window: add XFree86 extended key symbols
Rémi Denis-Courmont [Thu, 14 May 2009 16:31:27 +0000 (19:31 +0300)]
XCB/window: add XFree86 extended key symbols

Well, only those that VLC knows anyway.

13 years agoMerge commit 'origin/1.0-bugfix'
Rémi Denis-Courmont [Thu, 14 May 2009 15:54:17 +0000 (18:54 +0300)]
Merge commit 'origin/1.0-bugfix'

13 years agoXCB/window: implement --video-title, UTF-8 names
Rémi Denis-Courmont [Thu, 14 May 2009 15:46:08 +0000 (18:46 +0300)]
XCB/window: implement --video-title, UTF-8 names

13 years agoloose up little xcb-xv version requirements
Ilkka Ollakka [Thu, 14 May 2009 13:48:50 +0000 (16:48 +0300)]
loose up little xcb-xv version requirements

Atleast for me xcb-xv gives version 1.1 only, and vlc compiled/works
with it just fine.

13 years agoactivex: remove libvlc_video_set_size() and libvlc_video_set_parent
Jean-Paul Saman [Thu, 14 May 2009 11:06:29 +0000 (13:06 +0200)]
activex: remove libvlc_video_set_size() and libvlc_video_set_parent

Activex plugin now builds again for windows. Commits: f1582740f8c3b7647e7391ccf7f476ce26846c5f and 03b85ce331b532799827bea23dbe3237f5818733 broke building of the plugin on windows.

13 years agommsh: cleanup
Jean-Paul Saman [Tue, 12 May 2009 15:02:38 +0000 (17:02 +0200)]
mmsh: cleanup

13 years agommstu: fix memleak
Jean-Paul Saman [Tue, 12 May 2009 14:55:26 +0000 (16:55 +0200)]
mmstu: fix memleak

13 years agommsh: fix potential memleak
Jean-Paul Saman [Tue, 12 May 2009 12:18:36 +0000 (14:18 +0200)]
mmsh: fix potential memleak

13 years agommstu: handle keepalive error case
Jean-Paul Saman [Tue, 12 May 2009 12:11:30 +0000 (14:11 +0200)]
mmstu: handle keepalive error case

13 years agoFourCC v210
Jean-Baptiste Kempf [Wed, 13 May 2009 21:51:17 +0000 (23:51 +0200)]
FourCC v210

13 years agoFixed the option "auto-preparse".
Laurent Aimar [Wed, 13 May 2009 21:41:54 +0000 (23:41 +0200)]
Fixed the option "auto-preparse".

 It is now respected. It is part of the privacy problem with
meta data/art.
 I think that
  --noauto-preparse --album-art 0
 will workaround the issue until a new option is added.

13 years agoFixed the option "auto-preparse".
Laurent Aimar [Wed, 13 May 2009 21:41:54 +0000 (23:41 +0200)]
Fixed the option "auto-preparse".

 It is now respected. It is part of the privacy problem with
meta data/art.
 I think that
  --noauto-preparse --album-art 0
 will workaround the issue until a new option is added.

13 years agoMore FourCCs
Jean-Baptiste Kempf [Wed, 13 May 2009 20:31:25 +0000 (22:31 +0200)]
More FourCCs

13 years agoMerged mp1v/mp2v codecs.
Laurent Aimar [Wed, 13 May 2009 20:34:07 +0000 (22:34 +0200)]
Merged mp1v/mp2v codecs.

The codec defined will only be used by encoder to force one of the types.

13 years agoXlib: assume we have a window provider
Rémi Denis-Courmont [Wed, 13 May 2009 20:29:40 +0000 (23:29 +0300)]
Xlib: assume we have a window provider

13 years agoRequire XCB so we always have a window provider (fixes #2736)
Rémi Denis-Courmont [Wed, 13 May 2009 20:16:37 +0000 (23:16 +0300)]
Require XCB so we always have a window provider (fixes #2736)

13 years agoMerge branch 1.0-bugfix
Rémi Denis-Courmont [Wed, 13 May 2009 20:32:57 +0000 (23:32 +0300)]
Merge branch 1.0-bugfix

13 years agoXvMC capitalization
Rémi Denis-Courmont [Wed, 13 May 2009 20:14:00 +0000 (23:14 +0300)]
XvMC capitalization

13 years agoAlphabetical order
Rémi Denis-Courmont [Wed, 13 May 2009 19:47:07 +0000 (22:47 +0300)]
Alphabetical order

13 years agoOpenGL: fix missing GLX window decoration
Rémi Denis-Courmont [Wed, 13 May 2009 20:23:35 +0000 (23:23 +0300)]
OpenGL: fix missing GLX window decoration

13 years agoXCB/window: do not depend on xcb-aux for one trivial function call
Rémi Denis-Courmont [Wed, 13 May 2009 20:13:10 +0000 (23:13 +0300)]
XCB/window: do not depend on xcb-aux for one trivial function call

13 years agoLet libmpeg2 decode mp1v/mp2v too.
Laurent Aimar [Wed, 13 May 2009 20:24:03 +0000 (22:24 +0200)]
Let libmpeg2 decode mp1v/mp2v too.

13 years agoOpenGL: fix missing GLX window decoration
Rémi Denis-Courmont [Wed, 13 May 2009 20:23:35 +0000 (23:23 +0300)]
OpenGL: fix missing GLX window decoration

13 years agoXCB/window: do not depend on xcb-aux for one trivial function call
Rémi Denis-Courmont [Wed, 13 May 2009 20:13:10 +0000 (23:13 +0300)]
XCB/window: do not depend on xcb-aux for one trivial function call

13 years agoFixed downmixing to mono (close #2728).
Laurent Aimar [Wed, 13 May 2009 19:59:13 +0000 (21:59 +0200)]
Fixed downmixing to mono (close #2728).

13 years agofix compilation.
Rémi Duraffort [Wed, 13 May 2009 19:59:46 +0000 (21:59 +0200)]
fix compilation.

13 years agoFixed downmixing to mono (close #2728).
Laurent Aimar [Wed, 13 May 2009 19:59:13 +0000 (21:59 +0200)]
Fixed downmixing to mono (close #2728).

13 years agoCompilation fix.
Laurent Aimar [Wed, 13 May 2009 19:50:19 +0000 (21:50 +0200)]
Compilation fix.

13 years agoFixed copyright.
Laurent Aimar [Wed, 13 May 2009 19:33:50 +0000 (21:33 +0200)]
Fixed copyright.

13 years agoFixed compilation (dmo).
Laurent Aimar [Wed, 13 May 2009 19:31:04 +0000 (21:31 +0200)]
Fixed compilation (dmo).

13 years agoFixed typo (compilation).
Laurent Aimar [Wed, 13 May 2009 19:26:23 +0000 (21:26 +0200)]
Fixed typo (compilation).

13 years agofourcc.c TSQ.
Laurent Aimar [Wed, 13 May 2009 19:10:35 +0000 (21:10 +0200)]
fourcc.c TSQ.

13 years agoUsed VLC_CODEC_* and i_original_fourcc when applicable.
Laurent Aimar [Tue, 12 May 2009 21:18:46 +0000 (23:18 +0200)]
Used VLC_CODEC_* and i_original_fourcc when applicable.

13 years agoFixed es_format_t::i_codec/i_original_fourcc values after the decoder.
Laurent Aimar [Tue, 12 May 2009 20:52:18 +0000 (22:52 +0200)]
Fixed es_format_t::i_codec/i_original_fourcc values after the decoder.

es_format_t::i_codec will be the codec from vlc_fourcc.h
es_format_t::i_original_fourcc will contains the original fourcc
value.

This allows to simplify the decoder/packetizer and every sout modules.

13 years agoUsed VLC_CODEC_* and vlc_fourcc_GetCodec when suitable.
Laurent Aimar [Mon, 11 May 2009 18:49:09 +0000 (20:49 +0200)]
Used VLC_CODEC_* and vlc_fourcc_GetCodec when suitable.

 There will be some regressions, I used automatic sed replacement with manual
checks but there was a lot to change.
 It's only the first pass.

13 years agoAdded two codec four aout usage (spdif).
Laurent Aimar [Tue, 12 May 2009 18:23:46 +0000 (20:23 +0200)]
Added two codec four aout usage (spdif).

13 years agoRemoved unused defined.
Laurent Aimar [Mon, 11 May 2009 18:48:49 +0000 (20:48 +0200)]
Removed unused defined.

13 years agoCosmetics.
Laurent Aimar [Mon, 11 May 2009 18:48:36 +0000 (20:48 +0200)]
Cosmetics.

13 years agoUse vlc_fourcc_* helpers in avi demuxer.
Laurent Aimar [Wed, 18 Mar 2009 20:44:51 +0000 (21:44 +0100)]
Use vlc_fourcc_* helpers in avi demuxer.

13 years agoUse new vlc_fourcc_* helpers in avcodec.
Laurent Aimar [Sun, 10 May 2009 21:45:46 +0000 (23:45 +0200)]
Use new vlc_fourcc_* helpers in avcodec.

13 years agoUse vlc_fourcc_GetDescription for item infos.
Laurent Aimar [Wed, 18 Mar 2009 20:39:32 +0000 (21:39 +0100)]
Use vlc_fourcc_GetDescription for item infos.

13 years agoAdded a i_original_fourcc field to es_format_t.
Laurent Aimar [Mon, 11 May 2009 17:41:11 +0000 (19:41 +0200)]
Added a i_original_fourcc field to es_format_t.

13 years agoUsed vlc_fourcc_GetCodec in vout core.
Laurent Aimar [Tue, 12 May 2009 20:14:52 +0000 (22:14 +0200)]
Used vlc_fourcc_GetCodec in vout core.

13 years agoAdded fourcc helpers and defines to centralize them.
Laurent Aimar [Tue, 17 Mar 2009 22:01:27 +0000 (23:01 +0100)]
Added fourcc helpers and defines to centralize them.

It introduces a bunch of VLC_CODEC_* defines as a representative
fourcc for a codec. The fourccs have been chosen pretty much randomly
except when I knew well know ones.

It adds two helpers: vlc_fourcc_GetCodec and vlc_fourcc_GetDescription.

Don't hesitate if you have any comments.

13 years agoMerge branch 1.0-bugfix
Rémi Denis-Courmont [Wed, 13 May 2009 18:57:34 +0000 (21:57 +0300)]
Merge branch 1.0-bugfix

Conflicts:
include/vlc/deprecated.h
src/control/video.c
src/libvlc.sym

13 years agoDeprecate all broken vout_Control() abusers
Rémi Denis-Courmont [Wed, 13 May 2009 18:48:24 +0000 (21:48 +0300)]
Deprecate all broken vout_Control() abusers

13 years agouse VLC_DEPRECATED_API as needed
Rémi Denis-Courmont [Wed, 13 May 2009 18:48:07 +0000 (21:48 +0300)]
use VLC_DEPRECATED_API as needed

13 years agolibvlc: add support for setting/getting the video scale
Rémi Denis-Courmont [Wed, 13 May 2009 18:43:25 +0000 (21:43 +0300)]
libvlc: add support for setting/getting the video scale

13 years agoUse input_GetVout() instead of vlc_object_find()
Rémi Denis-Courmont [Wed, 13 May 2009 18:38:56 +0000 (21:38 +0300)]
Use input_GetVout() instead of vlc_object_find()

13 years agoMerge branch 1.0-bugfix
Rémi Denis-Courmont [Wed, 13 May 2009 18:08:54 +0000 (21:08 +0300)]
Merge branch 1.0-bugfix

13 years agoRemove crap that calls vout_Control from outside the vout thread
Rémi Denis-Courmont [Wed, 13 May 2009 18:04:20 +0000 (21:04 +0300)]
Remove crap that calls vout_Control from outside the vout thread

13 years agoReparenting does not work with set_parent.
Rémi Denis-Courmont [Wed, 13 May 2009 17:52:06 +0000 (20:52 +0300)]
Reparenting does not work with set_parent.

It did not work in 1.0 either, and it was not safe in earlier versions.
Nobody ever bothered to implement thread-safe reparenting. Calling
libvlc_video_set_parent() is useless in 1.0: It has the same effect
as calling proper libvlc_media_player_set_*(), which the Mozilla
plugin already does.

13 years agortsp: fix RTP-Info header syntax
Pierre Ynard [Wed, 13 May 2009 16:26:01 +0000 (18:26 +0200)]
rtsp: fix RTP-Info header syntax

As per RFC2326, the correct syntax includes a "url=" that is missing
here. Tested (and bug found) with a Real Player client.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoXCB/window: fix always on top
Rémi Denis-Courmont [Wed, 13 May 2009 17:16:38 +0000 (20:16 +0300)]
XCB/window: fix always on top

13 years agoaa video output: fix compilation warning.
Rémi Duraffort [Wed, 13 May 2009 16:34:43 +0000 (18:34 +0200)]
aa video output: fix compilation warning.

13 years agoFix missing symbol in libxvmc_plugin.so
Nicolas Chauvet (kwizart) [Wed, 13 May 2009 13:26:32 +0000 (15:26 +0200)]
Fix missing symbol in libxvmc_plugin.so

the XvMC plugin use xcommon.c where some part use
HAVE_XINERAMA conditions.

Missing symbols are :
XineramaQueryScreens
XineramaQueryExtension
XineramaIsActive

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
13 years agofbosd: fix compilation with the changes of text_style_*
Rémi Duraffort [Wed, 13 May 2009 14:47:19 +0000 (16:47 +0200)]
fbosd: fix compilation with the changes of text_style_*

13 years agoMerge branch 1.0-bugfix
Rémi Denis-Courmont [Wed, 13 May 2009 15:52:30 +0000 (18:52 +0300)]
Merge branch 1.0-bugfix

13 years agoPrivatize libvlc_media_player_destroy
Rémi Denis-Courmont [Wed, 13 May 2009 15:50:46 +0000 (18:50 +0300)]
Privatize libvlc_media_player_destroy

13 years agoRemove core support for global drawable
Rémi Denis-Courmont [Wed, 13 May 2009 15:41:12 +0000 (18:41 +0300)]
Remove core support for global drawable

13 years agoRemove deprecated functions
Rémi Denis-Courmont [Wed, 13 May 2009 15:27:19 +0000 (18:27 +0300)]
Remove deprecated functions

13 years agolibvlc_media_player_retain: missing lock
Rémi Denis-Courmont [Wed, 13 May 2009 15:51:01 +0000 (18:51 +0300)]
libvlc_media_player_retain: missing lock

13 years agowince: replace _wrename by MoveFileW
Geoffroy Couprie [Wed, 13 May 2009 14:50:53 +0000 (16:50 +0200)]
wince: replace _wrename by MoveFileW

13 years agoMake tests as plain executable (easier to debug than libtool wrappers)
Rémi Denis-Courmont [Tue, 12 May 2009 21:10:27 +0000 (00:10 +0300)]
Make tests as plain executable (easier to debug than libtool wrappers)

13 years agoDepth is the word
Rémi Denis-Courmont [Tue, 12 May 2009 20:46:58 +0000 (23:46 +0300)]
Depth is the word

13 years agoUnexport libvlc_media_player_new_from_input_thread
Rémi Denis-Courmont [Tue, 12 May 2009 16:59:42 +0000 (19:59 +0300)]
Unexport libvlc_media_player_new_from_input_thread

This was clearly a bug, as it is documented as an internal function,
and sues internal types

13 years agoMerge branch 1.0-bugfix
Rémi Denis-Courmont [Tue, 12 May 2009 16:13:38 +0000 (19:13 +0300)]
Merge branch 1.0-bugfix

13 years agoSyntax error
Rémi Denis-Courmont [Tue, 12 May 2009 16:12:44 +0000 (19:12 +0300)]
Syntax error

13 years agoMerge branch 1.0-bugfix
Rémi Denis-Courmont [Tue, 12 May 2009 15:46:25 +0000 (18:46 +0300)]
Merge branch 1.0-bugfix

13 years agoFix *ASCII* translation of VLC media player in languages I know
Rémi Denis-Courmont [Tue, 12 May 2009 15:44:48 +0000 (18:44 +0300)]
Fix *ASCII* translation of VLC media player in languages I know

This bug affects many other localizations that I cannot fix myself.

13 years agoFix invalid use of gettext
Rémi Denis-Courmont [Tue, 12 May 2009 15:41:19 +0000 (18:41 +0300)]
Fix invalid use of gettext