vlc.git
7 years agoNotify: fix compilation
Jean-Baptiste Kempf [Sat, 16 Aug 2014 06:44:59 +0000 (08:44 +0200)]
Notify: fix compilation

7 years agoos2: include vlc_input.h
KO Myung-Hun [Sat, 16 Aug 2014 06:32:33 +0000 (15:32 +0900)]
os2: include vlc_input.h

This fixes the following compilation error.

-----
  CC       os2/specific.lo
os2/specific.c: In function 'IPCHelperThread':
os2/specific.c:107:34: error: 'VLC_INPUT_OPTION_TRUSTED' undeclared (first use in this function)
                                  VLC_INPUT_OPTION_TRUSTED,
                                  ^
os2/specific.c:107:34: note: each undeclared identifier is reported only once for each function it appears in
-----

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years agodemux: ts: include time.h
KO Myung-Hun [Sat, 16 Aug 2014 06:32:50 +0000 (15:32 +0900)]
demux: ts: include time.h

This fixes the following compilation error.

-----
  CC       demux/libts_plugin_la-ts.lo
demux/ts.c: In function 'EITCallBack':
demux/ts.c:3114:13: error: implicit declaration of function 'time' [-Werror=implicit-function-declaration]
             time_t timer = time( NULL );
             ^
demux/ts.c:3115:13: error: implicit declaration of function 'difftime' [-Werror=implicit-function-declaration]
             int64_t diff = difftime( mktime( localtime( &timer ) ),
             ^
demux/ts.c:3115:13: error: implicit declaration of function 'mktime' [-Werror=implicit-function-declaration]
demux/ts.c:3115:13: error: implicit declaration of function 'localtime' [-Werror=implicit-function-declaration]
demux/ts.c:3116:38: error: implicit declaration of function 'gmtime' [-Werror=implicit-function-declaration]
                                      mktime( gmtime( &timer ) ) );
                                      ^
-----

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years agoadd rpath to LDFLAGS to build plugin properly
Naohiro KORIYAMA [Fri, 15 Aug 2014 08:06:16 +0000 (17:06 +0900)]
add rpath to LDFLAGS to build plugin properly

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
7 years agocontrib: update aribb24 1.0.2
Naohiro KORIYAMA [Fri, 15 Aug 2014 13:23:30 +0000 (22:23 +0900)]
contrib: update aribb24 1.0.2

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
7 years agoNEWS: forward port NEWS from 2.2.x and 2.1.5
Jean-Baptiste Kempf [Sat, 16 Aug 2014 00:39:27 +0000 (02:39 +0200)]
NEWS: forward port NEWS from 2.2.x and 2.1.5

7 years agoOSX growl: fix compilation
Jean-Baptiste Kempf [Fri, 15 Aug 2014 23:12:05 +0000 (01:12 +0200)]
OSX growl: fix compilation

7 years agoRemove vlc_input.h from vlc_playlist.h
Rémi Denis-Courmont [Fri, 15 Aug 2014 20:00:13 +0000 (23:00 +0300)]
Remove vlc_input.h from vlc_playlist.h

7 years agomedia_player: do not wait for input to stop when pausing (fixes #11767)
Rémi Denis-Courmont [Fri, 15 Aug 2014 18:47:44 +0000 (21:47 +0300)]
media_player: do not wait for input to stop when pausing (fixes #11767)

This lead to a deadlock when attempting to pause an input that did not
support pausing.

7 years agoinput: deduplicate code
Rémi Denis-Courmont [Fri, 15 Aug 2014 17:16:58 +0000 (20:16 +0300)]
input: deduplicate code

7 years agoinput: fetch demux attachment once, not twice (fixes #11966)
Rémi Denis-Courmont [Fri, 15 Aug 2014 17:07:07 +0000 (20:07 +0300)]
input: fetch demux attachment once, not twice (fixes #11966)

This was inefficient and caused attachments from the meta engine or from
the slave demuxers to get lost.

Note that those attachments will still get lost later if the master
demuxer sets the metadata update flag (which affects the Ogg demuxer
only so far), or when adding a slave input.

All regressions introduced in e4673369e8356c84ca99b66fb222dee07c8e4962.

7 years agometa: simplify input_ExtractAttachmentAndCacheArt()
Rémi Denis-Courmont [Fri, 15 Aug 2014 16:03:40 +0000 (19:03 +0300)]
meta: simplify input_ExtractAttachmentAndCacheArt()

Also improve error messages.

7 years agoinput item: attempt to clarify art URL merge
Rémi Denis-Courmont [Fri, 15 Aug 2014 15:51:57 +0000 (18:51 +0300)]
input item: attempt to clarify art URL merge

7 years agoinput item: simplify copying title from meta
Rémi Denis-Courmont [Fri, 15 Aug 2014 15:41:21 +0000 (18:41 +0300)]
input item: simplify copying title from meta

7 years agoinput item: remove b_fixed name, always false
Rémi Denis-Courmont [Fri, 15 Aug 2014 15:33:27 +0000 (18:33 +0300)]
input item: remove b_fixed name, always false

7 years agoplaylist demux: do not set empty art URL
Rémi Denis-Courmont [Fri, 15 Aug 2014 15:02:18 +0000 (18:02 +0300)]
playlist demux: do not set empty art URL

7 years agodemux: ts: support ARIB TOT and EIT running status
Francois Cartegnie [Fri, 15 Aug 2014 06:36:31 +0000 (15:36 +0900)]
demux: ts: support ARIB TOT and EIT running status

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
Fixed-by: Francois Cartegnie <fcvlcdev@free.fr>
7 years agoQt: epg: fix update signal
Francois Cartegnie [Fri, 15 Aug 2014 09:30:32 +0000 (18:30 +0900)]
Qt: epg: fix update signal

7 years agolivehttp: fixed generated iv in index file
Christian Suloway [Thu, 14 Aug 2014 22:55:35 +0000 (17:55 -0500)]
livehttp: fixed generated iv in index file

Removed extra shift when copying generated iv for output to index file tag

Signed-off-by: Rafaël Carré <funman@videolan.org>
7 years agoDTV: fix CAM build with httpd
Rafaël Carré [Thu, 14 Aug 2014 09:59:39 +0000 (11:59 +0200)]
DTV: fix CAM build with httpd

7 years agodemux: ts: return instead of abort()
Francois Cartegnie [Fri, 15 Aug 2014 09:02:42 +0000 (18:02 +0900)]
demux: ts: return instead of abort()

7 years agodemux: ts: add ARIB support
Naohiro KORIYAMA [Sat, 2 Aug 2014 01:31:18 +0000 (10:31 +0900)]
demux: ts: add ARIB support

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
Fixed-by: Francois Cartegnie <fcvlcdev@free.fr>
7 years agoQt: fix the postprocessing menu
Jean-Baptiste Kempf [Fri, 15 Aug 2014 07:26:25 +0000 (09:26 +0200)]
Qt: fix the postprocessing menu

Close #11613

7 years agoQt: create a AM::PPAction
Jean-Baptiste Kempf [Fri, 15 Aug 2014 07:25:22 +0000 (09:25 +0200)]
Qt: create a AM::PPAction

Ref #11613

7 years agoQt: PostProc getter helper
Jean-Baptiste Kempf [Fri, 15 Aug 2014 06:05:42 +0000 (08:05 +0200)]
Qt: PostProc getter helper

Ref #11613

7 years agoQt: PostProc setter helper
Jean-Baptiste Kempf [Fri, 15 Aug 2014 05:53:57 +0000 (07:53 +0200)]
Qt: PostProc setter helper

Ref #11613

7 years agoQt: helpers for setting video filter values
Jean-Baptiste Kempf [Fri, 15 Aug 2014 05:18:27 +0000 (07:18 +0200)]
Qt: helpers for setting video filter values

This is mostly splitting Qt and core code

Ref #11613

7 years agoQt: video filter helper for getting the filter type
Jean-Baptiste Kempf [Fri, 15 Aug 2014 05:53:47 +0000 (07:53 +0200)]
Qt: video filter helper for getting the filter type

Ref #11613

7 years agoWin32: rename crashdump to get only 1 bug report
Hannes Domani [Wed, 13 Aug 2014 18:09:20 +0000 (20:09 +0200)]
Win32: rename crashdump to get only 1 bug report

Close #8168

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years agoFix compilation when libARIB is missing
Jean-Baptiste Kempf [Fri, 15 Aug 2014 03:53:50 +0000 (05:53 +0200)]
Fix compilation when libARIB is missing

7 years agoQt: don't use a modal dialog for continuing the playback
Jean-Baptiste Kempf [Fri, 15 Aug 2014 03:44:30 +0000 (05:44 +0200)]
Qt: don't use a modal dialog for continuing the playback

Close #11705 #11703

7 years agocontribs: add libaribb24
Naohiro KORIYAMA [Sun, 10 Aug 2014 08:30:43 +0000 (17:30 +0900)]
contribs: add libaribb24

7 years agocodecs: add support for ARIB subtitles
Naohiro KORIYAMA [Sat, 23 Jun 2012 16:32:18 +0000 (01:32 +0900)]
codecs: add support for ARIB subtitles

Fixed-by: Francois Cartegnie <fcvlcdev@free.fr>
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
7 years agotext_renderer: use fontname in text_style_t
Naohiro KORIYAMA [Tue, 3 Jul 2012 09:00:11 +0000 (18:00 +0900)]
text_renderer: use fontname in text_style_t

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
7 years agofreetype: support kerning
Naohiro KORIYAMA [Sat, 23 Jun 2012 17:56:58 +0000 (02:56 +0900)]
freetype: support kerning

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
7 years agoquartztext: support kerning and some text attributes
Naohiro KORIYAMA [Sat, 23 Jun 2012 17:55:15 +0000 (02:55 +0900)]
quartztext: support kerning and some text attributes

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
7 years agodemux: avi: remove packed attribute from vids (fix #11965)
Francois Cartegnie [Thu, 14 Aug 2014 08:37:19 +0000 (17:37 +0900)]
demux: avi: remove packed attribute from vids (fix #11965)

7 years agodemux: mp4: point to atom's position of base offset is moov (fix #11746)
Francois Cartegnie [Thu, 14 Aug 2014 08:38:45 +0000 (17:38 +0900)]
demux: mp4: point to atom's position of base offset is moov (fix #11746)

Not so common flags, lack of samples.
Unsure if it doesn't break something else.

7 years agoMediacodec: support WMV3 decoder
Jean-Baptiste Kempf [Wed, 13 Aug 2014 22:14:27 +0000 (00:14 +0200)]
Mediacodec: support WMV3 decoder

7 years agoMediacodec: support VP9
Jean-Baptiste Kempf [Wed, 13 Aug 2014 21:55:43 +0000 (23:55 +0200)]
Mediacodec: support VP9

7 years agoContribs: update live555
Jean-Baptiste Kempf [Wed, 13 Aug 2014 21:14:14 +0000 (23:14 +0200)]
Contribs: update live555

7 years agoLinsys SDI: use single precision
Rémi Denis-Courmont [Wed, 13 Aug 2014 20:22:12 +0000 (23:22 +0300)]
Linsys SDI: use single precision

7 years agompeg: avoid double upconversion
Rémi Denis-Courmont [Wed, 13 Aug 2014 20:20:00 +0000 (23:20 +0300)]
mpeg: avoid double upconversion

7 years agovc1: stick to single precision
Rémi Denis-Courmont [Wed, 13 Aug 2014 20:16:05 +0000 (23:16 +0300)]
vc1: stick to single precision

(Note that CLOCK_FREQ has less than 24 significant bits)

7 years agosharpen: use single precision
Rémi Denis-Courmont [Wed, 13 Aug 2014 20:14:11 +0000 (23:14 +0300)]
sharpen: use single precision

7 years agoaudiobargraph: missing 'f'
Rémi Denis-Courmont [Wed, 13 Aug 2014 20:13:57 +0000 (23:13 +0300)]
audiobargraph: missing 'f'

7 years agoparam_eq: single precision math
Rémi Denis-Courmont [Wed, 13 Aug 2014 20:10:36 +0000 (23:10 +0300)]
param_eq: single precision math

7 years agochorus_fangler: avoid double upconversion
Rémi Denis-Courmont [Wed, 13 Aug 2014 20:06:46 +0000 (23:06 +0300)]
chorus_fangler: avoid double upconversion

7 years agochorus_fangler: incomplete prototype
Rémi Denis-Courmont [Wed, 13 Aug 2014 20:06:33 +0000 (23:06 +0300)]
chorus_fangler: incomplete prototype

7 years agocompressor: really use single precision
Rémi Denis-Courmont [Wed, 13 Aug 2014 20:03:06 +0000 (23:03 +0300)]
compressor: really use single precision

7 years agotranscode: avoid conversion to double
Rémi Denis-Courmont [Wed, 13 Aug 2014 20:00:33 +0000 (23:00 +0300)]
transcode: avoid conversion to double

7 years agoglspectrum: use single precision
Rémi Denis-Courmont [Wed, 13 Aug 2014 19:55:40 +0000 (22:55 +0300)]
glspectrum: use single precision

7 years agohotkeys: stick to single precision
Rémi Denis-Courmont [Wed, 13 Aug 2014 19:47:36 +0000 (22:47 +0300)]
hotkeys: stick to single precision

7 years agofreetype: stick to single precision
Rémi Denis-Courmont [Wed, 13 Aug 2014 19:45:07 +0000 (22:45 +0300)]
freetype: stick to single precision

7 years agoavcodec: avoid double upconversion
Rémi Denis-Courmont [Wed, 13 Aug 2014 19:38:17 +0000 (22:38 +0300)]
avcodec: avoid double upconversion

7 years agotwolame: avoid double upconversion
Rémi Denis-Courmont [Wed, 13 Aug 2014 19:35:17 +0000 (22:35 +0300)]
twolame: avoid double upconversion

7 years agotheora: avoid simple->double->simple precision
Rémi Denis-Courmont [Wed, 13 Aug 2014 19:34:29 +0000 (22:34 +0300)]
theora: avoid simple->double->simple precision

7 years agosubtitle demux: avoid upconversion to double precision
Rémi Denis-Courmont [Wed, 13 Aug 2014 19:30:55 +0000 (22:30 +0300)]
subtitle demux: avoid upconversion to double precision

7 years agoopengl: stick to single precision
Rémi Denis-Courmont [Wed, 13 Aug 2014 18:21:29 +0000 (21:21 +0300)]
opengl: stick to single precision

7 years agorotate: stick to single precision arithmetic
Rémi Denis-Courmont [Wed, 13 Aug 2014 18:20:10 +0000 (21:20 +0300)]
rotate: stick to single precision arithmetic

7 years agoaudio_format: stick to single precision arithmethic (except for FL64)
Rémi Denis-Courmont [Wed, 13 Aug 2014 18:16:55 +0000 (21:16 +0300)]
audio_format: stick to single precision arithmethic (except for FL64)

7 years agoshm: avoid implicit upconversion to double
Rémi Denis-Courmont [Wed, 13 Aug 2014 18:13:27 +0000 (21:13 +0300)]
shm: avoid implicit upconversion to double

7 years agovariables: avoid implicit upconversion to double
Rémi Denis-Courmont [Wed, 13 Aug 2014 18:11:46 +0000 (21:11 +0300)]
variables: avoid implicit upconversion to double

7 years agoinput var: avoid implicit double upconversion
Rémi Denis-Courmont [Wed, 13 Aug 2014 18:09:29 +0000 (21:09 +0300)]
input var: avoid implicit double upconversion

7 years agoinput: avoid implicit upconversion to double
Rémi Denis-Courmont [Wed, 13 Aug 2014 18:03:29 +0000 (21:03 +0300)]
input: avoid implicit upconversion to double

7 years agoinput: fix floating point comparison
Rémi Denis-Courmont [Wed, 13 Aug 2014 18:02:24 +0000 (21:02 +0300)]
input: fix floating point comparison

The value is later used as single precision, so the comparison has to
have single precision too.

7 years agoinput: avoid implicit double upconversion
Rémi Denis-Courmont [Wed, 13 Aug 2014 18:01:53 +0000 (21:01 +0300)]
input: avoid implicit double upconversion

7 years agoplaylist: avoid implicit double upconversion
Rémi Denis-Courmont [Wed, 13 Aug 2014 17:32:17 +0000 (20:32 +0300)]
playlist: avoid implicit double upconversion

7 years agoaout: avoid implicit double upconversion
Rémi Denis-Courmont [Wed, 13 Aug 2014 17:31:46 +0000 (20:31 +0300)]
aout: avoid implicit double upconversion

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)