vlc.git
10 years agoWin32: make the fullscreen display really take the full screen
Geoffroy Couprie [Tue, 13 Oct 2009 10:13:47 +0000 (12:13 +0200)]
Win32: make the fullscreen display really take the full screen

10 years agoasx.c: don't use const on prz_mrl
Ilkka Ollakka [Tue, 13 Oct 2009 09:07:06 +0000 (12:07 +0300)]
asx.c: don't use const on prz_mrl

10 years agoasx.c: change reallocating to doupling instead of adding just 1024
Ilkka Ollakka [Mon, 12 Oct 2009 13:33:12 +0000 (16:33 +0300)]
asx.c: change reallocating to doupling instead of adding just 1024

Also change comparing stream size from (<=0 && < 16384) to (<=0 && >16384)

10 years agoasx.c: user ProcessMRL for playlist href to be able to use relative paths in playlist...
Ilkka Ollakka [Tue, 13 Oct 2009 08:38:34 +0000 (11:38 +0300)]
asx.c: user ProcessMRL for playlist href to be able to use relative paths in playlist-file

This and earlier change to add access to prefix should fix usage of eg
http://media.meteo.it/vsat.asx playlist-file.

10 years agoplaylist.c: change FindPrefix to include access on returned string
Ilkka Ollakka [Mon, 12 Oct 2009 13:39:19 +0000 (16:39 +0300)]
playlist.c: change FindPrefix to include access on returned string

10 years agoReplace the last of the HAVE_EVENTFDs with HAVE_SYS_EVENTFD_H.
JP Dinger [Tue, 13 Oct 2009 07:17:45 +0000 (09:17 +0200)]
Replace the last of the HAVE_EVENTFDs with HAVE_SYS_EVENTFD_H.
(cherry picked from commit b3d9ea87aa40d43f081b8fcecd7d0126e6865196)

10 years agoRevert "Fix windows build (undefined reference to gpg_error_*)"
Rémi Denis-Courmont [Mon, 12 Oct 2009 18:07:20 +0000 (21:07 +0300)]
Revert "Fix windows build (undefined reference to gpg_error_*)"

LibVLC is not calling gpg_error functions anywhere. Linking gpg-error
causes problems with *correctly* built libgcrypt (e.g. incorrect
package dependencies).

This reverts commit f865a8169457c8fa934782974e1b21c534bf0744.

10 years agoFix windows build (undefined reference to gpg_error_*)
Geoffroy Couprie [Mon, 12 Oct 2009 18:02:02 +0000 (20:02 +0200)]
Fix windows build (undefined reference to gpg_error_*)

10 years agoTypo
Rémi Denis-Courmont [Mon, 12 Oct 2009 16:53:11 +0000 (19:53 +0300)]
Typo

10 years agoconfigure: remove useless autoconf defines
Pierre Ynard [Mon, 12 Oct 2009 00:20:04 +0000 (02:20 +0200)]
configure: remove useless autoconf defines

They are used nowhere in the code, and just clutter the build system

10 years agom3u.c: use input_item_SetTitle
Ilkka Ollakka [Thu, 8 Oct 2009 20:41:14 +0000 (23:41 +0300)]
m3u.c: use input_item_SetTitle

This allow to have channelnames on saved xspf-playlist from dvb-scanning.

10 years agoAdded support for I420/J420/YV12 to direct3d.
Laurent Aimar [Sun, 11 Oct 2009 16:45:59 +0000 (18:45 +0200)]
Added support for I420/J420/YV12 to direct3d.

It is not described in the msdn documentation, but planar 420
seems to be supported by a lot of video cards.

10 years agoSimplified direct3d chroma discovery.
Laurent Aimar [Sun, 11 Oct 2009 16:43:35 +0000 (18:43 +0200)]
Simplified direct3d chroma discovery.

10 years agoAdded vlc_fourcc_GetRGBFallback.
Laurent Aimar [Sun, 11 Oct 2009 13:58:09 +0000 (15:58 +0200)]
Added vlc_fourcc_GetRGBFallback.

10 years agoFixed overlay in directx regression.
Laurent Aimar [Sun, 11 Oct 2009 13:18:08 +0000 (15:18 +0200)]
Fixed overlay in directx regression.

10 years agoFixed uninitialized variables (msw).
Laurent Aimar [Sun, 11 Oct 2009 09:49:48 +0000 (11:49 +0200)]
Fixed uninitialized variables (msw).

10 years agoosx/framework: added wrapper methods for snapshots and deinterlacing
Felix Paul Kühne [Sun, 11 Oct 2009 15:09:09 +0000 (17:09 +0200)]
osx/framework: added wrapper methods for snapshots and deinterlacing

10 years agoOpen : fix typo.
Sabourin Gilles [Sun, 11 Oct 2009 08:34:47 +0000 (10:34 +0200)]
Open : fix typo.

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
10 years agoinput: Support file://localhost/ type URL when autodetecting subtitles.
Pierre d'Herbemont [Sat, 10 Oct 2009 17:03:54 +0000 (19:03 +0200)]
input: Support file://localhost/ type URL when autodetecting subtitles.

10 years agovariables: fix typo.
Rémi Duraffort [Sat, 10 Oct 2009 15:47:03 +0000 (17:47 +0200)]
variables: fix typo.

10 years agoopengllayer: the variable is a void* and not an integer and must be named drawable...
Rémi Duraffort [Sat, 10 Oct 2009 14:51:06 +0000 (16:51 +0200)]
opengllayer: the variable is a void* and not an integer and must be named drawable-nsobject.

10 years agovariables: add var_CreategetAddress.
Rémi Duraffort [Sat, 10 Oct 2009 15:30:21 +0000 (17:30 +0200)]
variables: add var_CreategetAddress.

10 years agomacosx/framework: Add the freebox as one of the known SD.
Pierre d'Herbemont [Sat, 10 Oct 2009 14:14:13 +0000 (16:14 +0200)]
macosx/framework: Add the freebox as one of the known SD.

10 years agominimal_macosx: Don't attempt to use the vout when there is none.
Pierre d'Herbemont [Sat, 10 Oct 2009 14:13:24 +0000 (16:13 +0200)]
minimal_macosx: Don't attempt to use the vout when there is none.

10 years agomacosx: fixed logic errors in previous commit pointed by Pierre
Felix Paul Kühne [Sat, 10 Oct 2009 13:21:46 +0000 (15:21 +0200)]
macosx: fixed logic errors in previous commit pointed by Pierre

10 years agomacosx: merge AppleRemote fixes from the Lunettes project
Felix Paul Kühne [Sat, 10 Oct 2009 11:47:31 +0000 (13:47 +0200)]
macosx: merge AppleRemote fixes from the Lunettes project

10 years agoosx/framework: added convience methods for volume up/down
Felix Paul Kühne [Sat, 10 Oct 2009 10:44:41 +0000 (12:44 +0200)]
osx/framework: added convience methods for volume up/down

10 years agomacosx: vlc_keys seems to need vlc_common.
Pierre d'Herbemont [Sat, 10 Oct 2009 10:13:14 +0000 (12:13 +0200)]
macosx: vlc_keys seems to need vlc_common.

10 years agoaout_sdl: fix compilation.
Rémi Duraffort [Sat, 10 Oct 2009 10:13:56 +0000 (12:13 +0200)]
aout_sdl: fix compilation.

10 years agomacosx: Silent a harmless warning.
Pierre d'Herbemont [Sat, 10 Oct 2009 09:59:52 +0000 (11:59 +0200)]
macosx: Silent a harmless warning.

10 years agomacosx: Dummy build fix.
Pierre d'Herbemont [Sat, 10 Oct 2009 09:59:35 +0000 (11:59 +0200)]
macosx: Dummy build fix.

10 years agoFix potential object leak.
Rémi Duraffort [Sat, 10 Oct 2009 10:01:31 +0000 (12:01 +0200)]
Fix potential object leak.

10 years agoUse var_Get* when applicable.
Rémi Duraffort [Thu, 8 Oct 2009 18:52:06 +0000 (20:52 +0200)]
Use var_Get* when applicable.

10 years agolua: fix potential memleak.
Rémi Duraffort [Thu, 8 Oct 2009 14:41:41 +0000 (16:41 +0200)]
lua: fix potential memleak.

10 years agoNo need to test for NULL before a free.
Rémi Duraffort [Thu, 8 Oct 2009 14:26:07 +0000 (16:26 +0200)]
No need to test for NULL before a free.

10 years agouse var_ToggleBool when applicable.
Rémi Duraffort [Mon, 5 Oct 2009 09:01:03 +0000 (11:01 +0200)]
use var_ToggleBool when applicable.

10 years agoUse var_Get* when applicable.
Rémi Duraffort [Mon, 5 Oct 2009 09:07:14 +0000 (11:07 +0200)]
Use var_Get* when applicable.

10 years agovout: use the new var_GetAddress.
Rémi Duraffort [Mon, 5 Oct 2009 08:47:54 +0000 (10:47 +0200)]
vout: use the new var_GetAddress.

10 years agovariables: add a var_GetAddress function.
Rémi Duraffort [Mon, 5 Oct 2009 08:43:11 +0000 (10:43 +0200)]
variables: add a var_GetAddress function.

10 years agomp4: fix potential memleak.
Rémi Duraffort [Sun, 4 Oct 2009 20:35:57 +0000 (22:35 +0200)]
mp4: fix potential memleak.

10 years agovout_directx: fix memleak.
Rémi Duraffort [Sun, 4 Oct 2009 20:33:03 +0000 (22:33 +0200)]
vout_directx: fix memleak.

10 years agocodec: use var_Get(Integer|Float|String) when applicable.
Rémi Duraffort [Sun, 4 Oct 2009 17:25:41 +0000 (19:25 +0200)]
codec: use var_Get(Integer|Float|String) when applicable.

10 years agotwolame: "quality" is a float variable and not an integer !
Rémi Duraffort [Sun, 4 Oct 2009 18:19:07 +0000 (20:19 +0200)]
twolame: "quality" is a float variable and not an integer !

10 years agoaccess_dvb: constify.
Rémi Duraffort [Fri, 2 Oct 2009 18:38:40 +0000 (20:38 +0200)]
access_dvb: constify.

10 years agoaccess_dvb: constify.
Rémi Duraffort [Fri, 2 Oct 2009 18:35:32 +0000 (20:35 +0200)]
access_dvb: constify.

10 years agosout_std: imporve logic (and save a malloc/free)
Rémi Duraffort [Fri, 2 Oct 2009 18:27:06 +0000 (20:27 +0200)]
sout_std: imporve logic (and save a malloc/free)

10 years agosout_std: fix potential memleaks.
Rémi Duraffort [Fri, 2 Oct 2009 18:23:05 +0000 (20:23 +0200)]
sout_std: fix potential memleaks.

10 years agosout_raop: factorize.
Rémi Duraffort [Fri, 2 Oct 2009 18:05:49 +0000 (20:05 +0200)]
sout_raop: factorize.

10 years agosmem: try not to re-create the variables too many times.
Rémi Duraffort [Fri, 2 Oct 2009 17:56:05 +0000 (19:56 +0200)]
smem: try not to re-create the variables too many times.

10 years agosout std: factorize.
Rémi Duraffort [Fri, 2 Oct 2009 17:42:38 +0000 (19:42 +0200)]
sout std: factorize.

10 years agoWinCE: fix memleak.
Rémi Duraffort [Fri, 2 Oct 2009 17:32:03 +0000 (19:32 +0200)]
WinCE: fix memleak.

10 years agoFactorize.
Rémi Duraffort [Tue, 29 Sep 2009 13:07:29 +0000 (15:07 +0200)]
Factorize.

10 years agoUse var_CreateGet when applicable.
Rémi Duraffort [Fri, 25 Sep 2009 10:47:28 +0000 (12:47 +0200)]
Use var_CreateGet when applicable.

10 years agoSD_mediadirs: no need to strdup.
Rémi Duraffort [Tue, 22 Sep 2009 20:43:51 +0000 (22:43 +0200)]
SD_mediadirs: no need to strdup.

10 years agoCosmetics.
Rémi Duraffort [Sun, 20 Sep 2009 17:26:43 +0000 (19:26 +0200)]
Cosmetics.

10 years agoosx/framework: added convenience methods for jumps within a stream
Felix Paul Kühne [Fri, 9 Oct 2009 15:16:20 +0000 (17:16 +0200)]
osx/framework: added convenience methods for jumps within a stream

10 years agoosx/framework: allow VLCTime to handle int values
Felix Paul Kühne [Fri, 9 Oct 2009 15:09:20 +0000 (17:09 +0200)]
osx/framework: allow VLCTime to handle int values

10 years agoframework: updated to current libvlc API
Felix Paul Kühne [Fri, 9 Oct 2009 15:08:15 +0000 (17:08 +0200)]
framework: updated to current libvlc API

10 years agoglobalhotkeys xcb : fix modifiers with xcb-keysyms >= 0.3.4
Rafaël Carré [Fri, 9 Oct 2009 00:39:20 +0000 (02:39 +0200)]
globalhotkeys xcb : fix modifiers with xcb-keysyms >= 0.3.4

10 years agoremove debug left over in [b3a591d0]
Rafaël Carré [Fri, 9 Oct 2009 00:16:12 +0000 (02:16 +0200)]
remove debug left over in [b3a591d0]

10 years agoFix infinite loop introduced in [9142f0c6]
Rafaël Carré [Thu, 8 Oct 2009 23:59:02 +0000 (01:59 +0200)]
Fix infinite loop introduced in [9142f0c6]

10 years agoUsed VC-1 avcodec decoder for WMVA.
Laurent Aimar [Thu, 8 Oct 2009 20:34:41 +0000 (22:34 +0200)]
Used VC-1 avcodec decoder for WMVA.

10 years agoCleaned up WMVA fourcc.
Laurent Aimar [Thu, 8 Oct 2009 20:34:29 +0000 (22:34 +0200)]
Cleaned up WMVA fourcc.

10 years agoDo not realloc a block already given to ffmpeg.
Laurent Aimar [Thu, 8 Oct 2009 19:53:31 +0000 (21:53 +0200)]
Do not realloc a block already given to ffmpeg.

It avoids a potential segfault after a silent avcodec audio API breakage.

10 years agoFixed avcodec audio decoder after API behavior change.
Laurent Aimar [Thu, 8 Oct 2009 19:12:01 +0000 (21:12 +0200)]
Fixed avcodec audio decoder after API behavior change.

It fixes at least WMAP decoding.

10 years agoFixed globalhotkeys compilation with old xcb version.
Laurent Aimar [Wed, 7 Oct 2009 19:32:27 +0000 (21:32 +0200)]
Fixed globalhotkeys compilation with old xcb version.

10 years agoQt: add deinterlace and deinterlace-mode to simple preferences.
Laurent Aimar [Thu, 8 Oct 2009 08:19:25 +0000 (10:19 +0200)]
Qt: add deinterlace and deinterlace-mode to simple preferences.

Minor changes by jb@videolan.org

10 years agoRevert "dbus control: event based message notification"
Rafaël Carré [Wed, 7 Oct 2009 20:02:22 +0000 (22:02 +0200)]
Revert "dbus control: event based message notification"

This reverts commit a0f3831cb3a3ef2bdddcf6e1e3dcb1a9217a5620.

DBus is synchronous

10 years agoQt4: fix URI character set in playlist
Rémi Denis-Courmont [Wed, 7 Oct 2009 20:11:30 +0000 (23:11 +0300)]
Qt4: fix URI character set in playlist

(We seldom have non ASCII characters here, but better safe than sorry)

10 years agoFix Service Discovey plugin names character set
Rémi Denis-Courmont [Wed, 7 Oct 2009 20:11:11 +0000 (23:11 +0300)]
Fix Service Discovey plugin names character set

10 years agoQt4: fix character set in playlist dialog title
Rémi Denis-Courmont [Wed, 7 Oct 2009 20:04:50 +0000 (23:04 +0300)]
Qt4: fix character set in playlist dialog title

10 years agoSupport any Unicode symbol as part of an hotkey
Rémi Denis-Courmont [Wed, 7 Oct 2009 19:39:59 +0000 (22:39 +0300)]
Support any Unicode symbol as part of an hotkey

Currently, only the core supports this correctly, however.

Note that this means key configuration values become case sensitive
(case insentivity would be too complicated), but this should not be
a problem so long as the core key<->string functions are always used.

10 years agoConfigKeyToString: binary search
Rémi Denis-Courmont [Wed, 7 Oct 2009 19:24:45 +0000 (22:24 +0300)]
ConfigKeyToString: binary search

10 years agoKeyToString: allocate key on heap
Rémi Denis-Courmont [Wed, 7 Oct 2009 19:07:11 +0000 (22:07 +0300)]
KeyToString: allocate key on heap

This will allow returning dynamically generated strings

10 years agoCompile fix
Rémi Denis-Courmont [Wed, 7 Oct 2009 18:07:27 +0000 (21:07 +0300)]
Compile fix

10 years agoGather key functions and tables in a single file
Rémi Denis-Courmont [Wed, 7 Oct 2009 17:37:12 +0000 (20:37 +0300)]
Gather key functions and tables in a single file

10 years agodbus control: event based message notification
Rafaël Carré [Wed, 7 Oct 2009 19:16:16 +0000 (21:16 +0200)]
dbus control: event based message notification

10 years agoglobalhotkeys : use new xcb-util API (>= 0.3.4)
Rafaël Carré [Wed, 7 Oct 2009 17:57:48 +0000 (19:57 +0200)]
globalhotkeys : use new xcb-util API (>= 0.3.4)

recent xcb_key_symbols_get_keycode() now returns a pointer

Keep old API (as present in Debian Lenny for example) as requested by nefrir
GetModifier() is broken when using the new API, it might be broken as
well when using the old API.

Documents / source code of functions used in GetModifier() are very
welcome, libxcb only ships XML descriptions and the generated source
code is very unreadable.

10 years agoKEY_SPACE = 32, simplify several outputs and interfaces
Rémi Denis-Courmont [Wed, 7 Oct 2009 16:48:07 +0000 (19:48 +0300)]
KEY_SPACE = 32, simplify several outputs and interfaces

10 years agoglobalhotkeys/xcb.c : cosmetics, make all lines fit in 80 columns
Rafaël Carré [Wed, 7 Oct 2009 16:10:10 +0000 (18:10 +0200)]
globalhotkeys/xcb.c : cosmetics, make all lines fit in 80 columns

10 years agoglobalhotkeys/xcb.c : fix warnings
Rafaël Carré [Wed, 7 Oct 2009 16:01:36 +0000 (18:01 +0200)]
globalhotkeys/xcb.c : fix warnings

10 years agoWinCE: fix build of the RTP stream output
Pierre Ynard [Wed, 7 Oct 2009 13:01:54 +0000 (15:01 +0200)]
WinCE: fix build of the RTP stream output

WSADuplicateSocket() doesn't exist, so just skip that bit of code...

10 years agoRemove leftover #endif
Rafaël Carré [Wed, 7 Oct 2009 01:53:17 +0000 (03:53 +0200)]
Remove leftover #endif

10 years agovlc_mtime.h : add timer limits for FreeBSD
Rafaël Carré [Wed, 7 Oct 2009 01:50:50 +0000 (03:50 +0200)]
vlc_mtime.h : add timer limits for FreeBSD

Add some comments to explain the values

10 years agoFix for people with old automake
Christophe Mutricy [Tue, 6 Oct 2009 23:36:39 +0000 (00:36 +0100)]
Fix for people with old automake

10 years agoFixed a typo after auto deinterlace.
Laurent Aimar [Tue, 6 Oct 2009 21:17:34 +0000 (23:17 +0200)]
Fixed a typo after auto deinterlace.

10 years agoRevert "avcodec: initialise p_dec.fmt_in if it's missing, not fmt_out"
Ilkka Ollakka [Tue, 6 Oct 2009 21:28:20 +0000 (00:28 +0300)]
Revert "avcodec: initialise p_dec.fmt_in if it's missing, not fmt_out"

back to the drawingboard
This reverts commit 6b55ee51acc957bc92255429f15123c7a5d3cb1e.

10 years agoRevert "avcodec: initialize fmt_in.video.i_aspect to 0"
Ilkka Ollakka [Tue, 6 Oct 2009 21:26:25 +0000 (00:26 +0300)]
Revert "avcodec: initialize fmt_in.video.i_aspect to 0"

this seems to break ar-changes alltogether, lets try again
This reverts commit 9810e995c431a150894fb2fa164dd66635e9cc8f.

10 years agoavcodec: initialize fmt_in.video.i_aspect to 0
Ilkka Ollakka [Tue, 6 Oct 2009 21:20:52 +0000 (00:20 +0300)]
avcodec: initialize fmt_in.video.i_aspect to 0

This should help on aspect-ratio issues with apple hd mov-trailers (when
streaming/transcoding)

10 years agoavcodec: initialise p_dec.fmt_in if it's missing, not fmt_out
Ilkka Ollakka [Tue, 6 Oct 2009 21:13:50 +0000 (00:13 +0300)]
avcodec: initialise p_dec.fmt_in if it's missing, not fmt_out

10 years agoasf.c: fix variable usage
Ilkka Ollakka [Tue, 6 Oct 2009 20:54:59 +0000 (23:54 +0300)]
asf.c: fix variable usage

10 years agoImplemented auto deinterlace mode.
Laurent Aimar [Tue, 6 Oct 2009 20:32:20 +0000 (22:32 +0200)]
Implemented auto deinterlace mode.

 The detection is based on the progressive/interlaced flags transported at
the codec level. As such, it is not really reliable (for 25fps at least).

 As soon as a picture is detected as interlaced, the configured deinterlace
mode is applied. After 30s of progressive video, the filter is removed.
The hysteresis helps with unreliable interlaced flags.

10 years agoRevert "asf.c: allow adding tracks on-fly when doing normal asf muxing"
Ilkka Ollakka [Tue, 6 Oct 2009 20:18:20 +0000 (23:18 +0300)]
Revert "asf.c: allow adding tracks on-fly when doing normal asf muxing"

This commit was meant just for own debuggin
This reverts commit a04ff28bae43b4cb37c60789de568a55c4a7be5b.

10 years agostrerror(errno) is not thread-safe, use %m
Rémi Denis-Courmont [Tue, 6 Oct 2009 19:56:50 +0000 (22:56 +0300)]
strerror(errno) is not thread-safe, use %m

10 years agoappletrailers.lua add the forgotten vlc lua edition
Ilkka Ollakka [Tue, 6 Oct 2009 19:51:29 +0000 (22:51 +0300)]
appletrailers.lua add the forgotten vlc lua edition

10 years agoRTP out: support build without libvlc_srtp
Rémi Denis-Courmont [Tue, 6 Oct 2009 19:43:48 +0000 (22:43 +0300)]
RTP out: support build without libvlc_srtp

10 years agoRTP: support build without libvlc_srtp
Rémi Denis-Courmont [Tue, 6 Oct 2009 19:38:04 +0000 (22:38 +0300)]
RTP: support build without libvlc_srtp

10 years agoGet rid of ligcrypt M4 macros
Rémi Denis-Courmont [Tue, 6 Oct 2009 19:23:42 +0000 (22:23 +0300)]
Get rid of ligcrypt M4 macros

One day maybe, the gcrypt maintainer will get a clue, realize
that his library is not the center of the universe,
that his crappy macros breaks cross-compiling,
that pkg-config works on Windows as well as scripts (ligcrypt-config),
and accept the Debian .pc patches.

Until then...

10 years agoappleplaylist.lua: fix apple trailers again, change useragent
Ilkka Ollakka [Tue, 6 Oct 2009 19:39:18 +0000 (22:39 +0300)]
appleplaylist.lua: fix apple trailers again, change useragent

Seems that they changed just on trailers page, that if useragent doesn't
contain QuickTime, it gives redirect back to trailers. So get stuff from movies
again, but tell useragent to be "QuickTime vlc lua edition".

Really if apple doesn't want vlc to be used as see apple-trailes, they could
atleast ask ;)

10 years agoasf.c: allow adding tracks on-fly when doing normal asf muxing
Ilkka Ollakka [Wed, 30 Sep 2009 13:31:56 +0000 (16:31 +0300)]
asf.c: allow adding tracks on-fly when doing normal asf muxing