vlc.git
7 years agohelp: fix variable shadowing
Rémi Denis-Courmont [Wed, 13 Aug 2014 18:09:12 +0000 (21:09 +0300)]
help: fix variable shadowing

7 years agostream: remove shadow variable
Rémi Denis-Courmont [Wed, 13 Aug 2014 17:40:45 +0000 (20:40 +0300)]
stream: remove shadow variable

7 years agoinput: fix shadowed variable
Rémi Denis-Courmont [Wed, 13 Aug 2014 17:57:25 +0000 (20:57 +0300)]
input: fix shadowed variable

7 years agoinput: fix shadowed variable
Rémi Denis-Courmont [Wed, 13 Aug 2014 17:51:05 +0000 (20:51 +0300)]
input: fix shadowed variable

7 years agoes_out: avoid shadowing
Rémi Denis-Courmont [Wed, 13 Aug 2014 17:44:37 +0000 (20:44 +0300)]
es_out: avoid shadowing

7 years agostream: avoid shadowing
Rémi Denis-Courmont [Wed, 13 Aug 2014 17:41:00 +0000 (20:41 +0300)]
stream: avoid shadowing

7 years agoplaylist: shadowing variables
Rémi Denis-Courmont [Wed, 13 Aug 2014 17:32:57 +0000 (20:32 +0300)]
playlist: shadowing variables

7 years agosubtitles: avoid VLA over untrusted input and variable shadowing
Rémi Denis-Courmont [Wed, 13 Aug 2014 17:38:30 +0000 (20:38 +0300)]
subtitles: avoid VLA over untrusted input and variable shadowing

7 years agoWin32: use %ls for wchar_t strings
Hannes Domani [Mon, 11 Aug 2014 18:51:22 +0000 (20:51 +0200)]
Win32: use %ls for wchar_t strings

Signed-off-by: Rafaël Carré <funman@videolan.org>
7 years agowin32: make sure libvlc.pc is installed before configuring npapi
Rémi Denis-Courmont [Wed, 13 Aug 2014 15:01:21 +0000 (18:01 +0300)]
win32: make sure libvlc.pc is installed before configuring npapi

7 years agoTS: Fix crashing with CSA
Jean-Baptiste Kempf [Wed, 13 Aug 2014 08:16:09 +0000 (10:16 +0200)]
TS: Fix crashing with CSA

Close #11955

7 years agoQt: correctly update the nowplaying info
Jean-Baptiste Kempf [Wed, 13 Aug 2014 05:17:06 +0000 (07:17 +0200)]
Qt: correctly update the nowplaying info

Close #9960

7 years agoQt: do not pause playback when resuming
Jean-Baptiste Kempf [Wed, 13 Aug 2014 05:02:57 +0000 (07:02 +0200)]
Qt: do not pause playback when resuming

It just shows a dialog, but does not block the playback.

Close #11708 #11705

7 years agoQt: resume only for files
Jean-Baptiste Kempf [Wed, 13 Aug 2014 02:41:37 +0000 (04:41 +0200)]
Qt: resume only for files

Close #11721 #11761

7 years agoQt: fix OSS simple prefs
Jean-Baptiste Kempf [Wed, 13 Aug 2014 01:42:29 +0000 (03:42 +0200)]
Qt: fix OSS simple prefs

Close #11694

7 years agoQt: corectly do the thumbnails for Win7 on Video
Jean-Baptiste Kempf [Wed, 13 Aug 2014 00:51:01 +0000 (02:51 +0200)]
Qt: corectly do the thumbnails for Win7 on Video

Ref #10154
Close #4726

7 years agoQt: update the Win32 thumbnail after fullscreen
Jean-Baptiste Kempf [Tue, 12 Aug 2014 23:58:39 +0000 (01:58 +0200)]
Qt: update the Win32 thumbnail after fullscreen

Close #10514

7 years agoXPI: use win32/win64 as package name
Jean-Baptiste Kempf [Tue, 12 Aug 2014 20:55:59 +0000 (22:55 +0200)]
XPI: use win32/win64 as package name

Ref #11856

7 years agoPS: fix length computation
Jean-Baptiste Kempf [Tue, 12 Aug 2014 09:46:46 +0000 (11:46 +0200)]
PS: fix length computation

Should close #9412
Ref #7303 #8180 #7889 #10123 #2608

7 years agoconfigure: extract top_srcdir from Makefile at external of quotes
KO Myung-Hun [Wed, 30 Jul 2014 03:28:39 +0000 (12:28 +0900)]
configure: extract top_srcdir from Makefile at external of quotes

This fixes the following error on pdksh v5.2.14.

-----
sed: -e expression #1, char 1: unknown command: `"'
-----

Signed-off-by: Rafaël Carré <funman@videolan.org>
7 years agocodec: dvbsub: don't read unused variables
Francois Cartegnie [Wed, 6 Aug 2014 10:52:37 +0000 (19:52 +0900)]
codec: dvbsub: don't read unused variables

7 years agoPS: fix duration computation on some files
Jean-Baptiste Kempf [Tue, 12 Aug 2014 01:28:12 +0000 (03:28 +0200)]
PS: fix duration computation on some files

Ref #9412

7 years agoWin32: stop stacktrace on nullpointer
Hannes Domani [Mon, 11 Aug 2014 18:49:31 +0000 (20:49 +0200)]
Win32: stop stacktrace on nullpointer

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years agoNEWS and installer about .evo
Jean-Baptiste Kempf [Sun, 10 Aug 2014 07:28:51 +0000 (09:28 +0200)]
NEWS and installer about .evo

7 years agoAdd .evo files to open dialogs
Jean-Baptiste Kempf [Sun, 10 Aug 2014 06:56:26 +0000 (08:56 +0200)]
Add .evo files to open dialogs

7 years agoPS: detect AC-3 from E-AC-3
Jean-Baptiste Kempf [Sun, 10 Aug 2014 06:17:35 +0000 (08:17 +0200)]
PS: detect AC-3 from E-AC-3

We must look inside the packet to see this info

7 years agoPS: pass an extra block_t parameter to ps_track_fill
Jean-Baptiste Kempf [Sun, 10 Aug 2014 06:15:39 +0000 (08:15 +0200)]
PS: pass an extra block_t parameter to ps_track_fill

This shouldn't be necessary, but there is no simple way to detect AC3
from EAC3 using the id, in the evobs

7 years agoPS: reorder by ID
Jean-Baptiste Kempf [Sun, 10 Aug 2014 00:17:28 +0000 (02:17 +0200)]
PS: reorder by ID

7 years agoSupport TrueHD/DD+ in EVOB files
Jean-Baptiste Kempf [Sun, 10 Aug 2014 00:11:12 +0000 (02:11 +0200)]
Support TrueHD/DD+ in EVOB files

7 years agovorbis: fix dereference after null check (cid #403019)
Tristan Matthews [Sun, 10 Aug 2014 01:02:00 +0000 (21:02 -0400)]
vorbis: fix dereference after null check (cid #403019)

7 years agostream_filter: smooth: fix leak (cid #1211818)
Tristan Matthews [Sun, 10 Aug 2014 00:46:38 +0000 (20:46 -0400)]
stream_filter: smooth: fix leak (cid #1211818)

7 years agoDVDnav: kill a warning on read return
Jean-Baptiste Kempf [Sat, 9 Aug 2014 19:49:01 +0000 (21:49 +0200)]
DVDnav: kill a warning on read return

7 years agoPS: kill a warning about operator precedence
Jean-Baptiste Kempf [Sat, 9 Aug 2014 19:48:42 +0000 (21:48 +0200)]
PS: kill a warning about operator precedence

7 years agocontrib: ncurses: explicitly set PKG_CONFIG_LIBDIR
Sean McGovern [Fri, 8 Aug 2014 17:35:01 +0000 (13:35 -0400)]
contrib: ncurses: explicitly set PKG_CONFIG_LIBDIR

ncurses' heavily-modified autoconfigury expects this to be present.

Signed-off-by: Rafaël Carré <funman@videolan.org>
7 years agoAvformat: don't warn about AVCODEC_ID_NONE tracks
Jean-Baptiste Kempf [Sat, 9 Aug 2014 08:48:37 +0000 (10:48 +0200)]
Avformat: don't warn about AVCODEC_ID_NONE tracks

7 years agodemux: mp4: fix rmda/rmra box restrictions
Francois Cartegnie [Sat, 9 Aug 2014 05:19:24 +0000 (14:19 +0900)]
demux: mp4: fix rmda/rmra box restrictions

comment was wrong

7 years agodemux: mp4: add few nondefault box check
Francois Cartegnie [Sat, 9 Aug 2014 05:36:55 +0000 (14:36 +0900)]
demux: mp4: add few nondefault box check

7 years agoContribs: update libbluray to 0.6.1
Jean-Baptiste Kempf [Sat, 9 Aug 2014 02:27:24 +0000 (04:27 +0200)]
Contribs: update libbluray to 0.6.1

7 years agoWin32: Update greek installer encoding
Jean-Baptiste Kempf [Sat, 9 Aug 2014 02:17:20 +0000 (04:17 +0200)]
Win32: Update greek installer encoding

Close #11850

7 years agoequalizer: fix out of range test case
Rémi Denis-Courmont [Fri, 8 Aug 2014 17:23:01 +0000 (20:23 +0300)]
equalizer: fix out of range test case

7 years agowin32: Unbreak packaging with recent compilers
Luca Barbato [Fri, 8 Aug 2014 14:51:15 +0000 (16:51 +0200)]
win32: Unbreak packaging with recent compilers

Signed-off-by: Rafaël Carré <funman@videolan.org>
7 years agoQt: remove pointer from inputChanged signal (fix #11886 #11887)
Francois Cartegnie [Fri, 8 Aug 2014 07:16:21 +0000 (16:16 +0900)]
Qt: remove pointer from inputChanged signal (fix #11886 #11887)

All signals, event direct ones, are going to event loop.

Retrieves input_thread at event loop processing time

7 years agoPS: Support H264 from evob
Jean-Baptiste Kempf [Fri, 8 Aug 2014 02:42:48 +0000 (04:42 +0200)]
PS: Support H264 from evob

7 years agoPS: Update comments about evobs
Jean-Baptiste Kempf [Fri, 8 Aug 2014 02:37:20 +0000 (04:37 +0200)]
PS: Update comments about evobs

7 years agoPS: add alternative StreamID for VC-1 in evob
Jean-Baptiste Kempf [Fri, 8 Aug 2014 02:36:13 +0000 (04:36 +0200)]
PS: add alternative StreamID for VC-1 in evob

7 years agoContribs: update libdvdcss to 1.3.0
Jean-Baptiste Kempf [Fri, 8 Aug 2014 02:35:22 +0000 (04:35 +0200)]
Contribs: update libdvdcss to 1.3.0

7 years agofourcc: add some utvideo fourccs
Ben Littler [Thu, 7 Aug 2014 22:02:05 +0000 (18:02 -0400)]
fourcc: add some utvideo fourccs

Signed-off-by: Tristan Matthews <le.businessman@gmail.com>
7 years agocontrib: ncurses: configure doesn't understand --datarootdir
Rafaël Carré [Wed, 6 Aug 2014 14:41:06 +0000 (16:41 +0200)]
contrib: ncurses: configure doesn't understand --datarootdir

7 years agocontrib: sparkle: drop obsolete patch
Rafaël Carré [Wed, 6 Aug 2014 12:50:56 +0000 (14:50 +0200)]
contrib: sparkle: drop obsolete patch

7 years agocontrib: sparkle: update snow leopard patch
Rafaël Carré [Wed, 6 Aug 2014 12:49:48 +0000 (14:49 +0200)]
contrib: sparkle: update snow leopard patch

7 years agocontrib: sparkle: remove applied patch
Rafaël Carré [Wed, 6 Aug 2014 12:46:29 +0000 (14:46 +0200)]
contrib: sparkle: remove applied patch

7 years agovideo_output: add missing include
Felix Abecassis [Tue, 5 Aug 2014 16:52:24 +0000 (18:52 +0200)]
video_output: add missing include

7 years agotext_style/text_renderer: add support for halfwidth font
Naohiro KORIYAMA [Sun, 10 Jun 2012 01:50:50 +0000 (10:50 +0900)]
text_style/text_renderer: add support for halfwidth font

Fixed-by: Francois Cartegnie <fcvlcdev@free.fr>
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
7 years agoavcodec: missing initializer (cid #1191736)
Tristan Matthews [Mon, 4 Aug 2014 21:00:57 +0000 (17:00 -0400)]
avcodec: missing initializer (cid #1191736)

7 years agolibvlc: add 3 libvlc events: MediaPlayerESAdded, MediaPlayerESDeleted, MediaPlayerESS...
Felix Abecassis [Mon, 4 Aug 2014 10:07:25 +0000 (12:07 +0200)]
libvlc: add 3 libvlc events: MediaPlayerESAdded, MediaPlayerESDeleted, MediaPlayerESSelected

7 years agocore: add a new type of callback for list variables
Felix Abecassis [Mon, 4 Aug 2014 10:06:29 +0000 (12:06 +0200)]
core: add a new type of callback for list variables

This new callback is triggered when an element is added/removed from
the list, or when the list is cleared.

7 years agovariables: add internal type callback_table_t for storing a list of callbacks
Felix Abecassis [Mon, 4 Aug 2014 10:06:23 +0000 (12:06 +0200)]
variables: add internal type callback_table_t for storing a list of callbacks

7 years agovariables: add helper function when adding/removing variable callbacks
Felix Abecassis [Mon, 4 Aug 2014 10:06:18 +0000 (12:06 +0200)]
variables: add helper function when adding/removing variable callbacks

7 years agodemux: ts: reorder switch cases
Francois Cartegnie [Mon, 4 Aug 2014 03:03:36 +0000 (12:03 +0900)]
demux: ts: reorder switch cases

7 years agodemux: ts: handle eit tags with case
Francois Cartegnie [Mon, 4 Aug 2014 03:02:47 +0000 (12:02 +0900)]
demux: ts: handle eit tags with case

7 years agodemux: ts: add pid type debug info
Francois Cartegnie [Mon, 4 Aug 2014 01:33:30 +0000 (10:33 +0900)]
demux: ts: add pid type debug info

7 years agoRequire libdvdnav > 4.9.0
Jean-Baptiste Kempf [Sat, 2 Aug 2014 20:20:06 +0000 (22:20 +0200)]
Require libdvdnav > 4.9.0

Anything older will crash a lot.

7 years agoContribs: use predefined variable for VideoLAN server
Jean-Baptiste Kempf [Sat, 2 Aug 2014 20:18:48 +0000 (22:18 +0200)]
Contribs: use predefined variable for VideoLAN server

7 years agoContribs: update dvdnav to 5.0.0 release
Jean-Baptiste Kempf [Sat, 2 Aug 2014 20:16:38 +0000 (22:16 +0200)]
Contribs: update dvdnav to 5.0.0 release

7 years agoContribs: update dvdread to 5.0.0
Jean-Baptiste Kempf [Sat, 2 Aug 2014 20:12:07 +0000 (22:12 +0200)]
Contribs: update dvdread to 5.0.0

7 years agoWin32: Correctly layout the files for the XPI
Jean-Baptiste Kempf [Sat, 2 Aug 2014 19:26:08 +0000 (21:26 +0200)]
Win32: Correctly layout the files for the XPI

Close #11856

7 years agocontrib: jpeg: remove OS X patch
Sean McGovern [Mon, 28 Jul 2014 23:59:21 +0000 (19:59 -0400)]
contrib: jpeg: remove OS X patch

It has been resolved differently as of jpeglib v9a.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
7 years agoinput: fix use after free
Tristan Matthews [Fri, 1 Aug 2014 15:55:11 +0000 (11:55 -0400)]
input: fix use after free

7 years agohds: fix memory leak and buffer probing
Tristan Matthews [Fri, 1 Aug 2014 05:24:19 +0000 (01:24 -0400)]
hds: fix memory leak and buffer probing

Only 200 bytes are peeked but FromCharset was being called with 512.
The char * returned by FromCharset was not being freed, and
strstr was being called on a buffer that was not NULL terminated
(in the non utf-8 case).

7 years agomft: add missing dependency on h264_nal.{c,h}
Felix Abecassis [Fri, 1 Aug 2014 10:10:54 +0000 (12:10 +0200)]
mft: add missing dependency on h264_nal.{c,h}

7 years agoh264: refactor emulation prevention byte handling
Felix Abecassis [Fri, 1 Aug 2014 09:18:40 +0000 (11:18 +0200)]
h264: refactor emulation prevention byte handling

7 years agoh264: refactor Exp-Golomb reading functions with existing mpeg demuxing code
Felix Abecassis [Fri, 1 Aug 2014 09:18:35 +0000 (11:18 +0200)]
h264: refactor Exp-Golomb reading functions with existing mpeg demuxing code

7 years agoh264_nal: add header guard
Felix Abecassis [Fri, 1 Aug 2014 09:18:31 +0000 (11:18 +0200)]
h264_nal: add header guard

7 years agoh264_nal: add a source file to separate declaration from definition
Felix Abecassis [Fri, 1 Aug 2014 09:18:23 +0000 (11:18 +0200)]
h264_nal: add a source file to separate declaration from definition

7 years agohds: use else if where appropriate
Tristan Matthews [Fri, 1 Aug 2014 04:30:01 +0000 (00:30 -0400)]
hds: use else if where appropriate

7 years agohds: fix redundant NULL check (cid #1224540)
Tristan Matthews [Fri, 1 Aug 2014 04:22:39 +0000 (00:22 -0400)]
hds: fix redundant NULL check (cid #1224540)

current_element is checked earlier and the loop continues if it's NULL.

7 years agohds: fix dereference after NULL check (cid #1224532)
Tristan Matthews [Fri, 1 Aug 2014 04:11:45 +0000 (00:11 -0400)]
hds: fix dereference after NULL check (cid #1224532)

7 years agohds: fix out of bounds access (cid #1224531)
Tristan Matthews [Fri, 1 Aug 2014 04:00:30 +0000 (00:00 -0400)]
hds: fix out of bounds access (cid #1224531)

7 years agodemux: rar: set NO_INTERACT flags for probing
Francois Cartegnie [Fri, 1 Aug 2014 01:49:09 +0000 (10:49 +0900)]
demux: rar: set NO_INTERACT flags for probing

7 years agoaccess: archive: set NO_INTERACT flag
Francois Cartegnie [Fri, 1 Aug 2014 01:50:59 +0000 (10:50 +0900)]
access: archive: set NO_INTERACT flag

7 years agomisc: acoustid: set NO_INTERACT
Francois Cartegnie [Fri, 1 Aug 2014 02:09:43 +0000 (11:09 +0900)]
misc: acoustid: set NO_INTERACT

7 years agoaddons: installer/fetcher: set NO_INTERACT
Francois Cartegnie [Fri, 1 Aug 2014 02:10:29 +0000 (11:10 +0900)]
addons: installer/fetcher: set NO_INTERACT

7 years agoFix MODULES_LIST
Jean-Baptiste Kempf [Thu, 31 Jul 2014 23:07:33 +0000 (01:07 +0200)]
Fix MODULES_LIST

7 years agoUpdate NEWS
Jean-Baptiste Kempf [Thu, 31 Jul 2014 23:06:54 +0000 (01:06 +0200)]
Update NEWS

7 years agohds: Base URL should not include a possible query
Antti Ajanki [Wed, 30 Jul 2014 15:47:49 +0000 (18:47 +0300)]
hds: Base URL should not include a possible query

7 years agotranscode: fix video filters
Rafaël Carré [Thu, 31 Jul 2014 10:25:03 +0000 (12:25 +0200)]
transcode: fix video filters

7 years agoRemove leftover dummy test
Rafaël Carré [Thu, 31 Jul 2014 09:19:11 +0000 (11:19 +0200)]
Remove leftover dummy test

7 years agoDon't fail if Qt5X11Extras is not detected
Rafaël Carré [Thu, 31 Jul 2014 09:18:54 +0000 (11:18 +0200)]
Don't fail if Qt5X11Extras is not detected

7 years agoaccess: archive: add multiple volume support
Francois Cartegnie [Thu, 31 Jul 2014 08:00:42 +0000 (17:00 +0900)]
access: archive: add multiple volume support

7 years agoaccess: archive: implicitely call close
Francois Cartegnie [Wed, 30 Jul 2014 08:18:24 +0000 (17:18 +0900)]
access: archive: implicitely call close

Unlike documentation says archive_free
 doesn't call close in every circumstances.

7 years agoasx: fix use-after-free
Rémi Denis-Courmont [Wed, 30 Jul 2014 21:13:01 +0000 (00:13 +0300)]
asx: fix use-after-free

7 years agoimage: remove constant parameter
Rémi Denis-Courmont [Wed, 30 Jul 2014 17:39:55 +0000 (20:39 +0300)]
image: remove constant parameter

7 years agoimage: remove dead code
Rémi Denis-Courmont [Wed, 30 Jul 2014 17:38:29 +0000 (20:38 +0300)]
image: remove dead code

7 years agoauhal: rework locking and avoid potential deadlock
David Fuhrmann [Wed, 30 Jul 2014 16:45:04 +0000 (18:45 +0200)]
auhal: rework locking and avoid potential deadlock

hopefully closes #11675

7 years agoauhal: Added more debug logs and removed invalid memory access due to wrong range
David Fuhrmann [Wed, 30 Jul 2014 15:04:37 +0000 (17:04 +0200)]
auhal: Added more debug logs and removed invalid memory access due to wrong range

Search range for the new devices array was wrong, which led to nonworking
detection of removed devices, up to strange deadlocks when quitting VLC.

7 years agoavformat: initialize probe data (fixes #11851)
Rémi Denis-Courmont [Wed, 30 Jul 2014 16:05:43 +0000 (19:05 +0300)]
avformat: initialize probe data (fixes #11851)

7 years agoAvformat mux: fix a memory leak
Adrien Maglo [Wed, 30 Jul 2014 14:44:29 +0000 (16:44 +0200)]
Avformat mux: fix a memory leak

7 years agorelease doc: actually give the script
Rafaël Carré [Wed, 30 Jul 2014 10:33:14 +0000 (12:33 +0200)]
release doc: actually give the script

7 years agomacosx: remove outdated and unneeded bookmarks table reload
David Fuhrmann [Wed, 30 Jul 2014 10:20:47 +0000 (12:20 +0200)]
macosx: remove outdated and unneeded bookmarks table reload

7 years agomacosx: use input changed event to update bookmarks dialog
David Fuhrmann [Wed, 30 Jul 2014 10:14:51 +0000 (12:14 +0200)]
macosx: use input changed event to update bookmarks dialog

This allows lazy loading of the bookmarks window.