vlc.git
6 years agomediacodec: change type of internal variables to bool.
Felix Abecassis [Fri, 15 Nov 2013 14:47:19 +0000 (15:47 +0100)]
mediacodec: change type of internal variables to bool.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
6 years agomacosx: remove unneeded free
David Fuhrmann [Thu, 14 Nov 2013 12:14:07 +0000 (13:14 +0100)]
macosx: remove unneeded free

6 years agomacosx: fix use after free for video effects string
David Fuhrmann [Thu, 14 Nov 2013 12:11:29 +0000 (13:11 +0100)]
macosx: fix use after free for video effects string

This bug resulted in failure of setting more than one video effect
filter on mavericks.

close #9849

6 years agoRevert "flac packetizer: use the largest possible frame size"
Rafaël Carré [Fri, 15 Nov 2013 14:25:48 +0000 (15:25 +0100)]
Revert "flac packetizer: use the largest possible frame size"

This reverts commit 03e0644c82bf1dea96f8ade8829c2e1f360bd1ee.

Decoder needs single frames

Closes #9863

6 years agodemux: asf: fix multiple compressed payload regression (fix #9846)
Francois Cartegnie [Fri, 15 Nov 2013 15:12:47 +0000 (00:12 +0900)]
demux: asf: fix multiple compressed payload regression (fix #9846)

Regression introduced by 6eddafe741954803ec2928d26fb7566bd07a3601

6 years agoFixed contrib target creation.
Maxim Bublis [Fri, 15 Nov 2013 08:28:23 +0000 (12:28 +0400)]
Fixed contrib target creation.

Patch has been updated. Also fixed target creation for Growl and BGHudAppKit.

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agoImplement basic Opus support in MKV
Denis Charmet [Sat, 9 Nov 2013 15:53:06 +0000 (16:53 +0100)]
Implement basic Opus support in MKV

6 years agorelease doc: add a command to verify signatures
Rafaël Carré [Thu, 14 Nov 2013 20:02:38 +0000 (21:02 +0100)]
release doc: add a command to verify signatures

6 years agoAdd .mus and .sid in the file open selector
Jean-Baptiste Kempf [Thu, 14 Nov 2013 14:56:43 +0000 (15:56 +0100)]
Add .mus and .sid in the file open selector

6 years agodbus: Fix the MPRIS version in the header comments
Mirsal [Wed, 13 Nov 2013 09:32:05 +0000 (10:32 +0100)]
dbus: Fix the MPRIS version in the header comments

Change the mpris version to 2.2 as VLC implements it.

6 years agoaraw: add assertion to check for buffer overrun
Tristan Matthews [Tue, 12 Nov 2013 15:01:40 +0000 (10:01 -0500)]
araw: add assertion to check for buffer overrun

Refs #9343

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
6 years agoopus: update i_buffer when memmoving decoder output
Tristan Matthews [Tue, 12 Nov 2013 15:01:39 +0000 (10:01 -0500)]
opus: update i_buffer when memmoving decoder output

Fixes #9343

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
6 years agoRemove unused bindings directory
Jean-Baptiste Kempf [Tue, 12 Nov 2013 16:06:10 +0000 (17:06 +0100)]
Remove unused bindings directory

6 years agozvbi: set default opaque to false as default is text mode now
Ilkka Ollakka [Tue, 12 Nov 2013 15:54:49 +0000 (17:54 +0200)]
zvbi: set default opaque to false as default is text mode now

6 years agozvbi: handle opaque in text mode also
Ilkka Ollakka [Tue, 12 Nov 2013 15:38:15 +0000 (17:38 +0200)]
zvbi: handle opaque in text mode also

6 years agozvbi: set text format as default, as subtitles should look better and seems to work...
Ilkka Ollakka [Tue, 12 Nov 2013 15:37:51 +0000 (17:37 +0200)]
zvbi: set text format as default, as subtitles should look better and seems to work for me

6 years agozvbi: mimic cc.c for using subtitles updater etc to avoid flickering in text subtitles
Ilkka Ollakka [Tue, 12 Nov 2013 15:33:04 +0000 (17:33 +0200)]
zvbi: mimic cc.c for using subtitles updater etc to avoid flickering in text subtitles

6 years agozvbi: initialize pointer
Ilkka Ollakka [Tue, 12 Nov 2013 13:32:34 +0000 (15:32 +0200)]
zvbi: initialize pointer

6 years agozvbi: strip leading/end whitespaces from text subtitles
Ilkka Ollakka [Tue, 12 Nov 2013 13:32:14 +0000 (15:32 +0200)]
zvbi: strip leading/end whitespaces from text subtitles

6 years agozvbi: set position to be absolute only for non-text subtitles and give reasonable...
Ilkka Ollakka [Tue, 12 Nov 2013 13:31:27 +0000 (15:31 +0200)]
zvbi: set position to be absolute only for non-text subtitles and give reasonable stop time

6 years agozvbi: set pf_decode_sub at the end
Ilkka Ollakka [Tue, 12 Nov 2013 13:29:17 +0000 (15:29 +0200)]
zvbi: set pf_decode_sub at the end

6 years agozvbi: default alignment to bottom
Ilkka Ollakka [Tue, 12 Nov 2013 13:28:53 +0000 (15:28 +0200)]
zvbi: default alignment to bottom

6 years agompeg_audio packetizer: flush remaining data
Rafaël Carré [Tue, 12 Nov 2013 10:51:15 +0000 (11:51 +0100)]
mpeg_audio packetizer: flush remaining data

vlc 1.mp3 --sout 2.mp3 && vlc 2.mp3 --sout 3.mp3
will now give identical 2.mp3 and 3.mp3

Refs: #3178

6 years agompeg_audio: assume block_GetBytes can fail
Rafaël Carré [Tue, 12 Nov 2013 10:50:46 +0000 (11:50 +0100)]
mpeg_audio: assume block_GetBytes can fail

6 years agompeg_audio: use a variable to avoid pointer dereference
Rafaël Carré [Tue, 12 Nov 2013 10:45:21 +0000 (11:45 +0100)]
mpeg_audio: use a variable to avoid pointer dereference

6 years agoUpdate NEWS from 2.1 branch
Jean-Baptiste Kempf [Mon, 11 Nov 2013 18:23:07 +0000 (19:23 +0100)]
Update NEWS from 2.1 branch

6 years agofix make dist
Felix Paul Kühne [Mon, 11 Nov 2013 16:19:09 +0000 (17:19 +0100)]
fix make dist

6 years agomacosx: split main window and main menu
Felix Paul Kühne [Sun, 10 Nov 2013 22:32:03 +0000 (23:32 +0100)]
macosx: split main window and main menu

Note that this is a WIP commit so playlist table columns and displaying individual playlist items is currently unavailable

Any playlist interaction (incl. saving) and playback are not affected.

6 years agoogg: initialize skeleton values that will be used in Close() (Fix #9830)
Tristan Matthews [Sun, 10 Nov 2013 17:50:04 +0000 (12:50 -0500)]
ogg: initialize skeleton values that will be used in Close() (Fix #9830)

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
6 years agomacosx: fix compilation warnings
Felix Paul Kühne [Sun, 10 Nov 2013 22:19:18 +0000 (23:19 +0100)]
macosx: fix compilation warnings

6 years agomacosx: split playlist menu from main menu
Felix Paul Kühne [Sun, 10 Nov 2013 21:53:23 +0000 (22:53 +0100)]
macosx: split playlist menu from main menu

6 years agomacosx: split debug messages handling from VLCMain and the Main Menu nib
Felix Paul Kühne [Sun, 10 Nov 2013 21:28:48 +0000 (22:28 +0100)]
macosx: split debug messages handling from VLCMain and the Main Menu nib

6 years agomacosx: split crash log handling both from VLCMain and the Main Menu nib file
Felix Paul Kühne [Sun, 10 Nov 2013 20:53:17 +0000 (21:53 +0100)]
macosx: split crash log handling both from VLCMain and the Main Menu nib file

6 years agoinput: get PTS delay from stream rather than access (fixes #8457)
Rémi Denis-Courmont [Sun, 10 Nov 2013 16:06:38 +0000 (18:06 +0200)]
input: get PTS delay from stream rather than access (fixes #8457)

6 years agosmooth: provide PTS delay
Rémi Denis-Courmont [Sun, 10 Nov 2013 16:01:56 +0000 (18:01 +0200)]
smooth: provide PTS delay

6 years agohttplive: provide PTS delay
Rémi Denis-Courmont [Sun, 10 Nov 2013 16:01:47 +0000 (18:01 +0200)]
httplive: provide PTS delay

6 years agodecomp: provide PTS delay
Rémi Denis-Courmont [Sun, 10 Nov 2013 16:01:35 +0000 (18:01 +0200)]
decomp: provide PTS delay

6 years agoDASH: provide PTS delay
Rémi Denis-Courmont [Sun, 10 Nov 2013 16:01:21 +0000 (18:01 +0200)]
DASH: provide PTS delay

6 years agoAdd STREAM_GET_PTS_DELAY control (refs #8457)
Rémi Denis-Courmont [Sun, 10 Nov 2013 16:00:57 +0000 (18:00 +0200)]
Add STREAM_GET_PTS_DELAY control (refs #8457)

6 years agomacosx: don't leak the fspanel
Felix Paul Kühne [Sun, 10 Nov 2013 16:06:34 +0000 (17:06 +0100)]
macosx: don't leak the fspanel

6 years agomacosx: split fspanel from main menu nib to an extra nib which not being distributed...
Felix Paul Kühne [Sun, 10 Nov 2013 15:08:24 +0000 (16:08 +0100)]
macosx: split fspanel from main menu nib to an extra nib which not being distributed as the window is being created entirely in code and the nib representation is used for development and layouting only

6 years agotranscode: encode buffer and flush encoder at the end when using threads
Ilkka Ollakka [Sun, 10 Nov 2013 14:34:40 +0000 (16:34 +0200)]
transcode: encode buffer and flush encoder at the end when using threads

6 years agomacosx: fix float-on-top behaviour with fullscreen
David Fuhrmann [Sun, 10 Nov 2013 14:25:01 +0000 (15:25 +0100)]
macosx: fix float-on-top behaviour with fullscreen

The issues were mostly noticable if you select both float-on-top
and fullscreen in video prefs.

6 years agocontrib/gnutls: remove debug from patch
Felix Paul Kühne [Sun, 10 Nov 2013 12:41:55 +0000 (13:41 +0100)]
contrib/gnutls: remove debug from patch

6 years agognutls: link against CoreFoundation and the Security frameworks as it is required...
Felix Paul Kühne [Sun, 10 Nov 2013 12:24:02 +0000 (13:24 +0100)]
gnutls: link against CoreFoundation and the Security frameworks as it is required by the keychain certificate lookup patch

6 years agocontrib/gnutls: add patch adding keychain root certificate lookups on OS X (not suppo...
Felix Paul Kühne [Sun, 10 Nov 2013 12:23:17 +0000 (13:23 +0100)]
contrib/gnutls: add patch adding keychain root certificate lookups on OS X (not supported on iOS)

6 years agomacosx: fix typo and set path for open dialog correctly
David Fuhrmann [Sun, 10 Nov 2013 10:11:39 +0000 (11:11 +0100)]
macosx: fix typo and set path for open dialog correctly

6 years agomacosx: fix float-on-top-behaviour if setting is changed while in fullscreen
David Fuhrmann [Sat, 9 Nov 2013 16:26:46 +0000 (17:26 +0100)]
macosx: fix float-on-top-behaviour if setting is changed while in fullscreen

6 years agomacosx: reset float-on-top when native fullscreen has already finished
David Fuhrmann [Sat, 9 Nov 2013 16:22:00 +0000 (17:22 +0100)]
macosx: reset float-on-top when native fullscreen has already finished

This fixes issues where video window just disappears when exiting fullscreen,
only on Mavericks.

close #9814

6 years agobin/darwinvlc: fix l10n preferences lookup code
Felix Paul Kühne [Sun, 10 Nov 2013 00:12:54 +0000 (01:12 +0100)]
bin/darwinvlc: fix l10n preferences lookup code

6 years agomacosx: add GUI setting/getter for --language
Felix Paul Kühne [Sat, 9 Nov 2013 17:28:50 +0000 (18:28 +0100)]
macosx: add GUI setting/getter for --language

6 years agoextras/package: add darwinvlc.c to xcodeproj
Felix Paul Kühne [Sat, 9 Nov 2013 17:07:19 +0000 (18:07 +0100)]
extras/package: add darwinvlc.c to xcodeproj

6 years agobin: re-implement --language for OS X
Felix Paul Kühne [Sat, 9 Nov 2013 17:03:46 +0000 (18:03 +0100)]
bin: re-implement --language for OS X

6 years agobin: derive a special Darwin version from vlc.c
Felix Paul Kühne [Sat, 9 Nov 2013 15:05:34 +0000 (16:05 +0100)]
bin: derive a special Darwin version from vlc.c

6 years agotranscode: use video.i_width/height as fallback when setting visible_width/height
Ilkka Ollakka [Sat, 9 Nov 2013 17:01:38 +0000 (19:01 +0200)]
transcode: use video.i_width/height as fallback when setting visible_width/height

6 years agotranscode: set video chroma before trying to query video filters
Ilkka Ollakka [Sat, 9 Nov 2013 16:12:41 +0000 (18:12 +0200)]
transcode: set video chroma before trying to query video filters

6 years agocanvas: handle sar{0,1} and assume it to be 1:1
Ilkka Ollakka [Sat, 9 Nov 2013 16:11:48 +0000 (18:11 +0200)]
canvas: handle sar{0,1} and assume it to be 1:1

6 years agoSwitch linking order of libcompat for modules
David Fuhrmann [Sat, 9 Nov 2013 14:55:00 +0000 (15:55 +0100)]
Switch linking order of libcompat for modules

This precedes libcompat before the system libraries to be able to use
10.7 compiled binaries on 10.6.

close #9527

6 years agoFreeType: optimize FillARGB() a little
Rémi Denis-Courmont [Sat, 9 Nov 2013 14:31:35 +0000 (16:31 +0200)]
FreeType: optimize FillARGB() a little

6 years agoFreeType: add ARGB support
Rémi Denis-Courmont [Sat, 9 Nov 2013 14:29:20 +0000 (16:29 +0200)]
FreeType: add ARGB support

6 years agoxcb/screen: cosmetic fix
Rémi Denis-Courmont [Sat, 9 Nov 2013 14:13:47 +0000 (16:13 +0200)]
xcb/screen: cosmetic fix

6 years agoSort avcodec mapping table by AVCodecID enum
Daniel Verkamp [Sat, 9 Nov 2013 03:56:21 +0000 (20:56 -0700)]
Sort avcodec mapping table by AVCodecID enum

This makes it much easier to tell which codec ID mappings are missing
(or intentionally skipped).

Comments have been added for each codec ID that is currently missing.

Ordering between codecs with the same avcodec ID or VLC fourcc has been
preserved.

No functional change.

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agoFix Duck DK3/DK4 ADPCM mappings
Daniel Verkamp [Sat, 9 Nov 2013 05:38:22 +0000 (22:38 -0700)]
Fix Duck DK3/DK4 ADPCM mappings

Also give them VLC_CODEC_ names and use them in the adpcm decoder.

v2: Add codec description strings

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agoAAC packetizer: comment write-only arrays
Rafaël Carré [Fri, 8 Nov 2013 12:52:18 +0000 (13:52 +0100)]
AAC packetizer: comment write-only arrays

6 years agoAAC packetizer: move functions around file
Rafaël Carré [Fri, 8 Nov 2013 12:49:48 +0000 (13:49 +0100)]
AAC packetizer: move functions around file

6 years agoAAC packetizer: deindent state machine switch
Rafaël Carré [Fri, 8 Nov 2013 12:47:06 +0000 (13:47 +0100)]
AAC packetizer: deindent state machine switch

6 years agoUpdate NEWS
Adrien Maglo [Fri, 8 Nov 2013 13:49:59 +0000 (14:49 +0100)]
Update NEWS

6 years agoEGL: add the OpenGL ES 2.0 support for android
Adrien Maglo [Fri, 8 Nov 2013 12:36:27 +0000 (13:36 +0100)]
EGL: add the OpenGL ES 2.0 support for android

6 years agoVout: add a new window provider to create android native windows.
Adrien Maglo [Fri, 8 Nov 2013 12:42:39 +0000 (13:42 +0100)]
Vout: add a new window provider to create android native windows.

6 years agoVout: add a new vout_window type for android native windows
Adrien Maglo [Fri, 8 Nov 2013 12:18:34 +0000 (13:18 +0100)]
Vout: add a new vout_window type for android native windows

6 years agoVout: move the AndroidSurface vout to a subdirectory
Adrien Maglo [Fri, 8 Nov 2013 11:38:21 +0000 (12:38 +0100)]
Vout: move the AndroidSurface vout to a subdirectory

6 years agoContribs: forgotten file in previous commit (3.1.16)
Jean-Baptiste Kempf [Fri, 8 Nov 2013 10:04:29 +0000 (11:04 +0100)]
Contribs: forgotten file in previous commit (3.1.16)

6 years agovout: allow ARGB for SPU
Rémi Denis-Courmont [Thu, 7 Nov 2013 20:59:37 +0000 (22:59 +0200)]
vout: allow ARGB for SPU

6 years agovout: fix intermediate chroma when converting from YUVP then scaling
Rémi Denis-Courmont [Thu, 7 Nov 2013 21:13:38 +0000 (23:13 +0200)]
vout: fix intermediate chroma when converting from YUVP then scaling

6 years agoXCB/XVideo: fix 32-bits RGB support
Rémi Denis-Courmont [Tue, 5 Nov 2013 20:31:13 +0000 (22:31 +0200)]
XCB/XVideo: fix 32-bits RGB support

6 years agoXCB/x11: fix rendering to 32-bits surface
Rémi Denis-Courmont [Tue, 5 Nov 2013 20:31:00 +0000 (22:31 +0200)]
XCB/x11: fix rendering to 32-bits surface

6 years agoXCB/screen: fix 32-bits screen capture format
Rémi Denis-Courmont [Tue, 5 Nov 2013 20:29:29 +0000 (22:29 +0200)]
XCB/screen: fix 32-bits screen capture format

6 years agoXwd: fix 32-bits RGB chroma
Rémi Denis-Courmont [Tue, 5 Nov 2013 20:29:50 +0000 (22:29 +0200)]
Xwd: fix 32-bits RGB chroma

6 years agoavcodec: add ARGB mapping
Rémi Denis-Courmont [Tue, 5 Nov 2013 20:32:26 +0000 (22:32 +0200)]
avcodec: add ARGB mapping

Also remove bogus RGBA masks. Masks are only used for RGB formats - the
VLC chromas without implicitly fixed masks.

6 years agoswscale: add ARGB conversions
Rémi Denis-Courmont [Tue, 5 Nov 2013 21:01:24 +0000 (23:01 +0200)]
swscale: add ARGB conversions

6 years agoyuvp: add conversion to ARGB
Rémi Denis-Courmont [Tue, 5 Nov 2013 20:48:56 +0000 (22:48 +0200)]
yuvp: add conversion to ARGB

6 years agoscale: add support for ARGB
Rémi Denis-Courmont [Tue, 5 Nov 2013 20:31:52 +0000 (22:31 +0200)]
scale: add support for ARGB

6 years agofourcc: add ARGB for 32-bits RGBA with X11/BD components order
Rémi Denis-Courmont [Tue, 5 Nov 2013 20:28:21 +0000 (22:28 +0200)]
fourcc: add ARGB for 32-bits RGBA with X11/BD components order

6 years agoContribs: update GnuTLS to 3.1.16
Jean-Baptiste Kempf [Thu, 7 Nov 2013 10:44:29 +0000 (11:44 +0100)]
Contribs: update GnuTLS to 3.1.16

6 years agoContribs: update matroska to 1.4.1
Jean-Baptiste Kempf [Thu, 7 Nov 2013 10:38:55 +0000 (11:38 +0100)]
Contribs: update matroska to 1.4.1

6 years agocontrib: don't use the gas-preprocessor when compiling for the iOS simulator
Felix Paul Kühne [Wed, 6 Nov 2013 22:29:17 +0000 (23:29 +0100)]
contrib: don't use the gas-preprocessor when compiling for the iOS simulator

6 years agogl: remove hard-coded platform to window type mappings
Rémi Denis-Courmont [Wed, 6 Nov 2013 21:41:01 +0000 (23:41 +0200)]
gl: remove hard-coded platform to window type mappings

This should fix compilation on non-Apple Darwin and plausibly addresses
hypothetical future support for Mesa's shared GLAPI.

6 years agoXCB: map Print and Pause keys
Rémi Denis-Courmont [Wed, 6 Nov 2013 20:39:11 +0000 (22:39 +0200)]
XCB: map Print and Pause keys

6 years agoQt: map Print and Pause keys
Rémi Denis-Courmont [Wed, 6 Nov 2013 20:38:52 +0000 (22:38 +0200)]
Qt: map Print and Pause keys

6 years agokeys: define Print and Pause keys
Rémi Denis-Courmont [Wed, 6 Nov 2013 20:38:37 +0000 (22:38 +0200)]
keys: define Print and Pause keys

6 years agoXCB/globalhostkeys: add support for meta modifier
Rémi Denis-Courmont [Wed, 6 Nov 2013 20:30:10 +0000 (22:30 +0200)]
XCB/globalhostkeys: add support for meta modifier

6 years agoXCB/window: map Super and AltGr keys to Meta and Alt modifiers resp.
Rémi Denis-Courmont [Wed, 6 Nov 2013 20:28:51 +0000 (22:28 +0200)]
XCB/window: map Super and AltGr keys to Meta and Alt modifiers resp.

6 years agoAdd .wax to the list of extensions we support
Jean-Baptiste Kempf [Wed, 6 Nov 2013 10:17:52 +0000 (11:17 +0100)]
Add .wax to the list of extensions we support

6 years agoMap LJPG to MJPEG for decoding
Jean-Baptiste Kempf [Wed, 6 Nov 2013 10:14:34 +0000 (11:14 +0100)]
Map LJPG to MJPEG for decoding

libavcodec only has a LJPG encoder, not a decoder

6 years agoavcodec: remove unused variable
Tristan Matthews [Tue, 5 Nov 2013 22:52:11 +0000 (17:52 -0500)]
avcodec: remove unused variable

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agoavcodec: reuse DEFAULT_ALIGN
Tristan Matthews [Tue, 5 Nov 2013 18:52:27 +0000 (13:52 -0500)]
avcodec: reuse DEFAULT_ALIGN

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
6 years agoavcodec: ensure valid buffer size for avcodec_fill_audio_frame
Tristan Matthews [Tue, 5 Nov 2013 00:27:14 +0000 (19:27 -0500)]
avcodec: ensure valid buffer size for avcodec_fill_audio_frame

avcodec_fill_audio_frame will reject input buffers that are too small,
therefore we cannot call it directly with the input buffer p_aout_buf.

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
6 years agodemux: xiph: support old ffmpeg vorbis headers (fix #8832)
Francois Cartegnie [Tue, 5 Nov 2013 13:38:04 +0000 (22:38 +0900)]
demux: xiph: support old ffmpeg vorbis headers (fix #8832)

6 years agobuild: support YASM targets
Luca Barbato [Mon, 4 Nov 2013 14:02:59 +0000 (14:02 +0000)]
build: support YASM targets

The files must be .asm

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: copy correct chroma plane in CopyFromYv12.
Felix Abecassis [Wed, 23 Oct 2013 11:28:27 +0000 (11:28 +0000)]
avcodec: copy correct chroma plane in CopyFromYv12.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>