vlc.git
5 years agomacosx: Set all project files as relative to project path
David Fuhrmann [Mon, 5 Jan 2015 23:13:44 +0000 (00:13 +0100)]
macosx: Set all project files as relative to project path

5 years agomacosx: Upgrade xib files from IB 3 to IB 4-6 format
David Fuhrmann [Mon, 5 Jan 2015 23:12:50 +0000 (00:12 +0100)]
macosx: Upgrade xib files from IB 3 to IB 4-6 format

This makes usage of the old Xcode 3 and Interface Builder 3 obsolete.
All further changes need to happen in Xcode >= 4.

BGHUDAppkit elements were preserved, but for further changes the respective
subclass for the views need to be set manually.

Also resyncs all xibs with the source files.

5 years agobpg: add libbpg decoder
Tristan Matthews [Tue, 6 Jan 2015 00:51:58 +0000 (00:51 +0000)]
bpg: add libbpg decoder

5 years agocontrib: add bpg
Tristan Matthews [Tue, 6 Jan 2015 00:51:57 +0000 (00:51 +0000)]
contrib: add bpg

Currently libbpg is only available as a static library.

5 years agohds: avoid NULL dereference (cid #1261992)
Tristan Matthews [Thu, 8 Jan 2015 12:53:40 +0000 (07:53 -0500)]
hds: avoid NULL dereference (cid #1261992)

metadata_packet_len > 0 is equivalent to
metadata_payload_len > 0 && p_metadata_payload

5 years agoWin32: make volume touch less sensitive
Jean-Baptiste Kempf [Thu, 8 Jan 2015 02:43:43 +0000 (03:43 +0100)]
Win32: make volume touch less sensitive

5 years agoQt: space the toolbar items depending on the DPI
Jarrad Whitaker [Thu, 8 Jan 2015 00:54:47 +0000 (01:54 +0100)]
Qt: space the toolbar items depending on the DPI

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodraw toolbar buttons with DPI-scaled sizes
Jarrad Whitaker [Thu, 6 Nov 2014 11:45:21 +0000 (22:45 +1100)]
draw toolbar buttons with DPI-scaled sizes

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoSupport for LG N1A1 UPnP server
Fabrizio Gennari [Tue, 6 Jan 2015 22:24:30 +0000 (23:24 +0100)]
Support for LG N1A1 UPnP server

Connecting to a LG N1A1 NAS device gave:
upnp services discovery error: browse() response parsing failed

There is a "ugly hack" ("The DIDL document is extracted from the Result tag,
then wrapped into a valid XML header and a new root tag") in the code now.
This actually break parsing the reply by the LG N1A1.

Now, we try parsing the reply as is, and uses the "ugly hack" as a fallback only.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoQt: Changed mnemonic that was inaccessible during play.
Darko Jankovic [Mon, 5 Jan 2015 19:31:14 +0000 (19:31 +0000)]
Qt: Changed mnemonic that was inaccessible during play.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoContribs: update libmatroska to 1.4.2
Jean-Baptiste Kempf [Tue, 6 Jan 2015 21:24:50 +0000 (22:24 +0100)]
Contribs: update libmatroska to 1.4.2

Move to autotools

5 years agoContribs: update libebml 1.3.1
Jean-Baptiste Kempf [Tue, 6 Jan 2015 21:22:33 +0000 (22:22 +0100)]
Contribs: update libebml 1.3.1

Move to autoconf

5 years agorawvid: fix parsing frame and aspect ratii (fixes #13532)
Rémi Denis-Courmont [Tue, 6 Jan 2015 19:46:14 +0000 (21:46 +0200)]
rawvid: fix parsing frame and aspect ratii (fixes #13532)

5 years agofreetype: render Arabic diacritics properly
Salah-Eddin Shaban [Tue, 6 Jan 2015 11:42:08 +0000 (13:42 +0200)]
freetype: render Arabic diacritics properly

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agotranscode: remove unneeded deinit
Rafaël Carré [Tue, 6 Jan 2015 12:43:35 +0000 (13:43 +0100)]
transcode: remove unneeded deinit

5 years agotranscode: avoid double thread join
Rafaël Carré [Tue, 6 Jan 2015 12:43:19 +0000 (13:43 +0100)]
transcode: avoid double thread join

5 years agotranscode: simplify thread init
Rafaël Carré [Tue, 6 Jan 2015 12:42:06 +0000 (13:42 +0100)]
transcode: simplify thread init

5 years agotranscode: whitespace
Rafaël Carré [Tue, 6 Jan 2015 12:41:31 +0000 (13:41 +0100)]
transcode: whitespace

5 years agotranscode: simplify locking in encoder thread
Rafaël Carré [Tue, 6 Jan 2015 12:27:10 +0000 (13:27 +0100)]
transcode: simplify locking in encoder thread

5 years agogather: fix uninitialized value
Rafaël Carré [Tue, 6 Jan 2015 11:03:39 +0000 (12:03 +0100)]
gather: fix uninitialized value

5 years agomacosx: bookmarks: remove byte field from table view and edit dialog
David Fuhrmann [Tue, 6 Jan 2015 12:38:36 +0000 (13:38 +0100)]
macosx: bookmarks: remove byte field from table view and edit dialog

This field is shall not be used anymore. And its rather cubersome
for the user anyway.

5 years agomacosx: fix int overflow when editing bookmarks
David Fuhrmann [Tue, 6 Jan 2015 11:47:31 +0000 (12:47 +0100)]
macosx: fix int overflow when editing bookmarks

This caused incorrect values for larger bookmarks.

5 years agompg123: use VLC_ENOMEM
Ludovic Fauvet [Tue, 6 Jan 2015 09:48:14 +0000 (10:48 +0100)]
mpg123: use VLC_ENOMEM

5 years agosrc: fix broken bookmarks functionality
David Fuhrmann [Tue, 6 Jan 2015 00:40:18 +0000 (01:40 +0100)]
src: fix broken bookmarks functionality

5 years agofreetype: fix extra squares in Arabic subtitles (fixes #6152 #8117)
Salah-Eddin Shaban [Mon, 5 Jan 2015 14:52:33 +0000 (14:52 +0000)]
freetype: fix extra squares in Arabic subtitles (fixes #6152 #8117)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodemux: mp4: fix regression on smooth streaming
Francois Cartegnie [Mon, 5 Jan 2015 17:52:15 +0000 (18:52 +0100)]
demux: mp4: fix regression on smooth streaming

DemuxFrg was no longer selected

5 years agoQt: fix Windows build
Ludovic Fauvet [Mon, 5 Jan 2015 16:41:50 +0000 (17:41 +0100)]
Qt: fix Windows build

5 years agoCDDA: fix printf format
Jean-Baptiste Kempf [Mon, 5 Jan 2015 16:37:47 +0000 (17:37 +0100)]
CDDA: fix printf format

5 years agoCDDB: display CDDB ID in the right format
Jean-Baptiste Kempf [Mon, 5 Jan 2015 16:36:15 +0000 (17:36 +0100)]
CDDB: display CDDB ID in the right format

Aka a 8 digit hexa number, as used in search engines like
http://www.freedb.org/freedb_discid_check.php

Ref #4370

5 years agoQt: clean up includes and forward declare when possible
Ludovic Fauvet [Mon, 5 Jan 2015 16:11:43 +0000 (17:11 +0100)]
Qt: clean up includes and forward declare when possible

5 years agoQt: remove superfluous forward declarations
Ludovic Fauvet [Mon, 5 Jan 2015 15:26:55 +0000 (16:26 +0100)]
Qt: remove superfluous forward declarations

5 years agocontrib: speex: skip RECONF
Tristan Matthews [Sun, 4 Jan 2015 00:11:33 +0000 (19:11 -0500)]
contrib: speex: skip RECONF

5 years agocontrib: speexdsp: skip RECONF
Tristan Matthews [Sun, 4 Jan 2015 00:10:16 +0000 (19:10 -0500)]
contrib: speexdsp: skip RECONF

5 years agocontrib: use speexdsp 1.2rc3
Tristan Matthews [Sat, 3 Jan 2015 23:58:04 +0000 (18:58 -0500)]
contrib: use speexdsp 1.2rc3

5 years agodemux: dash: detect dash in raw xml with single quotes
Francois Cartegnie [Mon, 5 Jan 2015 15:26:33 +0000 (16:26 +0100)]
demux: dash: detect dash in raw xml with single quotes

5 years agosndio: fix typo in 8-bits audio handling
Rémi Denis-Courmont [Mon, 5 Jan 2015 14:10:21 +0000 (16:10 +0200)]
sndio: fix typo in 8-bits audio handling

5 years agoDsound: add shortcuts
Jean-Baptiste Kempf [Sat, 3 Jan 2015 23:27:46 +0000 (00:27 +0100)]
Dsound: add shortcuts

5 years agoDirect3D9: add a direct3d shortcut for backward compatibility
Jean-Baptiste Kempf [Sat, 3 Jan 2015 23:21:58 +0000 (00:21 +0100)]
Direct3D9: add a direct3d shortcut for backward compatibility

5 years agoWin32: rename directx to directdraw
Jean-Baptiste Kempf [Sat, 3 Jan 2015 23:15:50 +0000 (00:15 +0100)]
Win32: rename directx to directdraw

5 years agodemux: dash: disable seek on live
Francois Cartegnie [Sat, 3 Jan 2015 20:18:30 +0000 (21:18 +0100)]
demux: dash: disable seek on live

5 years agodemux: dash: enable passive seek for templates as well
Francois Cartegnie [Sat, 3 Jan 2015 20:16:08 +0000 (21:16 +0100)]
demux: dash: enable passive seek for templates as well

5 years agovdpau: remove unwarranted assumption on C calling convention
Rémi Denis-Courmont [Sat, 3 Jan 2015 11:37:20 +0000 (13:37 +0200)]
vdpau: remove unwarranted assumption on C calling convention

5 years agomacosx: fix reveal in finder main menu item
David Fuhrmann [Fri, 2 Jan 2015 20:57:38 +0000 (21:57 +0100)]
macosx: fix reveal in finder main menu item

5 years agomacosx: correctly dis/enable cover art menu item
David Fuhrmann [Fri, 2 Jan 2015 20:40:01 +0000 (21:40 +0100)]
macosx: correctly dis/enable cover art menu item

5 years agomacosx: simplify revealInFinder action
David Fuhrmann [Fri, 2 Jan 2015 14:39:00 +0000 (15:39 +0100)]
macosx: simplify revealInFinder action

5 years agomacosx: improve playItem, make sure that the complete pl is queued
David Fuhrmann [Fri, 2 Jan 2015 13:30:38 +0000 (14:30 +0100)]
macosx: improve playItem, make sure that the complete pl is queued

Simplifies the playItem action. For the playlist call, the current
root is taken instead of the parent node. This ensures that
playback does not stop on folder/node boundaries.

5 years agomacosx: cleanup pl data source, do not show file size for directories
David Fuhrmann [Fri, 2 Jan 2015 13:10:50 +0000 (14:10 +0100)]
macosx: cleanup pl data source, do not show file size for directories

5 years agomacosx: fix crash in outline view data source
David Fuhrmann [Fri, 2 Jan 2015 12:47:27 +0000 (13:47 +0100)]
macosx: fix crash in outline view data source

5 years agomacosx: remove dead code, small reformatting
David Fuhrmann [Thu, 1 Jan 2015 16:53:00 +0000 (17:53 +0100)]
macosx: remove dead code, small reformatting

5 years agoqtsound: fix memleak (close #13416)
David Fuhrmann [Wed, 31 Dec 2014 18:52:08 +0000 (19:52 +0100)]
qtsound: fix memleak (close #13416)

5 years agodemux: dash: add Initializable and parse SegmentList init segment
Francois Cartegnie [Fri, 2 Jan 2015 18:26:51 +0000 (19:26 +0100)]
demux: dash: add Initializable and parse SegmentList init segment

Fixes playback where Initilialization Segment is in SegmentList

5 years agodemux: mp4: handle DASH passive seek for now
Francois Cartegnie [Fri, 2 Jan 2015 18:00:50 +0000 (19:00 +0100)]
demux: mp4: handle DASH passive seek for now

5 years agoUse directory browser for record and timeshift folders
Jean-Baptiste Kempf [Fri, 2 Jan 2015 17:44:44 +0000 (18:44 +0100)]
Use directory browser for record and timeshift folders

5 years agodemux: mp4: create dummy sample info for mp4s (fix #13464)
Francois Cartegnie [Fri, 2 Jan 2015 15:45:45 +0000 (16:45 +0100)]
demux: mp4: create dummy sample info for mp4s (fix #13464)

5 years agoContrib: fix crash in CDDB on Windows
Jean-Baptiste Kempf [Fri, 2 Jan 2015 14:56:00 +0000 (15:56 +0100)]
Contrib: fix crash in CDDB on Windows

Close #13465

5 years agoDash: fix compilation for Windows
Jean-Baptiste Kempf [Fri, 2 Jan 2015 14:54:06 +0000 (15:54 +0100)]
Dash: fix compilation for Windows

5 years agoCDDB: add more debug to find the potential issues
Jean-Baptiste Kempf [Fri, 2 Jan 2015 14:30:59 +0000 (15:30 +0100)]
CDDB: add more debug to find the potential issues

Ref #4370

5 years agoCDDB: add the correct pregap for calculation
Jean-Baptiste Kempf [Fri, 2 Jan 2015 14:20:57 +0000 (15:20 +0100)]
CDDB: add the correct pregap for calculation

150sectors or 2 seconds

Should close #4370

5 years agodemux: dash: add basic seeking using next segment
Francois Cartegnie [Thu, 1 Jan 2015 15:47:05 +0000 (16:47 +0100)]
demux: dash: add basic seeking using next segment

Still doesn't control streamDemux

5 years agodemux: dash: remove SegmentInfo
Francois Cartegnie [Thu, 1 Jan 2015 16:04:52 +0000 (17:04 +0100)]
demux: dash: remove SegmentInfo

5 years agodemux: dash: remove unused members
Francois Cartegnie [Thu, 1 Jan 2015 16:01:49 +0000 (17:01 +0100)]
demux: dash: remove unused members

5 years agodemux: dash: add segmentList duration
Francois Cartegnie [Thu, 1 Jan 2015 15:46:19 +0000 (16:46 +0100)]
demux: dash: add segmentList duration

5 years agodemux: dash: remove unused SegmentInfoDefault
Francois Cartegnie [Wed, 31 Dec 2014 15:46:23 +0000 (16:46 +0100)]
demux: dash: remove unused SegmentInfoDefault

5 years agocdrom.h: use static inline instead of macros
Jean-Baptiste Kempf [Fri, 2 Jan 2015 13:51:01 +0000 (14:51 +0100)]
cdrom.h: use static inline instead of macros

5 years agoavcodec: fix ffmpeg version check
Ludovic Fauvet [Fri, 2 Jan 2015 13:37:52 +0000 (14:37 +0100)]
avcodec: fix ffmpeg version check

5 years agocdrom.c: code cosmetic and includes removal
Jean-Baptiste Kempf [Fri, 2 Jan 2015 13:06:07 +0000 (14:06 +0100)]
cdrom.c: code cosmetic and includes removal

5 years agoVCD: clean cdrom.h header
Jean-Baptiste Kempf [Fri, 2 Jan 2015 12:07:07 +0000 (13:07 +0100)]
VCD: clean cdrom.h header

Use the actual definitions from the ColourBooks
Use enums instead of macros

5 years agoAdd includes guards to cdrom.h
Jean-Baptiste Kempf [Fri, 2 Jan 2015 11:47:16 +0000 (12:47 +0100)]
Add includes guards to cdrom.h

5 years agoVCD: avoid macro redefinition
Jean-Baptiste Kempf [Fri, 2 Jan 2015 11:39:25 +0000 (12:39 +0100)]
VCD: avoid macro redefinition

5 years agoconfigure: require libarchive 3.1.0 for the archive plugin
Sean McGovern [Thu, 1 Jan 2015 20:25:03 +0000 (15:25 -0500)]
configure: require libarchive 3.1.0 for the archive plugin

archive_seek_data() was not introduced until this version.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agocontrib: Fix x265.pc on osx
Rafaël Carré [Wed, 31 Dec 2014 16:06:49 +0000 (17:06 +0100)]
contrib: Fix x265.pc on osx

Works around cmake

5 years agodemux: dash: handle format string min width in segment number
Francois Cartegnie [Wed, 31 Dec 2014 15:08:45 +0000 (16:08 +0100)]
demux: dash: handle format string min width in segment number

5 years agolive555: avoid NULL dereference if codec undefined
Tristan Matthews [Wed, 31 Dec 2014 04:39:57 +0000 (23:39 -0500)]
live555: avoid NULL dereference if codec undefined

Refs #11938

5 years agoRename Direct3D video output module to Direct3D9
Martell Malone [Tue, 23 Dec 2014 17:35:28 +0000 (17:35 +0000)]
Rename Direct3D video output module to Direct3D9

We will probably need a Direct3d11 one

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodemux: mpeg: add support for lame's replaygain extension
Anatoliy Anischovich [Tue, 30 Dec 2014 14:25:06 +0000 (14:25 +0000)]
demux: mpeg: add support for lame's replaygain extension

See http://gabriel.mp3-tech.org/mp3infotag.html#replaygain

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodemux: mp4: fix divbyzero with broken audio stsd
Francois Cartegnie [Tue, 30 Dec 2014 19:40:53 +0000 (20:40 +0100)]
demux: mp4: fix divbyzero with broken audio stsd

5 years agoBump OpenGL capability on Windows
Jean-Baptiste Kempf [Tue, 30 Dec 2014 18:29:40 +0000 (19:29 +0100)]
Bump OpenGL capability on Windows

It is now higher than Direct2d, but lower than DirectDraw, because of XP

5 years agodemux: dash: enable all profiles
Francois Cartegnie [Tue, 30 Dec 2014 15:44:29 +0000 (16:44 +0100)]
demux: dash: enable all profiles

5 years agodemux: mp4: add support for FFV1 v2 (fix #13131)
Francois Cartegnie [Tue, 30 Dec 2014 15:19:03 +0000 (16:19 +0100)]
demux: mp4: add support for FFV1 v2 (fix #13131)

V2 has global tables, and then needs it to be passed as
extradata IV.

5 years agodemux: dash: remove now unused blockbuffer code
Francois Cartegnie [Tue, 30 Dec 2014 15:18:34 +0000 (16:18 +0100)]
demux: dash: remove now unused blockbuffer code

5 years agodemux: dash: track segment/periods outside of adaptation logic
Francois Cartegnie [Mon, 29 Dec 2014 23:42:44 +0000 (00:42 +0100)]
demux: dash: track segment/periods outside of adaptation logic

Allows switching logic, and fixes startSegment handling.

5 years agomacosx: remove old playlist data source, remove unneeded outline view inits
David Fuhrmann [Sun, 28 Dec 2014 16:43:18 +0000 (17:43 +0100)]
macosx: remove old playlist data source, remove unneeded outline view inits

5 years agomacosx: resume playback: fix memleak
David Fuhrmann [Sun, 28 Dec 2014 16:22:14 +0000 (17:22 +0100)]
macosx: resume playback: fix memleak

5 years agoauhal: fix memleak, check malloc return value
David Fuhrmann [Sun, 28 Dec 2014 16:21:10 +0000 (17:21 +0100)]
auhal: fix memleak, check malloc return value

5 years agomacosx: playlist: delete old NSOutlineViewDataSource and helpers
David Fuhrmann [Sun, 7 Dec 2014 13:41:54 +0000 (14:41 +0100)]
macosx: playlist: delete old NSOutlineViewDataSource and helpers

This is superseeded by the new PLModel object. Also remove old
helper functions which are not used anymore.

5 years agomacosx: adapt recursiveExpandNode to new playlist model
David Fuhrmann [Sun, 7 Dec 2014 13:25:39 +0000 (14:25 +0100)]
macosx: adapt recursiveExpandNode to new playlist model

5 years agomacosx: add new pl items to the end if they are dropped to a node
David Fuhrmann [Sun, 7 Dec 2014 12:29:12 +0000 (13:29 +0100)]
macosx: add new pl items to the end if they are dropped to a node

5 years agomacosx: simplify/unify addition of new playlist items
David Fuhrmann [Sun, 7 Dec 2014 12:12:38 +0000 (13:12 +0100)]
macosx: simplify/unify addition of new playlist items

5 years agomacosx: Move drag and drop support to new PLModel and rewrite
David Fuhrmann [Sun, 30 Nov 2014 18:00:29 +0000 (19:00 +0100)]
macosx: Move drag and drop support to new PLModel and rewrite

This simplifies the methods, also using a simpler storage for
dragged items.

5 years agomacosx: Use core-provided playlist search functionality
David Fuhrmann [Sun, 30 Nov 2014 10:21:54 +0000 (11:21 +0100)]
macosx: Use core-provided playlist search functionality

This removes the old own-made search functionality and replaces
it by a version the user would expect (i.e. actually hiding non-
found entries).

close #6049

5 years agomacosx: Add new playlist model
David Fuhrmann [Sat, 15 Nov 2014 11:33:30 +0000 (12:33 +0100)]
macosx: Add new playlist model

The current playlist model directly operates on the core playlist
datastructures without proper locking for a complete playlist table
reload/update. This resulted in various ugly hacks and workarounds.

The new playlist model encapsulates the data in own objects like
in the qt interface. This allows a much easier integration with
the table view and proper updates from the core playlist.

This way, the previous playlist objects, stored in an ugly map with
pointer strings as keys, pointing to the same pointer inside a
NSValue, is obsolete finally. :-)

5 years agomacosx: Get rid of old VLCTableViewCommon
David Fuhrmann [Thu, 13 Nov 2014 11:11:39 +0000 (12:11 +0100)]
macosx: Get rid of old VLCTableViewCommon

5 years agoUpdate NEWS
Jean-Baptiste Kempf [Tue, 30 Dec 2014 13:56:55 +0000 (14:56 +0100)]
Update NEWS

5 years agoBump Android Window priority: it can do hardware subpicture blending
Jean-Baptiste Kempf [Tue, 30 Dec 2014 12:50:39 +0000 (13:50 +0100)]
Bump Android Window priority: it can do hardware subpicture blending

5 years agolibvlc_media_list: missing vlc_mutex_destroy
Thomas Guillem [Tue, 23 Dec 2014 16:35:41 +0000 (16:35 +0000)]
libvlc_media_list: missing vlc_mutex_destroy

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodemux: mpc: fix replaygain calculation (fixes #13176)
Anatoliy Anischovich [Mon, 29 Dec 2014 09:49:57 +0000 (09:49 +0000)]
demux: mpc: fix replaygain calculation (fixes #13176)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoandroid_window: check subtitles bounds
Thomas Guillem [Mon, 29 Dec 2014 16:45:12 +0000 (16:45 +0000)]
android_window: check subtitles bounds

(fixes #13350)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoQt: fix padding on the speed selector
Jean-Baptiste Kempf [Mon, 29 Dec 2014 21:07:47 +0000 (22:07 +0100)]
Qt: fix padding on the speed selector

Close #13329

5 years agodemux: mp4: missing sample in chunk alignment on seek (fix #13414)
Francois Cartegnie [Sun, 28 Dec 2014 21:32:33 +0000 (22:32 +0100)]
demux: mp4: missing sample in chunk alignment on seek (fix #13414)

5 years agodemux: mp4: fix tk id in debug code
Francois Cartegnie [Sat, 27 Dec 2014 23:23:27 +0000 (00:23 +0100)]
demux: mp4: fix tk id in debug code