]> git.sesse.net Git - vlc/log
vlc
11 years agoopensles: implement mute/volume set
Rafaël Carré [Sun, 16 Dec 2012 16:23:15 +0000 (17:23 +0100)]
opensles: implement mute/volume set

link with libm, and also with libdl which is needed

11 years agoauhal: implement Pause for the 2.1 aout API
Felix Paul Kühne [Sun, 16 Dec 2012 14:08:09 +0000 (15:08 +0100)]
auhal: implement Pause for the 2.1 aout API

11 years agoauhal: switch analog playback to the 2.1 API
Felix Paul Kühne [Sun, 16 Dec 2012 13:38:46 +0000 (14:38 +0100)]
auhal: switch analog playback to the 2.1 API

This makes use of a 3rd party circular buffer licensed under MIT.

TODO: Pause, TimeGet, Flush

11 years agoaout: use aout_RequestRestart() where applicable
Rémi Denis-Courmont [Sun, 16 Dec 2012 14:49:57 +0000 (16:49 +0200)]
aout: use aout_RequestRestart() where applicable

11 years agoaout: do not unset stereo-mode when changing device
Rémi Denis-Courmont [Sun, 16 Dec 2012 14:35:22 +0000 (16:35 +0200)]
aout: do not unset stereo-mode when changing device

11 years agoaout: add event to request pipeline reinitialization
Rémi Denis-Courmont [Sun, 16 Dec 2012 14:34:49 +0000 (16:34 +0200)]
aout: add event to request pipeline reinitialization

11 years agoContrib: use pic for postproc to mimick FFmpeg rules
Jean-Baptiste Kempf [Sun, 16 Dec 2012 12:50:19 +0000 (13:50 +0100)]
Contrib: use pic for postproc to mimick FFmpeg rules

11 years agoopensles: more precise TimeGet
Rafaël Carré [Sun, 16 Dec 2012 09:31:05 +0000 (10:31 +0100)]
opensles: more precise TimeGet

Take in account the time elapsed since the last callback

11 years agoopensles: keep track of the number of buffers we use
Rafaël Carré [Sun, 16 Dec 2012 09:27:13 +0000 (10:27 +0100)]
opensles: keep track of the number of buffers we use

11 years agoopensles: set period size
Rafaël Carré [Sun, 16 Dec 2012 09:21:46 +0000 (10:21 +0100)]
opensles: set period size

11 years agoopensles: remove obsolete code
Rafaël Carré [Sun, 16 Dec 2012 09:19:49 +0000 (10:19 +0100)]
opensles: remove obsolete code

11 years agoopensles: TimeGet returns -1 when we have no data on latency
Rafaël Carré [Sun, 16 Dec 2012 09:19:02 +0000 (10:19 +0100)]
opensles: TimeGet returns -1 when we have no data on latency

11 years agoAudioQueue: implement volume support just because we can
Felix Paul Kühne [Sun, 16 Dec 2012 10:04:46 +0000 (11:04 +0100)]
AudioQueue: implement volume support just because we can

11 years agoAudioQueue: fix 'Flush' implementation
Felix Paul Kühne [Sun, 16 Dec 2012 09:55:50 +0000 (10:55 +0100)]
AudioQueue: fix 'Flush' implementation

11 years agoaout: external functions for devices selection
Rémi Denis-Courmont [Sun, 16 Dec 2012 09:46:18 +0000 (11:46 +0200)]
aout: external functions for devices selection

11 years agoAudioQueue: attempt to fix #7659
Felix Paul Kühne [Sun, 16 Dec 2012 01:31:56 +0000 (02:31 +0100)]
AudioQueue: attempt to fix #7659

Needs testing on device

11 years agoAudioQueue: cleanup
Felix Paul Kühne [Sun, 16 Dec 2012 01:18:20 +0000 (02:18 +0100)]
AudioQueue: cleanup

11 years agoAudioQueue: re-written to make use of the 2.1 aout API
Felix Paul Kühne [Sun, 16 Dec 2012 01:11:28 +0000 (02:11 +0100)]
AudioQueue: re-written to make use of the 2.1 aout API

TimeGet is left as an exercise for tomorrow

11 years agoauhal: remove weird code duplication
Felix Paul Kühne [Sat, 15 Dec 2012 18:35:04 +0000 (19:35 +0100)]
auhal: remove weird code duplication

11 years agoopensles: increase number of buffers to the maximum
Rafaël Carré [Sat, 15 Dec 2012 18:22:49 +0000 (19:22 +0100)]
opensles: increase number of buffers to the maximum

11 years agoQt: align correctly audio devices in SPrefs
Jean-Baptiste Kempf [Sat, 15 Dec 2012 17:59:18 +0000 (18:59 +0100)]
Qt: align correctly audio devices in SPrefs

11 years agoQt: remove Sprefs hack that has lived and been abused for too long...
Jean-Baptiste Kempf [Sat, 15 Dec 2012 17:45:53 +0000 (18:45 +0100)]
Qt: remove Sprefs hack that has lived and been abused for too long...

11 years agoauhal: cleanup
Felix Paul Kühne [Sat, 15 Dec 2012 17:09:41 +0000 (18:09 +0100)]
auhal: cleanup

11 years agoaout: fix missing S/PDIF encapsulation
Rémi Denis-Courmont [Sat, 15 Dec 2012 17:03:23 +0000 (19:03 +0200)]
aout: fix missing S/PDIF encapsulation

11 years agommdevice: implement devices selection (fix #7855)
Rémi Denis-Courmont [Sat, 15 Dec 2012 15:56:30 +0000 (17:56 +0200)]
mmdevice: implement devices selection (fix #7855)

11 years agoopensles: avoid infinite loop in linked list
Rafaël Carré [Sat, 15 Dec 2012 15:56:15 +0000 (16:56 +0100)]
opensles: avoid infinite loop in linked list

this can happen when moving buffers between our 2 linked lists

11 years agoUpdate NEWS for audio outputs
Jean-Baptiste Kempf [Sat, 15 Dec 2012 15:54:51 +0000 (16:54 +0100)]
Update NEWS for audio outputs

11 years agoauhal: implement channel re-ordering for 6.1 and 7.1 setups (close #7783)
Felix Paul Kühne [Sat, 15 Dec 2012 15:46:19 +0000 (16:46 +0100)]
auhal: implement channel re-ordering for 6.1 and 7.1 setups (close #7783)

11 years agoMerge 2.0.x NEWS and mention deprecation of libvlc_audio_output_*et_device_type
Jean-Baptiste Kempf [Sat, 15 Dec 2012 15:46:18 +0000 (16:46 +0100)]
Merge 2.0.x NEWS and mention deprecation of libvlc_audio_output_*et_device_type

11 years agoLua RC: adapt to new audio device interface
Rémi Denis-Courmont [Sat, 15 Dec 2012 15:42:49 +0000 (17:42 +0200)]
Lua RC: adapt to new audio device interface

11 years agolibvlc: stub device_type functions
Rémi Denis-Courmont [Sat, 15 Dec 2012 15:40:53 +0000 (17:40 +0200)]
libvlc: stub device_type functions

They stopped working in version 2.0 and never made much sense.

11 years agoWin32: more npapi packaging fixes
Jean-Baptiste Kempf [Sat, 15 Dec 2012 15:38:02 +0000 (16:38 +0100)]
Win32: more npapi packaging fixes

11 years agoALSA: deduplicate devices enumeration
Rémi Denis-Courmont [Sat, 15 Dec 2012 15:32:50 +0000 (17:32 +0200)]
ALSA: deduplicate devices enumeration

11 years agoQt4: adapt to new audio device selection
Rémi Denis-Courmont [Sat, 15 Dec 2012 15:21:51 +0000 (17:21 +0200)]
Qt4: adapt to new audio device selection

11 years agohotkeys: adapt to new device selection
Rémi Denis-Courmont [Sat, 15 Dec 2012 15:21:25 +0000 (17:21 +0200)]
hotkeys: adapt to new device selection

11 years agoALSA: adapt to new devices handling
Rémi Denis-Courmont [Sat, 15 Dec 2012 14:56:23 +0000 (16:56 +0200)]
ALSA: adapt to new devices handling

11 years agoaout: add device selection callbacks
Rémi Denis-Courmont [Sat, 15 Dec 2012 14:16:50 +0000 (16:16 +0200)]
aout: add device selection callbacks

This will replace the "audio-device" variable that was hard-coded into
audio output plugins.

11 years agoaout: fix crashes if restart fails
Rémi Denis-Courmont [Sat, 15 Dec 2012 15:20:39 +0000 (17:20 +0200)]
aout: fix crashes if restart fails

11 years agoopensles: simplify error handling
Rafaël Carré [Sat, 15 Dec 2012 14:49:57 +0000 (15:49 +0100)]
opensles: simplify error handling

Instead of busy waiting and retrying, buffer packets and wait for the next
pf_play() call to write them to the sound card.
We now have 2 linked lists:
    - packets not accepted yet by Enqueue()
    - packets accepted by Enqueue(), not yet written to hardware, and
    waiting to be released in PlayedCallback()

11 years agoopensles: implement drain with msleep
Rafaël Carré [Sat, 15 Dec 2012 14:35:20 +0000 (15:35 +0100)]
opensles: implement drain with msleep

11 years agoauhal: fixed mute
Felix Paul Kühne [Sat, 15 Dec 2012 14:29:11 +0000 (15:29 +0100)]
auhal: fixed mute

11 years agomacosx/sprefs: adapt setting handling to the 2.1 volume API
Felix Paul Kühne [Sat, 15 Dec 2012 14:20:07 +0000 (15:20 +0100)]
macosx/sprefs: adapt setting handling to the 2.1 volume API

11 years agomacosx/CoreInteraction: communicate volume value correctly to the core
Felix Paul Kühne [Sat, 15 Dec 2012 14:19:42 +0000 (15:19 +0100)]
macosx/CoreInteraction: communicate volume value correctly to the core

11 years agoauhal: fixed volume handling using the 2.1 API
Felix Paul Kühne [Sat, 15 Dec 2012 14:19:09 +0000 (15:19 +0100)]
auhal: fixed volume handling using the 2.1 API

11 years agoFix win32 plugins packaging
Jean-Baptiste Kempf [Sat, 15 Dec 2012 14:19:43 +0000 (15:19 +0100)]
Fix win32 plugins packaging

11 years agoopensles: properly reset latency counter on Flush
Rafaël Carré [Sat, 15 Dec 2012 11:31:58 +0000 (12:31 +0100)]
opensles: properly reset latency counter on Flush

11 years agoopensles: use locks in TimeGet
Rafaël Carré [Sat, 15 Dec 2012 11:30:40 +0000 (12:30 +0100)]
opensles: use locks in TimeGet

11 years agoUAC: distribute source code (and doc+examples)
Rafaël Carré [Sat, 15 Dec 2012 10:58:27 +0000 (11:58 +0100)]
UAC: distribute source code (and doc+examples)

11 years agoUAC: rename file to get rid of spaces
Rafaël Carré [Sat, 15 Dec 2012 11:01:17 +0000 (12:01 +0100)]
UAC: rename file to get rid of spaces

11 years agoXCB/XVideo: enumerate adaptors
Rémi Denis-Courmont [Sun, 30 Sep 2012 16:37:06 +0000 (19:37 +0300)]
XCB/XVideo: enumerate adaptors

11 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

11 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()

11 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

11 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

11 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

11 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

11 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.

11 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.

11 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

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

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

11 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

11 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

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

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

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

11 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

11 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>
11 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

11 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

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

11 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.

11 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.

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

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

11 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

11 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.

11 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

11 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

11 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.

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

11 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

11 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

11 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>
11 years agoAdd some NEWS
Jean-Baptiste Kempf [Mon, 10 Dec 2012 16:26:01 +0000 (17:26 +0100)]
Add some NEWS

11 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

11 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>
11 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>
11 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.

11 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.

11 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)

11 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.

11 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)

11 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)

11 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)

11 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

11 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>
11 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

11 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

11 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.