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

11 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>
11 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.

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

11 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.

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

11 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.

11 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.

11 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

11 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

11 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

11 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.

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

11 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.

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

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

11 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.

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

11 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.

11 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.

11 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.

11 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.

11 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.

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

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

11 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.

11 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 !

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

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

11 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)

11 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.

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

11 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.

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

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

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

11 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.

11 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.

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

11 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

11 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

11 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

11 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

11 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]

11 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]

11 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.

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

11 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.

11 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.

11 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.

11 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

11 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

11 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)

11 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

11 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

11 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.

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

11 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

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

11 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

11 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

11 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.

11 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

11 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

11 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

11 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...

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

11 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

11 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

11 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.

11 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.

11 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.

11 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)

11 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

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

11 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.

11 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.

11 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

11 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

11 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

11 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

11 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...

11 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 ;)

11 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

11 years agoasf.c: write new header when track is removed/added
Ilkka Ollakka [Wed, 30 Sep 2009 13:30:47 +0000 (16:30 +0300)]
asf.c: write new header when track is removed/added

11 years agoasf.c: use vlc_array_t for track-storage instead of static array
Ilkka Ollakka [Wed, 30 Sep 2009 13:29:03 +0000 (16:29 +0300)]
asf.c: use vlc_array_t for track-storage instead of static array

11 years agoasx-playlist: add ability to have multiple href in entry
Ilkka Ollakka [Mon, 5 Oct 2009 12:48:52 +0000 (15:48 +0300)]
asx-playlist: add ability to have multiple href in entry

This should fix .asx parsing on http://www.katsomo.fi/?treeId=329&progId=20677.

Reported by: Antti Palosaari <crope at iki dot fi>

11 years agoDon't call AM_CONDITIONAL from macro.
Rémi Denis-Courmont [Tue, 6 Oct 2009 19:03:48 +0000 (22:03 +0300)]
Don't call AM_CONDITIONAL from macro.

First, this cannot work properly as the invocation of AM_CONDITIONAL
must be inconditional. Second, this would introduce pointless
automake conditional and thus needlessly slowing down the build system.

11 years agoRevert "Fix configure with --disable-sout"
Rémi Denis-Courmont [Tue, 6 Oct 2009 18:56:27 +0000 (21:56 +0300)]
Revert "Fix configure with --disable-sout"

This reverts commit 6e0f047be321a4fe7bd24f2985b5c53666d80322.

11 years agoFix author name as solicited
Rémi Denis-Courmont [Tue, 6 Oct 2009 15:15:55 +0000 (18:15 +0300)]
Fix author name as solicited

11 years agoappletrailers.lua: trailers come from http://www nowdays
Ilkka Ollakka [Tue, 6 Oct 2009 13:17:26 +0000 (16:17 +0300)]
appletrailers.lua: trailers come from www nowdays

Even if url points to http://movies.apple.com/..., working
url for vlc is http://www.apple.com/...

11 years agomozilla: fix compilation after [1979486d]
Rafaël Carré [Tue, 6 Oct 2009 11:40:20 +0000 (13:40 +0200)]
mozilla: fix compilation after [1979486d]

11 years agomacosx: fixed IR Remote HID support
Felix Paul Kühne [Tue, 6 Oct 2009 11:39:29 +0000 (13:39 +0200)]
macosx: fixed IR Remote HID support

11 years agovideo_output fix compilation
Sébastien Escudier [Tue, 6 Oct 2009 07:05:22 +0000 (09:05 +0200)]
video_output fix compilation

Signed-off-by: Rafaël Carré <rafael.carre@gmail.com>
11 years agoUpdated libvlc_video_set_deinterlace.
Laurent Aimar [Mon, 5 Oct 2009 21:49:09 +0000 (23:49 +0200)]
Updated libvlc_video_set_deinterlace.

11 years agoUpdated qt4 after deinterlacing changes.
Laurent Aimar [Mon, 5 Oct 2009 21:32:23 +0000 (23:32 +0200)]
Updated qt4 after deinterlacing changes.

It simply shows "deinterlace" and "deinterlace-mode". I believe a
better solution would be welcome. The simple preferencences could
also be improved.

11 years agoUpdated hotkeys after deinterlace changes.
Laurent Aimar [Mon, 5 Oct 2009 21:30:26 +0000 (23:30 +0200)]
Updated hotkeys after deinterlace changes.

The deinterlace hotkey now turns of/off deinterlacing.

11 years agoModified deinterlace selection.
Laurent Aimar [Mon, 5 Oct 2009 21:26:05 +0000 (23:26 +0200)]
Modified deinterlace selection.

At the core and vout, you now have 2 variables:
 - deinterlace: on/off/auto (off is default). It let you say if you
 want to deinterlace or not.
 - deinterlace-mode: discard, blend, ... (blend is default). It let you
 specify the mode used when deinterlacing is equal to on/auto.

 The mode auto is not yet supported and simply default to on.

11 years agoRenamed "deinterlace" into "deinterlace-mode" at the core level.
Laurent Aimar [Mon, 5 Oct 2009 20:13:23 +0000 (22:13 +0200)]
Renamed "deinterlace" into "deinterlace-mode" at the core level.

11 years agoRenamed deinterlace-mode into filter-deinterlace-mode.
Laurent Aimar [Mon, 5 Oct 2009 20:07:35 +0000 (22:07 +0200)]
Renamed deinterlace-mode into filter-deinterlace-mode.

It will allow using "deinterlace-mode" as a core option.