vlc.git
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 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 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 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

13 years agofix make check for commit-id 681ac9f14efd4a8611e7868004f59d5bf4f84d71
Jean-Paul Saman [Tue, 12 May 2009 11:48:08 +0000 (13:48 +0200)]
fix make check for commit-id 681ac9f14efd4a8611e7868004f59d5bf4f84d71

13 years agoCompile fix: Include limits.h when using PATH_MAX
Jean-Paul Saman [Tue, 12 May 2009 11:22:11 +0000 (13:22 +0200)]
Compile fix: Include limits.h when using PATH_MAX

13 years agolibvlc_event_*: fix locking
Jean-Paul Saman [Tue, 12 May 2009 10:39:50 +0000 (12:39 +0200)]
libvlc_event_*: fix locking

13 years agolibvlc: delete callback in media_player_release.
Jean-Paul Saman [Sun, 10 May 2009 14:05:07 +0000 (16:05 +0200)]
libvlc: delete callback in media_player_release.

13 years agomedia_player: cosmetics
Jean-Paul Saman [Sat, 9 May 2009 19:57:51 +0000 (21:57 +0200)]
media_player: cosmetics

13 years agolibvlc_media_list_player_release: do not leak memory
Jean-Paul Saman [Sat, 9 May 2009 19:41:16 +0000 (21:41 +0200)]
libvlc_media_list_player_release: do not leak memory

13 years agomacosx: disable fullscreen when closing video_output when output is embedded (like...
Jean-Paul Saman [Tue, 5 May 2009 15:05:03 +0000 (17:05 +0200)]
macosx: disable fullscreen when closing video_output when output is embedded (like in the mozilla browserplugins)

13 years agomozilla: workaround for libvlc media_player end of media list behavior
Jean-Paul Saman [Tue, 5 May 2009 15:04:21 +0000 (17:04 +0200)]
mozilla: workaround for libvlc media_player end of media list behavior

13 years agomozilla: use correct cast for VlcPlugin *
Jean-Paul Saman [Tue, 5 May 2009 11:31:17 +0000 (13:31 +0200)]
mozilla: use correct cast for VlcPlugin *

13 years agomozilla: remove debug prints
Jean-Paul Saman [Tue, 5 May 2009 11:16:16 +0000 (13:16 +0200)]
mozilla: remove debug prints

13 years agodc1394 and dv1394: cleanup detection in configure.ac
Jean-Paul Saman [Tue, 12 May 2009 11:20:37 +0000 (13:20 +0200)]
dc1394 and dv1394: cleanup detection in configure.ac

13 years agodv: cleanup
Jean-Paul Saman [Mon, 27 Apr 2009 10:47:30 +0000 (12:47 +0200)]
dv: cleanup

13 years agoUse pkg-config to detect libraw1394 and libavc1394
Jean-Paul Saman [Mon, 27 Apr 2009 10:40:50 +0000 (12:40 +0200)]
Use pkg-config to detect libraw1394 and libavc1394

13 years agoCleanup whitespace.
Jean-Paul Saman [Mon, 27 Apr 2009 08:02:55 +0000 (10:02 +0200)]
Cleanup whitespace.

13 years agosrc/control/video.c: Replace vlc_object_find with input_GetVout()
Jean-Paul Saman [Fri, 27 Mar 2009 11:22:08 +0000 (12:22 +0100)]
src/control/video.c: Replace vlc_object_find with input_GetVout()

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

13 years agoAdded and used text_style_* methods.
basOS G [Mon, 11 May 2009 21:35:40 +0000 (23:35 +0200)]
Added and used text_style_* methods.

It had the following functions:
- text_style_New  -- allocates default text style
- text_style_Dup  -- allocates and copies text style
- text_style_Copy -- copies text style
- text_style_Delete -- deallocates text style

NOTE that the vout_ShowText* functions will take a p_style and copy
it internally so you have to free in the caller function.
 Other modules where p_style was malloced there are now fixed to
copy before calling the vout* functions.

Original patch by basOS G with a few modifications by fenrir.

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
13 years agoSplit INPUT_EVENT_TIMES into INPUT_EVENT_POSITION/LENGTH.
Laurent Aimar [Mon, 11 May 2009 20:17:54 +0000 (22:17 +0200)]
Split INPUT_EVENT_TIMES into INPUT_EVENT_POSITION/LENGTH.

It allows a finer control on what to update (for gui).

13 years agoRemoved dead code.
Laurent Aimar [Tue, 17 Mar 2009 21:19:38 +0000 (22:19 +0100)]
Removed dead code.

13 years agoMerge branch 1.0-bugfix
Rémi Denis-Courmont [Mon, 11 May 2009 19:22:52 +0000 (22:22 +0300)]
Merge branch 1.0-bugfix

13 years agoKDE4 screensaver preemption (fixes #2730)
Felix Geyer [Mon, 11 May 2009 19:21:39 +0000 (22:21 +0300)]
KDE4 screensaver preemption (fixes #2730)

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agotypo
Rémi Denis-Courmont [Mon, 11 May 2009 17:28:36 +0000 (20:28 +0300)]
typo

13 years agoqt4: kill unused askVideoToToggle()
Rémi Denis-Courmont [Mon, 11 May 2009 17:25:15 +0000 (20:25 +0300)]
qt4: kill unused askVideoToToggle()

13 years agoqt4: remove double check of isFullScreen
Rémi Denis-Courmont [Mon, 11 May 2009 17:12:27 +0000 (20:12 +0300)]
qt4: remove double check of isFullScreen

13 years agoMerge commit 'origin/1.0-bugfix'
Rémi Denis-Courmont [Mon, 11 May 2009 16:30:53 +0000 (19:30 +0300)]
Merge commit 'origin/1.0-bugfix'

13 years agoPrevented QT4 gui from changing size while maximized. This should fix https://trac...
Niklas Hayer [Sun, 10 May 2009 18:44:09 +0000 (20:44 +0200)]
Prevented QT4 gui from changing size while maximized. This should fix https://trac.videolan.org/vlc/ticket/1883

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit e83df29b1f39dd46fe8893e5e111ed8be9a17e2d)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoPrevented QT4 gui from changing size while maximized. This should fix https://trac...
Niklas Hayer [Sun, 10 May 2009 18:44:09 +0000 (20:44 +0200)]
Prevented QT4 gui from changing size while maximized. This should fix https://trac.videolan.org/vlc/ticket/1883

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoChanging libvlc_video_take_snapshot prototype
Hugo Beauzee-Luyssen [Sun, 10 May 2009 16:59:56 +0000 (18:59 +0200)]
Changing libvlc_video_take_snapshot prototype

So that it takes a const char* as the filename parameter.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoMerge branch 1.0-bugfix
Rémi Denis-Courmont [Sun, 10 May 2009 15:40:42 +0000 (18:40 +0300)]
Merge branch 1.0-bugfix

13 years agoPDA: useless redefinition
Rémi Denis-Courmont [Sun, 10 May 2009 15:40:12 +0000 (18:40 +0300)]
PDA: useless redefinition

13 years agoPDA: dummy input locking
Rémi Denis-Courmont [Sun, 10 May 2009 15:38:21 +0000 (18:38 +0300)]
PDA: dummy input locking

13 years agoMissing .gitignore
Rémi Denis-Courmont [Sun, 10 May 2009 15:37:42 +0000 (18:37 +0300)]
Missing .gitignore

13 years agoMissing .gitignore
Rémi Denis-Courmont [Sun, 10 May 2009 15:35:27 +0000 (18:35 +0300)]
Missing .gitignore

13 years agoPDA: broken dead code
Rémi Denis-Courmont [Sun, 10 May 2009 15:34:47 +0000 (18:34 +0300)]
PDA: broken dead code

13 years agoHTTP: use DIR_SEP(_CHAR)
Rémi Denis-Courmont [Sun, 10 May 2009 13:44:36 +0000 (16:44 +0300)]
HTTP: use DIR_SEP(_CHAR)

13 years agoMerge branch 1.0-bugfix
Rémi Denis-Courmont [Sun, 10 May 2009 12:32:30 +0000 (15:32 +0300)]
Merge branch 1.0-bugfix

13 years agoXSPF: use make_URI, should fix #2731
Rémi Denis-Courmont [Sun, 10 May 2009 12:25:39 +0000 (15:25 +0300)]
XSPF: use make_URI, should fix #2731

13 years agotest cases for make_URI()
Rémi Denis-Courmont [Sun, 10 May 2009 12:24:01 +0000 (15:24 +0300)]
test cases for make_URI()

13 years agomake_URI: make a URI out of a path, if needed
Rémi Denis-Courmont [Sun, 10 May 2009 12:23:18 +0000 (15:23 +0300)]
make_URI: make a URI out of a path, if needed

13 years agodecode_URI: improve documentation, add a return value
Rémi Denis-Courmont [Sun, 10 May 2009 10:35:56 +0000 (13:35 +0300)]
decode_URI: improve documentation, add a return value