vlc.git
7 years agoXCB/XVideo: fix flawed logic for adaptor selection
Rémi Denis-Courmont [Fri, 14 Dec 2012 19:30:41 +0000 (21:30 +0200)]
XCB/XVideo: fix flawed logic for adaptor selection

7 years agoReplace block_New() with block_Alloc()
Rémi Denis-Courmont [Thu, 13 Dec 2012 20:59:06 +0000 (22:59 +0200)]
Replace block_New() with block_Alloc()

7 years agoaraw: remove G.711 and fix leak of p_enc->p_sys
Rémi Denis-Courmont [Thu, 13 Dec 2012 17:54:17 +0000 (19:54 +0200)]
araw: remove G.711 and fix leak of p_enc->p_sys

7 years agog711: separate codec from araw
Rémi Denis-Courmont [Thu, 13 Dec 2012 17:53:32 +0000 (19:53 +0200)]
g711: separate codec from araw

7 years agoRewrite atomic float helpers, fix 64-bits big endian support
Rémi Denis-Courmont [Thu, 13 Dec 2012 16:53:52 +0000 (18:53 +0200)]
Rewrite atomic float helpers, fix 64-bits big endian support

7 years agoaout: convert to standard atomic ops
Rémi Denis-Courmont [Thu, 13 Dec 2012 16:47:58 +0000 (18:47 +0200)]
aout: convert to standard atomic ops

7 years agodecklink: closed captions support
Rafaël Carré [Wed, 12 Dec 2012 20:23:41 +0000 (21:23 +0100)]
decklink: closed captions support

This work has been sponsored by Sergio Ammirata.

7 years agodecklink: add v210 capabilities (--decklink-tenbits)
Rafaël Carré [Wed, 12 Dec 2012 17:17:25 +0000 (18:17 +0100)]
decklink: add v210 capabilities (--decklink-tenbits)

This is off by default due to being more CPU/memory intensive.
Closed Captions can only be read in 10 bits mode.

7 years agorawvideo: I422_10L/B support
Rafaël Carré [Wed, 12 Dec 2012 18:09:21 +0000 (19:09 +0100)]
rawvideo: I422_10L/B support

7 years agodecklink: simplify Open
Rafaël Carré [Tue, 11 Dec 2012 23:20:50 +0000 (00:20 +0100)]
decklink: simplify Open

7 years agodecklink: cosmetics (1tbs)
Rafaël Carré [Tue, 11 Dec 2012 15:50:52 +0000 (16:50 +0100)]
decklink: cosmetics (1tbs)

7 years agodecklink: Remove unused result variable
Rafaël Carré [Tue, 11 Dec 2012 15:48:19 +0000 (16:48 +0100)]
decklink: Remove unused result variable

7 years agodecklink: split audio/video connection setup code from Open
Rafaël Carré [Tue, 11 Dec 2012 15:43:25 +0000 (16:43 +0100)]
decklink: split audio/video connection setup code from Open

7 years agodecklink: simplify callback
Rafaël Carré [Tue, 11 Dec 2012 15:18:29 +0000 (16:18 +0100)]
decklink: simplify callback

7 years agodecklink: fix warnings
Rafaël Carré [Tue, 11 Dec 2012 15:14:30 +0000 (16:14 +0100)]
decklink: fix warnings

7 years agodecklink access: cosmetics
Rafaël Carré [Tue, 11 Dec 2012 15:13:03 +0000 (16:13 +0100)]
decklink access: cosmetics

7 years agoTaglib: better fix for year and track deletion
Jean-Baptiste Kempf [Thu, 13 Dec 2012 12:56:36 +0000 (13:56 +0100)]
Taglib: better fix for year and track deletion

Ref #5686

7 years agoCall SET_NEXT_DISPLAY_TIME after SET_PCR to avoid its flush at segment change.
Denis Charmet [Wed, 12 Dec 2012 22:24:11 +0000 (23:24 +0100)]
Call SET_NEXT_DISPLAY_TIME after SET_PCR to avoid its flush at segment change.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years agoTaglib: allow deletion of track and date
Jean-Baptiste Kempf [Wed, 12 Dec 2012 21:49:03 +0000 (22:49 +0100)]
Taglib: allow deletion of track and date

Close #5686

7 years agoQt: fix equalizer initialization
Jean-Baptiste Kempf [Wed, 12 Dec 2012 21:43:21 +0000 (22:43 +0100)]
Qt: fix equalizer initialization

Close #5956

7 years agoFixed scte27.c win32 compilation.
Laurent Aimar [Wed, 12 Dec 2012 21:00:44 +0000 (22:00 +0100)]
Fixed scte27.c win32 compilation.

7 years agoNEWS: mention support for SCTE-27 subtitles.
Laurent Aimar [Fri, 7 Dec 2012 19:40:07 +0000 (20:40 +0100)]
NEWS: mention support for SCTE-27 subtitles.

7 years agoAdded support for SCTE-27 in TS demuxer.
Laurent Aimar [Thu, 6 Dec 2012 21:36:52 +0000 (22:36 +0100)]
Added support for SCTE-27 in TS demuxer.

7 years agoAdded SCTE-27 decoder.
Laurent Aimar [Thu, 6 Dec 2012 21:28:20 +0000 (22:28 +0100)]
Added SCTE-27 decoder.

7 years agoAdded SCTE-27 codec definition.
Laurent Aimar [Mon, 3 Dec 2012 22:34:55 +0000 (23:34 +0100)]
Added SCTE-27 codec definition.

7 years agoRemoved write only ts_es_t::b_gather
Laurent Aimar [Sat, 1 Dec 2012 14:48:08 +0000 (15:48 +0100)]
Removed write only ts_es_t::b_gather

7 years agoRename ts_es_t::*pes* into ts_es_t::*data*
Laurent Aimar [Sat, 1 Dec 2012 14:45:57 +0000 (15:45 +0100)]
Rename ts_es_t::*pes* into ts_es_t::*data*

No functionnal changes.

7 years agopicture: merge p_data_orig into gc.p_sys
Rémi Denis-Courmont [Wed, 12 Dec 2012 20:14:23 +0000 (22:14 +0200)]
picture: merge p_data_orig into gc.p_sys

7 years agomacosx: fix crash when playing media in lion fullscreen mode
David Fuhrmann [Wed, 12 Dec 2012 17:47:54 +0000 (18:47 +0100)]
macosx: fix crash when playing media in lion fullscreen mode

7 years agov4l2: gather most VBI code and all zvbi deps to vbi.c
Rémi Denis-Courmont [Wed, 12 Dec 2012 17:15:55 +0000 (19:15 +0200)]
v4l2: gather most VBI code and all zvbi deps to vbi.c

Also, fix a small leak in vlc_clone() error path.

7 years agov4l2: missing cancellation inhibition
Rémi Denis-Courmont [Wed, 12 Dec 2012 16:47:38 +0000 (18:47 +0200)]
v4l2: missing cancellation inhibition

7 years agoAVI: a debug message when refusing to open the subtitle
Jean-Baptiste Kempf [Tue, 11 Dec 2012 23:48:01 +0000 (00:48 +0100)]
AVI: a debug message when refusing to open the subtitle

Ref #7853

7 years agoAVI: increase threshold for subtitles detection to 10MB
Jean-Baptiste Kempf [Tue, 11 Dec 2012 18:54:17 +0000 (19:54 +0100)]
AVI: increase threshold for subtitles detection to 10MB

Close #7853

7 years agoMKV: Set default value for audio tracks when parsing one
Denis Charmet [Mon, 10 Dec 2012 21:32:01 +0000 (22:32 +0100)]
MKV: Set default value for audio tracks when parsing one

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years agoAdd some NEWS
Jean-Baptiste Kempf [Mon, 10 Dec 2012 16:26:01 +0000 (17:26 +0100)]
Add some NEWS

7 years agov4l2: fix compilation if zvbi is not present
Jean-Baptiste Kempf [Mon, 10 Dec 2012 16:18:55 +0000 (17:18 +0100)]
v4l2: fix compilation if zvbi is not present

7 years agoAdd NTSC EIA-608 caption rendering support via V4L2 VBI devices
Devin Heitmueller [Mon, 10 Dec 2012 16:02:07 +0000 (11:02 -0500)]
Add NTSC EIA-608 caption rendering support via V4L2 VBI devices

This patch introduces support for using V4L2 VBI devices for
reading NTSC EIA-608 closed captions.

This patch includes feedback from the vlc-devel mailing list from
the Oct 21, 2012, Oct 28, 2012, and Nov 18, 2012 submission attempts.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
7 years agolua: add Liveleak playlist parser
Ludovic Fauvet [Fri, 7 Dec 2012 18:25:46 +0000 (19:25 +0100)]
lua: add Liveleak playlist parser

Signed-off-by: Konstantin Pavlov <thresh@videolan.org>
7 years agoVLC: make sure the playlist exists before starting any interface
Rémi Denis-Courmont [Sun, 9 Dec 2012 20:26:22 +0000 (22:26 +0200)]
VLC: make sure the playlist exists before starting any interface

This avoids creating the playlist from the UI mainloop, which is not
typically a good idea.

7 years agopl_Get(): remove VLC_USED qualifier
Rémi Denis-Courmont [Sun, 9 Dec 2012 20:25:22 +0000 (22:25 +0200)]
pl_Get(): remove VLC_USED qualifier

pl_Get() does not create a reference to the playlist, so nothing is
leaked if the result is ignored. Calling pl_Get() ensures that the
playlist has been created.

7 years agoplaylist: create playlist aout early on (fixes #7810)
Rémi Denis-Courmont [Sun, 9 Dec 2012 20:21:17 +0000 (22:21 +0200)]
playlist: create playlist aout early on (fixes #7810)

7 years agoALSA: remove a few useless variables
Rémi Denis-Courmont [Sun, 9 Dec 2012 16:05:43 +0000 (18:05 +0200)]
ALSA: remove a few useless variables

Overwriting *fmt is safe nowadays.

7 years agoALSA: use channels map functions (fixes #7796)
Rémi Denis-Courmont [Sun, 9 Dec 2012 15:53:21 +0000 (17:53 +0200)]
ALSA: use channels map functions (fixes #7796)

7 years agodbus_screensaver: fix NULL deref if probing fails (fixes #7871)
Rémi Denis-Courmont [Sun, 9 Dec 2012 12:00:34 +0000 (14:00 +0200)]
dbus_screensaver: fix NULL deref if probing fails (fixes #7871)

7 years agoPulseAudio: use same period size as ALSA (fixes #7827)
Rémi Denis-Courmont [Sun, 9 Dec 2012 11:58:39 +0000 (13:58 +0200)]
PulseAudio: use same period size as ALSA (fixes #7827)

7 years agoQt: sprefs, small fix on audio panel
Jean-Baptiste Kempf [Sun, 9 Dec 2012 11:44:04 +0000 (12:44 +0100)]
Qt: sprefs, small fix on audio panel

7 years agoHandle ordered editions with broken links or empty
Denis Charmet [Sat, 8 Dec 2012 00:18:34 +0000 (01:18 +0100)]
Handle ordered editions with broken links or empty

Fix #7859

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years agoQt: allow a maximum volume on the sound slider
Jean-Baptiste Kempf [Fri, 7 Dec 2012 20:11:27 +0000 (21:11 +0100)]
Qt: allow a maximum volume on the sound slider

Too many users are bitching about this

Close #6105

7 years agoLibVLC: try to clarify libvlc_media_add_option() limitations
Rémi Denis-Courmont [Sun, 9 Dec 2012 10:00:04 +0000 (12:00 +0200)]
LibVLC: try to clarify libvlc_media_add_option() limitations

7 years agoRevert "input: create an aout if UI wants to configure audio"
Rémi Denis-Courmont [Sat, 8 Dec 2012 21:58:38 +0000 (23:58 +0200)]
Revert "input: create an aout if UI wants to configure audio"

Due to mismatched "resource" and "hold" locks, this introduced a race
where more than one audio output gets created.

This reverts commit 4e57bd052e25c0538a6b1d7e83b8370910ef71dd.

7 years agowaveout: use software amplification
Rémi Denis-Courmont [Sat, 8 Dec 2012 18:13:12 +0000 (20:13 +0200)]
waveout: use software amplification

This should make volume work.
Patch welcome to make hardware volume work instead where available.

7 years agoamem: call cleanup() if setup() succeeded but format is unsupported
Rémi Denis-Courmont [Sat, 8 Dec 2012 07:55:52 +0000 (09:55 +0200)]
amem: call cleanup() if setup() succeeded but format is unsupported

7 years agoamem: defer set_volume() before setup()
Rémi Denis-Courmont [Sat, 8 Dec 2012 07:48:11 +0000 (09:48 +0200)]
amem: defer set_volume() before setup()

Before setup(), opaque is not defined.

7 years agoamem: correct opaque pointer for consecutive setup() calls
Rémi Denis-Courmont [Sat, 8 Dec 2012 07:39:46 +0000 (09:39 +0200)]
amem: correct opaque pointer for consecutive setup() calls

7 years agodecklink: fix detection
Rafaël Carré [Sat, 8 Dec 2012 02:24:49 +0000 (03:24 +0100)]
decklink: fix detection

7 years agodbus_screensaver: update LIST
Rémi Denis-Courmont [Fri, 7 Dec 2012 21:48:03 +0000 (23:48 +0200)]
dbus_screensaver: update LIST

7 years agoxscreensaver: remove unused plugin
Rémi Denis-Courmont [Fri, 7 Dec 2012 21:47:20 +0000 (23:47 +0200)]
xscreensaver: remove unused plugin

xdg-screensaver has higher priority, so xscreensaver was never used.

7 years agodbus_screensaver: correct service name for o.fd.PowerManagement.Inhibit
Rémi Denis-Courmont [Fri, 7 Dec 2012 20:25:47 +0000 (22:25 +0200)]
dbus_screensaver: correct service name for o.fd.PowerManagement.Inhibit

7 years agodbus_screensaver: add o.fd.ScreenSaver support (fixes #7824)
Rémi Denis-Courmont [Fri, 7 Dec 2012 20:23:27 +0000 (22:23 +0200)]
dbus_screensaver: add o.fd.ScreenSaver support (fixes #7824)

7 years agodbus_screensaver: remove bogus error
Rémi Denis-Courmont [Fri, 7 Dec 2012 20:22:26 +0000 (22:22 +0200)]
dbus_screensaver: remove bogus error

When the service is absent, the error message is NULL anyhow.

7 years agodbus_screensaver: rename from power
Rémi Denis-Courmont [Fri, 7 Dec 2012 20:15:44 +0000 (22:15 +0200)]
dbus_screensaver: rename from power

7 years agoXCB/XVideo: fix memory leak
Rémi Denis-Courmont [Fri, 7 Dec 2012 20:11:53 +0000 (22:11 +0200)]
XCB/XVideo: fix memory leak

7 years agopower: use non-blocking DBusPendingCall instead of short timeout
Rémi Denis-Courmont [Fri, 7 Dec 2012 20:11:27 +0000 (22:11 +0200)]
power: use non-blocking DBusPendingCall instead of short timeout

7 years agopower: probe D-Bus services and return error if none are found
Rémi Denis-Courmont [Fri, 7 Dec 2012 18:42:18 +0000 (20:42 +0200)]
power: probe D-Bus services and return error if none are found

7 years agopower: really localize reason
Rémi Denis-Courmont [Fri, 7 Dec 2012 18:26:16 +0000 (20:26 +0200)]
power: really localize reason

7 years agopower: cosmetic revector
Rémi Denis-Courmont [Fri, 7 Dec 2012 18:25:56 +0000 (20:25 +0200)]
power: cosmetic revector

7 years agodecklink: update build rules
Rafaël Carré [Fri, 7 Dec 2012 16:02:13 +0000 (17:02 +0100)]
decklink: update build rules

Move logic to Modules.am
Use CXXFLAGS

7 years agommdevice: initialize mute & volume (fixes #7203)
Rémi Denis-Courmont [Fri, 7 Dec 2012 16:24:41 +0000 (18:24 +0200)]
mmdevice: initialize mute & volume (fixes #7203)

7 years agommdevice: keep ISimpleAudioVolume interface
Rémi Denis-Courmont [Fri, 7 Dec 2012 16:17:24 +0000 (18:17 +0200)]
mmdevice: keep ISimpleAudioVolume interface

7 years agoQt: better unsetting of keys in preferences
Jean-Baptiste Kempf [Thu, 6 Dec 2012 23:01:35 +0000 (00:01 +0100)]
Qt: better unsetting of keys in preferences

Close #6640

7 years agoQt: increase the size for the license and network dialog
Jean-Baptiste Kempf [Thu, 6 Dec 2012 22:44:59 +0000 (23:44 +0100)]
Qt: increase the size for the license and network dialog

Close #6556

7 years agoPulseAudio: force minreq to less than half tlength (refs #7827)
Rémi Denis-Courmont [Thu, 6 Dec 2012 21:31:54 +0000 (23:31 +0200)]
PulseAudio: force minreq to less than half tlength (refs #7827)

This should work-around distorsion due to excessively short latency
computation in PulseAudio, e.g. NVIDIA HDMI Audio.

In the longer term, VLC should probably set minreq to 40ms and tlength
to a larger value or even -1. But that would require more testing.

7 years agoQt: fix toolbar customization when doing back and forth
Jean-Baptiste Kempf [Thu, 6 Dec 2012 17:32:42 +0000 (18:32 +0100)]
Qt: fix toolbar customization when doing back and forth

Close #7543

7 years agoOgg: parse and create Vorbis Comment Chapter Extension seekpoints
Jean-Baptiste Kempf [Thu, 6 Dec 2012 11:22:05 +0000 (12:22 +0100)]
Ogg: parse and create Vorbis Comment Chapter Extension seekpoints

This does not actually seek to the right position yet
Ref #6895

7 years agowasapi: remove direct dependency on desktop-only IMMDevice
Rémi Denis-Courmont [Thu, 6 Dec 2012 11:08:52 +0000 (13:08 +0200)]
wasapi: remove direct dependency on desktop-only IMMDevice

7 years agommdevice: improve handling of session disconnect event
Rémi Denis-Courmont [Thu, 6 Dec 2012 10:46:42 +0000 (12:46 +0200)]
mmdevice: improve handling of session disconnect event

It could still be better. If the disconnection is unrecoverable,
I suspect a flood of identical errors will be emitted continuously
as the core keeps pushing audio buffers.

7 years agoAllow the demux to update its title list
Denis Charmet [Wed, 5 Dec 2012 22:07:18 +0000 (23:07 +0100)]
Allow the demux to update its title list

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years agommdevice: deal with invalidated device in Start()
Rémi Denis-Courmont [Thu, 6 Dec 2012 09:16:14 +0000 (11:16 +0200)]
mmdevice: deal with invalidated device in Start()

7 years agowasapi: remove redundant code
Rémi Denis-Courmont [Thu, 6 Dec 2012 08:56:36 +0000 (10:56 +0200)]
wasapi: remove redundant code

The MTA is fully taken care of by mmdevice.c.

7 years agommdevice: simplify thread synchronization
Rémi Denis-Courmont [Thu, 6 Dec 2012 08:49:54 +0000 (10:49 +0200)]
mmdevice: simplify thread synchronization

7 years agowasapi: cosmetic, rename api to stream
Rémi Denis-Courmont [Thu, 6 Dec 2012 08:37:44 +0000 (10:37 +0200)]
wasapi: cosmetic, rename api to stream

7 years agomacosx: fix crash when re-ordering playlist items
Felix Paul Kühne [Thu, 6 Dec 2012 06:05:57 +0000 (17:05 +1100)]
macosx: fix crash when re-ordering playlist items

7 years agomacosx: added missing outlet connection to 'Remove Podcast' btn
Felix Paul Kühne [Thu, 6 Dec 2012 05:42:45 +0000 (16:42 +1100)]
macosx: added missing outlet connection to 'Remove Podcast' btn

7 years agomacosx: fixed race condition crash when closing the vout
Felix Paul Kühne [Wed, 5 Dec 2012 23:26:30 +0000 (10:26 +1100)]
macosx: fixed race condition crash when closing the vout

vout_display_opengl_Delete will call OpenglLock, so it is a bad idea to previously release sys->glView

7 years agoFix support of .00x splitted files on Win32
Jean-Baptiste Kempf [Wed, 5 Dec 2012 22:35:05 +0000 (23:35 +0100)]
Fix support of .00x splitted files on Win32

Close #7292

7 years agoinput: export get_path from access.c
Jean-Baptiste Kempf [Wed, 5 Dec 2012 22:14:55 +0000 (23:14 +0100)]
input: export get_path from access.c

7 years agommdevice: emulate drain
Rémi Denis-Courmont [Wed, 5 Dec 2012 21:46:09 +0000 (23:46 +0200)]
mmdevice: emulate drain

7 years agommdevice: attempt to fix COM (again) and reentrancy
Rémi Denis-Courmont [Wed, 5 Dec 2012 21:22:54 +0000 (23:22 +0200)]
mmdevice: attempt to fix COM (again) and reentrancy

MSDN mostly fails to explain COM requirements and totally fails to
explain thread-safety requirements. This patch takes the most
pessimistic approach.

7 years agoMP4: enable debug with debug builds
Jean-Baptiste Kempf [Wed, 5 Dec 2012 12:53:10 +0000 (13:53 +0100)]
MP4: enable debug with debug builds

7 years agoWin32: better uploading messages for crashes
Jean-Baptiste Kempf [Tue, 4 Dec 2012 23:49:46 +0000 (00:49 +0100)]
Win32: better uploading messages for crashes

7 years agoaudiotrack: enable volume support
Edward Wang [Fri, 23 Nov 2012 04:37:55 +0000 (23:37 -0500)]
audiotrack: enable volume support

Signed-off-by: Rafaël Carré <funman@videolan.org>
7 years agoRationalize error code values
Rémi Denis-Courmont [Tue, 4 Dec 2012 21:17:48 +0000 (23:17 +0200)]
Rationalize error code values

VLC_GENERIC was particularly bad for RISC processors.

7 years agommdevice: simplify session management and prepare to change device
Rémi Denis-Courmont [Tue, 4 Dec 2012 20:54:09 +0000 (22:54 +0200)]
mmdevice: simplify session management and prepare to change device

Actual support for changing device requires (yet another) addition to
the audio_output_t callbacks set, I think.

7 years agommdevice: simplify volume & mute handling
Rémi Denis-Courmont [Tue, 4 Dec 2012 20:09:52 +0000 (22:09 +0200)]
mmdevice: simplify volume & mute handling

Apparently, there is no need for COM to do that.

7 years agowasapi: fixes and simplifications
Rémi Denis-Courmont [Tue, 4 Dec 2012 20:04:22 +0000 (22:04 +0200)]
wasapi: fixes and simplifications

7 years agoShout: remove tabs in sourcecode
Jean-Baptiste Kempf [Tue, 4 Dec 2012 18:08:47 +0000 (19:08 +0100)]
Shout: remove tabs in sourcecode

7 years agoendian: fix typo
Rémi Denis-Courmont [Tue, 4 Dec 2012 16:41:05 +0000 (18:41 +0200)]
endian: fix typo

7 years agoContribs: update sha512 for regex
Jean-Baptiste Kempf [Tue, 4 Dec 2012 15:38:46 +0000 (16:38 +0100)]
Contribs: update sha512 for regex

7 years agoRevert "Correctly detect alac in mp4 properties"
Jean-Baptiste Kempf [Tue, 4 Dec 2012 15:16:22 +0000 (16:16 +0100)]
Revert "Correctly detect alac in mp4 properties"

This reverts commit 7f807d9bb7cb08f1401d5cbec472338ed1d38157.

7 years agoskins2: adapt to latest change in playlist (activity variable)
Erwan Tulou [Tue, 4 Dec 2012 14:59:41 +0000 (15:59 +0100)]
skins2: adapt to latest change in playlist (activity variable)

It fixes skins2 crashing when an input is started.