vlc.git
10 years agoContribs: update dvbpsi to 0.2.2
Jean-Baptiste Kempf [Fri, 4 Nov 2011 00:45:17 +0000 (01:45 +0100)]
Contribs: update dvbpsi to 0.2.2

A regression was there in 0.2.1

10 years agoImproved TS file detection.
Laurent Aimar [Thu, 3 Nov 2011 22:21:10 +0000 (23:21 +0100)]
Improved TS file detection.

Closed #4373
(The samples still doesn't work if ffmpeg-mt is enabled, but that's probably a
ffmpeg/libav bug)

10 years agoextras/tools: preliminary support for building missing dev tools
Rafaël Carré [Thu, 3 Nov 2011 21:42:52 +0000 (17:42 -0400)]
extras/tools: preliminary support for building missing dev tools

Needed on platform with poor tools support (== OSX)
TODO:
    find required versions for each tool and check if the system has them
    build GNU tar with xz support if xz was missing

10 years agoEnabled HTTP seek support when Accept-Ranges is present and contains "bytes".
Laurent Aimar [Thu, 3 Nov 2011 19:39:07 +0000 (20:39 +0100)]
Enabled HTTP seek support when Accept-Ranges is present and contains "bytes".

10 years agoWorkaround for video size incompatible with the colorspace.
Laurent Aimar [Thu, 3 Nov 2011 19:28:51 +0000 (20:28 +0100)]
Workaround for video size incompatible with the colorspace.

Close #4206.

10 years agoDon't error out if --disable-avcodec was specified but not --disable-libva
Rafaël Carré [Thu, 3 Nov 2011 19:14:58 +0000 (15:14 -0400)]
Don't error out if --disable-avcodec was specified but not --disable-libva

10 years agoMissing #include
Rémi Denis-Courmont [Thu, 3 Nov 2011 19:21:01 +0000 (21:21 +0200)]
Missing #include

10 years agoBDA: work around unimplemented dvb_enum_systems()
Rémi Denis-Courmont [Thu, 3 Nov 2011 18:53:59 +0000 (20:53 +0200)]
BDA: work around unimplemented dvb_enum_systems()

10 years agoInstall vlc_network.h and vlc_tls.h
Rémi Denis-Courmont [Thu, 3 Nov 2011 18:47:58 +0000 (20:47 +0200)]
Install vlc_network.h and vlc_tls.h

10 years agoMake vlc_network.h installable
Rémi Denis-Courmont [Thu, 3 Nov 2011 18:47:39 +0000 (20:47 +0200)]
Make vlc_network.h installable

10 years agoRewrite inet_pton() and inet_ntop() into compat
Rémi Denis-Courmont [Thu, 3 Nov 2011 18:11:08 +0000 (20:11 +0200)]
Rewrite inet_pton() and inet_ntop() into compat

This should correct error handling cases.

10 years agoconfigure: remove inet_aton() check
Rémi Denis-Courmont [Thu, 3 Nov 2011 17:43:41 +0000 (19:43 +0200)]
configure: remove inet_aton() check

This is not used anymore.

10 years agoHTTPd: remove never used channel & bidirectional modes
Rémi Denis-Courmont [Thu, 3 Nov 2011 17:41:56 +0000 (19:41 +0200)]
HTTPd: remove never used channel & bidirectional modes

This was meant for interleaving RTP.

10 years agovlc_fopen: fix append mode
Rémi Denis-Courmont [Thu, 3 Nov 2011 17:24:14 +0000 (19:24 +0200)]
vlc_fopen: fix append mode

In append mode, all write operations must occur at the end of the file.
Nevertheless the initial read offset is the beginning of the file.

10 years agovlc_fopen: implement binary mode (useful on Windows)
Rémi Denis-Courmont [Thu, 3 Nov 2011 17:20:40 +0000 (19:20 +0200)]
vlc_fopen: implement binary mode (useful on Windows)

10 years agocontribs: fix lame build on win64
Rafaël Carré [Thu, 3 Nov 2011 14:30:36 +0000 (10:30 -0400)]
contribs: fix lame build on win64

mingw-w64 FORCEINLINE definition includes 'extern'

10 years agovlc-thumb: works also with gnome 3
Rafaël Carré [Thu, 3 Nov 2011 02:26:16 +0000 (22:26 -0400)]
vlc-thumb: works also with gnome 3

10 years agoold contribs: compilation fixes and compiler experiment
Felix Paul Kühne [Wed, 2 Nov 2011 17:50:17 +0000 (18:50 +0100)]
old contribs: compilation fixes and compiler experiment

10 years agoFreetype: account for more complex font names on Windows
Jean-Baptiste Kempf [Tue, 1 Nov 2011 18:43:08 +0000 (19:43 +0100)]
Freetype: account for more complex font names on Windows

We have to count for "Bold", "Normal" and "Italic" ending in registry

Close #4949

10 years agoDisable buggy DASH plugin.
Rémi Denis-Courmont [Tue, 1 Nov 2011 17:45:58 +0000 (19:45 +0200)]
Disable buggy DASH plugin.

Probing is buggy and slow (and it runs for every input item!).

10 years agoDASH: allocate hot-path parser on the stack and cosmetics
Rémi Denis-Courmont [Tue, 1 Nov 2011 17:39:51 +0000 (19:39 +0200)]
DASH: allocate hot-path parser on the stack and cosmetics

10 years agoXCB/XVideo: permute image format loops and rework format selection
Rémi Denis-Courmont [Tue, 1 Nov 2011 17:17:24 +0000 (19:17 +0200)]
XCB/XVideo: permute image format loops and rework format selection

 * fix memory leak of image attribute in case of error,
 * fix clobber of video format structure in case of error,
 * print unknown XVideo format error only once per adaptor
   (rather than once per VLC format per adaptor)

10 years agoDTV: remove misleading/outdated comment
Rémi Denis-Courmont [Tue, 1 Nov 2011 15:51:12 +0000 (17:51 +0200)]
DTV: remove misleading/outdated comment

var_LocationParse() enforces change_safe().

10 years agoMark dvb-adapter as safe (fix #5503)
Rémi Denis-Courmont [Tue, 1 Nov 2011 15:48:44 +0000 (17:48 +0200)]
Mark dvb-adapter as safe (fix #5503)

Just about every other capture mechanism allows selecting the device
from the MRL, so we might as well support it for DVB. The playlist will
only work on a specific system, but it should still be safe.

10 years agoopengl: speed-up for Mac OS X
Laurent Aimar [Tue, 1 Nov 2011 15:12:56 +0000 (16:12 +0100)]
opengl: speed-up for Mac OS X

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
10 years agoFix a bug preventing files without segment duration
Denis Charmet [Tue, 1 Nov 2011 14:42:43 +0000 (15:42 +0100)]
Fix a bug preventing files without segment duration

And fix the crash of http://streams.videolan.org/issues/mkv/invalid_EBML_number_size_tag.mkv

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoAllowed to use mp2/mp3 to specify layer 2/3 for mpeg audio encoder.
Laurent Aimar [Tue, 1 Nov 2011 13:34:24 +0000 (14:34 +0100)]
Allowed to use mp2/mp3 to specify layer 2/3 for mpeg audio encoder.

It might be better (dunno if it would be simpler) to have a way to
specify some kind of profile.

10 years agoWall: set the default center element to 16:9
Jean-Baptiste Kempf [Tue, 1 Nov 2011 13:27:45 +0000 (14:27 +0100)]
Wall: set the default center element to 16:9

Since this is the default AR for Home Theaters Projectors

10 years agoFreetype: fallback to arial.ttf on Win32
Jean-Baptiste Kempf [Tue, 1 Nov 2011 13:08:32 +0000 (14:08 +0100)]
Freetype: fallback to arial.ttf on Win32

When we haven't found the right font, use arial.ttf

Close #4946

10 years agoFreetype: correctly load fonts with complete path
Jean-Baptiste Kempf [Tue, 1 Nov 2011 12:29:38 +0000 (13:29 +0100)]
Freetype: correctly load fonts with complete path

Close #5495

10 years agoFourCC update
Jean-Baptiste Kempf [Tue, 1 Nov 2011 10:01:23 +0000 (11:01 +0100)]
FourCC update

10 years agoContribs: update LAME to 3.99
Jean-Baptiste Kempf [Tue, 1 Nov 2011 09:46:02 +0000 (10:46 +0100)]
Contribs: update LAME to 3.99

10 years agoTwolame: fix copyright header, and remove unnecessary includes
Jean-Baptiste Kempf [Tue, 1 Nov 2011 08:21:09 +0000 (09:21 +0100)]
Twolame: fix copyright header, and remove unnecessary includes

10 years agoHotkeys: rename the text/longtext about mousewheel
Jean-Baptiste Kempf [Tue, 1 Nov 2011 08:11:38 +0000 (09:11 +0100)]
Hotkeys: rename the text/longtext about mousewheel

because x-axis was confusing to some users, notably with the "Magic
mouse"

10 years agoQt, sprefs: correctly implement freetype configurations
Jean-Baptiste Kempf [Tue, 1 Nov 2011 01:13:15 +0000 (02:13 +0100)]
Qt, sprefs: correctly implement freetype configurations

Close #5421

10 years agoXCB/XVideo: allow mixed endian format if 8 or 4 bits per component
Rémi Denis-Courmont [Mon, 31 Oct 2011 20:21:23 +0000 (22:21 +0200)]
XCB/XVideo: allow mixed endian format if 8 or 4 bits per component

Mixed endianess is only an issue if the component values are not
aligned inside octets. This fixes Debian #604687.

10 years agoXCB/XVideo: cosmetic
Rémi Denis-Courmont [Mon, 31 Oct 2011 20:21:14 +0000 (22:21 +0200)]
XCB/XVideo: cosmetic

10 years agospeex: fix occasional buffer overflow
Rémi Denis-Courmont [Mon, 31 Oct 2011 20:16:57 +0000 (22:16 +0200)]
speex: fix occasional buffer overflow

(VLC simply lost one sample - no memory errors.)

10 years agoAdd UI for KAI
KO Myung-Hun [Thu, 20 Oct 2011 12:30:22 +0000 (21:30 +0900)]
Add UI for KAI

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agoUpdate module list
Rémi Denis-Courmont [Mon, 31 Oct 2011 17:55:28 +0000 (19:55 +0200)]
Update module list

10 years agoAdd KAI audio output module for OS/2
KO Myung-Hun [Sat, 22 Oct 2011 06:03:32 +0000 (15:03 +0900)]
Add KAI audio output module for OS/2

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agoAndroid/Maemo: remove unneeded declaration
Jean-Baptiste Kempf [Mon, 31 Oct 2011 17:53:23 +0000 (18:53 +0100)]
Android/Maemo: remove unneeded declaration

That was conflicting with the one in vlc_network.h

10 years agoQt: use %tmp%/$TMP folder for updates
Jean-Baptiste Kempf [Mon, 31 Oct 2011 17:43:49 +0000 (18:43 +0100)]
Qt: use %tmp%/$TMP folder for updates

Instead of asking the user for where to place it...
I think %tmp% should always be writtable.

10 years agov4l2: fix step-wise and continuous frame sizes enumeration
Rémi Denis-Courmont [Mon, 31 Oct 2011 16:55:46 +0000 (18:55 +0200)]
v4l2: fix step-wise and continuous frame sizes enumeration

Width and height are independent for step-wise frame sizes (yes,
enumerating is slow). Continuous frame sizes are step-size with one
pixel steps for both dimensions (yes, enumerationg is very slow).

A few device drivers use either of those two types, though the discrete
type is much more common.

10 years agoAssume OpenMAX IL is used (if it is compiled)
Rémi Denis-Courmont [Mon, 31 Oct 2011 16:06:30 +0000 (18:06 +0200)]
Assume OpenMAX IL is used (if it is compiled)

10 years agoRemove unused Maemo5 old stuff
Rémi Denis-Courmont [Mon, 31 Oct 2011 16:03:37 +0000 (18:03 +0200)]
Remove unused Maemo5 old stuff

10 years agoRevert "win64: enable live again"
Rafaël Carré [Mon, 31 Oct 2011 15:36:11 +0000 (11:36 -0400)]
Revert "win64: enable live again"

This reverts commit e1b6bbb5bc38384378e8df208e50e3ae98ec6c96.

10 years agowin64: enable live again
Rafaël Carré [Mon, 31 Oct 2011 14:47:23 +0000 (10:47 -0400)]
win64: enable live again

10 years agoold contribs: update live patch
Rafaël Carré [Mon, 31 Oct 2011 14:37:32 +0000 (10:37 -0400)]
old contribs: update live patch

patch in new contribs is different -> no update

10 years agomacosx: fixes a memory leak.
Sebastien Zwickert [Sun, 30 Oct 2011 00:10:46 +0000 (02:10 +0200)]
macosx: fixes a memory leak.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoQt, sprefs: use the Color Selector
Jean-Baptiste Kempf [Sat, 29 Oct 2011 22:43:48 +0000 (00:43 +0200)]
Qt, sprefs: use the Color Selector

10 years agoQt, sprefs: expose outline thickness
Jean-Baptiste Kempf [Sat, 29 Oct 2011 22:27:03 +0000 (00:27 +0200)]
Qt, sprefs: expose outline thickness

10 years agoQt: implement the color selector button
Jean-Baptiste Kempf [Sat, 29 Oct 2011 22:08:39 +0000 (00:08 +0200)]
Qt: implement the color selector button

10 years agoQt, prefs: correctly set the tooltip on Font Selector
Jean-Baptiste Kempf [Sat, 29 Oct 2011 22:34:12 +0000 (00:34 +0200)]
Qt, prefs: correctly set the tooltip on Font Selector

10 years agoFreetype: better shortext for Text Opacity
Jean-Baptiste Kempf [Sat, 29 Oct 2011 22:39:01 +0000 (00:39 +0200)]
Freetype: better shortext for Text Opacity

10 years agoFreetype: use NULL instead of "" for empty longtext
Jean-Baptiste Kempf [Sat, 29 Oct 2011 22:34:30 +0000 (00:34 +0200)]
Freetype: use NULL instead of "" for empty longtext

10 years agoVideo Filter: use rgb to define colors
Jean-Baptiste Kempf [Sat, 29 Oct 2011 22:17:29 +0000 (00:17 +0200)]
Video Filter: use rgb to define colors

10 years agoFreetype: mark as _rgb the appropriate options
Jean-Baptiste Kempf [Sat, 29 Oct 2011 17:19:15 +0000 (19:19 +0200)]
Freetype: mark as _rgb the appropriate options

10 years agoSwitcher: avoid use of unset variable
Jean-Baptiste Kempf [Sat, 29 Oct 2011 17:02:34 +0000 (19:02 +0200)]
Switcher: avoid use of unset variable

10 years agoWin32: always use mingw's snprintf
Jean-Baptiste Kempf [Sat, 29 Oct 2011 10:01:34 +0000 (12:01 +0200)]
Win32: always use mingw's snprintf

10 years agoASF: help stupid compiler
Jean-Baptiste Kempf [Sat, 29 Oct 2011 09:48:06 +0000 (11:48 +0200)]
ASF: help stupid compiler

10 years agomp4: kill warning about sign
Jean-Baptiste Kempf [Fri, 28 Oct 2011 13:36:05 +0000 (15:36 +0200)]
mp4: kill warning about sign

10 years agoASF: use proper ifdef for DEBUG
Jean-Baptiste Kempf [Fri, 28 Oct 2011 13:16:38 +0000 (15:16 +0200)]
ASF: use proper ifdef for DEBUG

10 years agoNetsync: fix return type
Jean-Baptiste Kempf [Fri, 28 Oct 2011 13:13:51 +0000 (15:13 +0200)]
Netsync: fix return type

10 years agoSTL: kill warning about sign comparison
Jean-Baptiste Kempf [Fri, 28 Oct 2011 13:04:34 +0000 (15:04 +0200)]
STL: kill warning about sign comparison

10 years agoKate: unused arguments
Jean-Baptiste Kempf [Fri, 28 Oct 2011 13:04:10 +0000 (15:04 +0200)]
Kate: unused arguments

10 years agocvdsub: remove unused variable
Jean-Baptiste Kempf [Fri, 28 Oct 2011 13:03:51 +0000 (15:03 +0200)]
cvdsub: remove unused variable

10 years agoSpatializer: kill warnings and improve locality
Jean-Baptiste Kempf [Fri, 28 Oct 2011 12:02:51 +0000 (14:02 +0200)]
Spatializer: kill warnings and improve locality

10 years agoDVDread: comment out dead code
Jean-Baptiste Kempf [Fri, 28 Oct 2011 11:48:43 +0000 (13:48 +0200)]
DVDread: comment out dead code

10 years agoDV: check return of vlc_clone
Jean-Baptiste Kempf [Fri, 28 Oct 2011 11:40:43 +0000 (13:40 +0200)]
DV: check return of vlc_clone

10 years agomisc/picture.c: kill sign warnings
Jean-Baptiste Kempf [Fri, 28 Oct 2011 11:34:08 +0000 (13:34 +0200)]
misc/picture.c: kill sign warnings

10 years agowindows: use C++ prototype for REFIID / CoCreateInstance
Rafaël Carré [Sun, 30 Oct 2011 23:23:00 +0000 (19:23 -0400)]
windows: use C++ prototype for REFIID / CoCreateInstance

Fix build with mingw-w64

10 years agowin64 old contribs: disable live for now, to not bother us
Rafaël Carré [Sun, 30 Oct 2011 22:01:06 +0000 (18:01 -0400)]
win64 old contribs: disable live for now, to not bother us

10 years agowin64: really get _mkdir definition
Rafaël Carré [Sun, 30 Oct 2011 21:51:11 +0000 (17:51 -0400)]
win64: really get _mkdir definition

10 years agomux/asf.c: Workaround for playback of WMV in WMP12 and Silverlight.
Jean-Paul Saman [Sat, 29 Oct 2011 08:37:28 +0000 (10:37 +0200)]
mux/asf.c: Workaround for playback of WMV in WMP12 and Silverlight.

The maximum bitrate of the file is not allowed to become zero. If it
is then playback in WMP12 and Silverlight does not work. The actual
value for maximum bitrate does not really matter in these cases as
long as it is not 0.

10 years agomux/asf.c: typo
Jean-Paul Saman [Sat, 29 Oct 2011 08:14:28 +0000 (10:14 +0200)]
mux/asf.c: typo

10 years agoFix invalid use of the PulseAudio stream from the context callback
Rémi Denis-Courmont [Fri, 28 Oct 2011 20:40:25 +0000 (23:40 +0300)]
Fix invalid use of the PulseAudio stream from the context callback

Make sure the context callback is registered only after the stream
is created, and unregistered before the stream is destroyed. This
should fix a potential assertion failure when stopping audio.

10 years agoluahttp intf: Make use of gettext
Francois Cartegnie [Sat, 8 Oct 2011 14:02:10 +0000 (16:02 +0200)]
luahttp intf: Make use of gettext

10 years agoweb intf: prettify js code.
Francois Cartegnie [Fri, 28 Oct 2011 19:39:17 +0000 (21:39 +0200)]
web intf: prettify js code.

And convert tabs to 4 spaces according to code guidelines.

10 years agoAdded 'pasp' atom support to mp4/mov demuxer.
Laurent Aimar [Wed, 26 Oct 2011 22:07:47 +0000 (00:07 +0200)]
Added 'pasp' atom support to mp4/mov demuxer.

This atom can store an optionnal aspect ratio.

10 years agoFixed support of mov/mp4 with fixed video samples size.
Laurent Aimar [Wed, 26 Oct 2011 20:56:45 +0000 (22:56 +0200)]
Fixed support of mov/mp4 with fixed video samples size.

It fixes #3531 (DV inside mov)

10 years agovasprintf: rewrite. va_copy() was missing.
Rémi Denis-Courmont [Wed, 26 Oct 2011 18:11:12 +0000 (21:11 +0300)]
vasprintf: rewrite. va_copy() was missing.

10 years agoDash: major warnings cleanup
Jean-Baptiste Kempf [Wed, 26 Oct 2011 16:58:42 +0000 (18:58 +0200)]
Dash: major warnings cleanup

All of them should be gone, except one.

10 years agoDASH: remove unnecessary includes and other trivial fixes
Jean-Baptiste Kempf [Wed, 26 Oct 2011 05:41:49 +0000 (07:41 +0200)]
DASH: remove unnecessary includes and other trivial fixes

10 years agoUpdate NEWS, LIST and po for DASH
Jean-Baptiste Kempf [Wed, 26 Oct 2011 05:33:55 +0000 (07:33 +0200)]
Update NEWS, LIST and po for DASH

10 years agoAdded DASH stream filter
Christopher Mueller [Fri, 7 Oct 2011 02:36:57 +0000 (19:36 -0700)]
Added DASH stream filter

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoContribs: update freetype to 2.4.7 (CVE-2011-3256)
Jean-Baptiste Kempf [Wed, 26 Oct 2011 04:54:43 +0000 (06:54 +0200)]
Contribs: update freetype to 2.4.7 (CVE-2011-3256)

10 years agoTaglib: don't try to add empty meta in APE
Jean-Baptiste Kempf [Mon, 24 Oct 2011 01:07:54 +0000 (03:07 +0200)]
Taglib: don't try to add empty meta in APE

10 years agoDeprecated native real demuxer in favor to avformat.
Laurent Aimar [Tue, 25 Oct 2011 20:58:24 +0000 (22:58 +0200)]
Deprecated native real demuxer in favor to avformat.

10 years agoIgnore invalid timestamps (PS demuxer)
Tobias Güntner [Fri, 9 Sep 2011 16:19:09 +0000 (16:19 +0000)]
Ignore invalid timestamps (PS demuxer)

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
10 years agoImprove x86 cpuid
Rémi Denis-Courmont [Tue, 25 Oct 2011 16:49:47 +0000 (19:49 +0300)]
Improve x86 cpuid

There is no need for hoops around EBX for non-PIC code.

10 years agox86_64 cpuid: remove useless step (already done by '=b')
Rafaël Carré [Tue, 25 Oct 2011 16:46:09 +0000 (12:46 -0400)]
x86_64 cpuid: remove useless step (already done by '=b')

10 years agoDo not require a recognized .extension for module tracker files when a robust enough...
Laurent Aimar [Mon, 24 Oct 2011 19:22:32 +0000 (21:22 +0200)]
Do not require a recognized .extension for module tracker files when a robust enough marker is present.

10 years agoFix detection of the idx1 index offset for some AVI files.
Laurent Aimar [Mon, 24 Oct 2011 19:02:37 +0000 (21:02 +0200)]
Fix detection of the idx1 index offset for some AVI files.

It fixes #5478.

10 years agoRevert "Use separate HTTPd host per protocol"
Pierre Ynard [Mon, 24 Oct 2011 01:33:11 +0000 (03:33 +0200)]
Revert "Use separate HTTPd host per protocol"

This reverts commit f06b4d30510f4528dac682d9c02ab0238a0993ed.
This way provides more use-cases that are more useful.

Conflicts:

src/network/httpd.c

10 years agoNSIS: Activate Hebrew, Glician and Swedish translations
Christophe Mutricy [Sun, 23 Oct 2011 21:07:06 +0000 (22:07 +0100)]
NSIS: Activate Hebrew, Glician and Swedish translations

10 years agol10n: NSIS installer Swedish translation
Daniel Nylander [Sun, 23 Oct 2011 19:25:03 +0000 (20:25 +0100)]
l10n: NSIS installer Swedish translation

Signed-off-by: Christophe Mutricy <xtophe@chewa.net>
10 years agol10n: NSIS installer galician translation
Gonçalo Cordeiro [Sun, 23 Oct 2011 19:22:54 +0000 (20:22 +0100)]
l10n: NSIS installer galician translation

Signed-off-by: Christophe Mutricy <xtophe@chewa.net>
10 years agol10n: Galician update
Gonçalo Cordeiro [Sun, 23 Oct 2011 19:22:25 +0000 (20:22 +0100)]
l10n: Galician update

Signed-off-by: Christophe Mutricy <xtophe@chewa.net>
10 years agol10n: Punjabi update
A S Alam [Sun, 23 Oct 2011 19:21:13 +0000 (20:21 +0100)]
l10n: Punjabi update

Signed-off-by: Christophe Mutricy <xtophe@chewa.net>