]>
git.sesse.net Git - vlc/log
Rémi Denis-Courmont [Sat, 19 Jan 2013 18:38:34 +0000 (20:38 +0200)]
test: check full help
This can often catch bugs in the plugin descriptors and modules core.
Rémi Denis-Courmont [Sat, 19 Jan 2013 18:25:30 +0000 (20:25 +0200)]
modules: restore empty strings in cached choices list
Felix Paul Kühne [Sat, 19 Jan 2013 17:56:28 +0000 (18:56 +0100)]
audioqueue: don't use the main CFRunLoop for the (empty) data callback, but one of AudioQueue's internal threads
Otherwise, we will encounter delays of up to 10 secs when stopping the AudioQueue
Felix Paul Kühne [Sat, 19 Jan 2013 17:48:11 +0000 (18:48 +0100)]
audioqueue: fixed incorrect buffer allocation which prevented playback of certain samples
Felix Paul Kühne [Sat, 19 Jan 2013 17:44:02 +0000 (18:44 +0100)]
ios: don't compile with --enable-debug with -g only by default
Rémi Denis-Courmont [Sat, 19 Jan 2013 15:38:36 +0000 (17:38 +0200)]
timecode: generate a clock/timecode as a subtitle track
This is mainly intended to be used as a slave input, e.g.:
# vlc video.mkv --input-slave timecode:// --timecode-fps 30/1001
Rémi Denis-Courmont [Sat, 19 Jan 2013 08:45:04 +0000 (10:45 +0200)]
cache: store whether there is a choices callback or not
Mario Speiß [Fri, 18 Jan 2013 22:52:36 +0000 (23:52 +0100)]
ConfigLoadString loses the last character of strings
ConfigLoadString allocates memory for 'size' bytes and copys a NULL terminated
string to this buffer.
ConfigSaveString instead expects the buffer to be NULL terminated but:
- the 'size' saved to the cache is the char count
- the string is written without terminating NULL.
So obviously ConfigLoadString does not match the behaviour of ConfigSaveString.
It seems to me that the cached module configuration is not working at all due
to comparing the module file names within CacheFind - this should never have
found a match.
I think this would need some more testing.
Regards,
Mario
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Francois Cartegnie [Thu, 17 Jan 2013 19:02:24 +0000 (20:02 +0100)]
Qt: PLSelector: add side icons
Rémi Denis-Courmont [Fri, 18 Jan 2013 22:20:05 +0000 (00:20 +0200)]
DEMUX_SET_NEXT_DEMUX_TIME: fix documentation
Francois Cartegnie [Thu, 17 Jan 2013 19:02:24 +0000 (20:02 +0100)]
Qt: PLSelector: add side icons
Francois Cartegnie [Thu, 17 Jan 2013 19:01:55 +0000 (20:01 +0100)]
Qt: PLSelector: Pack entries to the left
Felix Paul Kühne [Fri, 18 Jan 2013 16:06:01 +0000 (17:06 +0100)]
audioqueue: fix compilation warnings
Rafaël Carré [Thu, 17 Jan 2013 19:28:05 +0000 (20:28 +0100)]
asf demux: rewrite DemuxPacket
Split it in several functions
Nickolai Zeldovich [Thu, 17 Jan 2013 01:03:20 +0000 (20:03 -0500)]
modules/services_discovery/sap.c: avoid out-of-bounds write
After OpenDemux reads data using stream_Read(), it writes a '\0' to
the buffer after the newly-read data, but if the stream returned exactly
i_read_max bytes, this '\0' will end up just past the end of the allocated
psz_sdp array (see the call to realloc at the beginning of the loop).
Adjust the realloc call to allocate this one extra byte.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rafaël Carré [Thu, 17 Jan 2013 13:15:36 +0000 (14:15 +0100)]
asf demux: cosmetics
merge declaration and initial assignement
Jean-Baptiste Kempf [Thu, 17 Jan 2013 13:15:17 +0000 (14:15 +0100)]
ASF: don't print debug infos in releases
Rafaël Carré [Thu, 17 Jan 2013 11:47:45 +0000 (12:47 +0100)]
asf demux: fix #8024
Replace macro with static inline and use bounds checking
Rémi Denis-Courmont [Wed, 16 Jan 2013 17:04:05 +0000 (19:04 +0200)]
PulseAudio: implement mute/unmute while not playing
Rémi Denis-Courmont [Wed, 16 Jan 2013 16:53:59 +0000 (18:53 +0200)]
PulseAudio: implement and fix changing device while not playing
Rémi Denis-Courmont [Tue, 15 Jan 2013 20:57:52 +0000 (22:57 +0200)]
PulseAudio: implement sinks list (i.e. output devices)
Rémi Denis-Courmont [Tue, 15 Jan 2013 20:27:52 +0000 (22:27 +0200)]
PulseAudio: revector, no functional changes
Rémi Denis-Courmont [Tue, 15 Jan 2013 21:10:54 +0000 (23:10 +0200)]
PulseAudio: report current output device
Rémi Denis-Courmont [Tue, 15 Jan 2013 21:05:31 +0000 (23:05 +0200)]
PulseAudio: implement output device change
Rémi Denis-Courmont [Tue, 15 Jan 2013 21:09:06 +0000 (23:09 +0200)]
aout: remove has-choices flag on "device", not applicable anymore
Rémi Denis-Courmont [Tue, 15 Jan 2013 20:33:35 +0000 (22:33 +0200)]
Avoid zero-length array
While useful, this is not permitted by the standard specification.
This patch will waste a little bit of memory in affected allocations...
Felix Paul Kühne [Tue, 15 Jan 2013 19:47:23 +0000 (20:47 +0100)]
minimal_macosx: remove unused variable
Rémi Denis-Courmont [Tue, 15 Jan 2013 17:12:45 +0000 (19:12 +0200)]
avcodec: fix warnings
Rémi Denis-Courmont [Tue, 15 Jan 2013 17:10:25 +0000 (19:10 +0200)]
Lua RC: comment out broken adev implementation
This reverts commit
5086a9ed9e848a54f02f585e80c9f2730868bca9 .
Rémi Denis-Courmont [Tue, 15 Jan 2013 17:31:24 +0000 (19:31 +0200)]
Old RC: use audio output device functions and clean up
Devin Heitmueller [Sun, 13 Jan 2013 21:53:05 +0000 (16:53 -0500)]
Fix corrupted rendering of EIA-608 captions
When we moved the code to use the legacy method *or* the new method,
we lost the functionality that actually initialized the memory allocated
for the entire subpicture region (including the part where captions
weren't being rendered.
This was most obvious when regression testing on OSX, where it
resulted in old captions continuing to appear on screen even
after being cleared, or garbage in the render buffer.
Add a line that effectively zeros out the buffer prior to use.
Signed-off-by: Rafaël Carré <funman@videolan.org>
Jean-Baptiste Kempf [Tue, 15 Jan 2013 15:59:52 +0000 (16:59 +0100)]
Win32: we need gai_strerrorA and not gai_strerrorW
Jean-Baptiste Kempf [Tue, 15 Jan 2013 15:29:32 +0000 (16:29 +0100)]
Atmo: use LoadLibrary instead of LoadLibraryA for a fullpath DLL
Jean-Baptiste Kempf [Tue, 15 Jan 2013 15:10:40 +0000 (16:10 +0100)]
Win32: undef lseek before redefining it
Jean-Baptiste Kempf [Tue, 15 Jan 2013 15:09:04 +0000 (16:09 +0100)]
Win32: use _snwprintf instead of swprintf
swprintf is not the standard function you are looking for
Jean-Baptiste Kempf [Tue, 15 Jan 2013 15:03:48 +0000 (16:03 +0100)]
WinVLC: use _snwprintf that is conforming to the standard
Jean-Baptiste Kempf [Tue, 15 Jan 2013 12:04:50 +0000 (13:04 +0100)]
Skins2: try to fix compilation in ANSI mode
Jean-Baptiste Kempf [Tue, 15 Jan 2013 11:49:08 +0000 (12:49 +0100)]
Skins2: reimplement rmDir on Windows with ShellApi
Jean-Baptiste Kempf [Tue, 15 Jan 2013 11:11:48 +0000 (12:11 +0100)]
DirectDraw: fix memleaks introduced by
46b26be57
Jean-Baptiste Kempf [Tue, 15 Jan 2013 10:58:18 +0000 (11:58 +0100)]
DirectX: use DirectDrawEnumerateExA/W when GetProcAddress
Jean-Baptiste Kempf [Tue, 15 Jan 2013 10:46:01 +0000 (11:46 +0100)]
Atmo: fix memleak introduced by
59f746f6
Jean-Baptiste Kempf [Tue, 15 Jan 2013 10:29:39 +0000 (11:29 +0100)]
Win32: better eject code for UNICODE-APIs
Jean-Baptiste Kempf [Tue, 15 Jan 2013 10:17:33 +0000 (11:17 +0100)]
D3D; fix warnings
Rafaël Carré [Tue, 15 Jan 2013 08:29:33 +0000 (09:29 +0100)]
Remove untested strncasecmp replacement
Since it never built, it was never needed on any platform
Rafaël Carré [Tue, 15 Jan 2013 06:13:58 +0000 (07:13 +0100)]
contrib: ffmpeg: account for libvpx decoders name change
'libvpx' decoder doesn't exist anymore but we continue to disable it anyway
for people building and older version
Jean-Baptiste Kempf [Tue, 15 Jan 2013 00:21:10 +0000 (01:21 +0100)]
Win32: kill DirectX warnings
Jean-Baptiste Kempf [Mon, 14 Jan 2013 23:59:33 +0000 (00:59 +0100)]
DirectDraw: port to UNICODE friendly APIs
This would need more testing and close look
Jean-Baptiste Kempf [Mon, 14 Jan 2013 23:13:34 +0000 (00:13 +0100)]
Atmo: port Win32 code to UNICODE friendly APIs
This needs testing
Jean-Baptiste Kempf [Mon, 14 Jan 2013 23:12:20 +0000 (00:12 +0100)]
Freetype: use ANSI version of registry open functions
Jean-Baptiste Kempf [Mon, 14 Jan 2013 23:08:16 +0000 (00:08 +0100)]
Skins2: port Win32 code to UNICODE
This would deserve a second look, though
Jean-Baptiste Kempf [Mon, 14 Jan 2013 23:07:44 +0000 (00:07 +0100)]
Qt4: force registry functions to ANSI mode
Jean-Baptiste Kempf [Mon, 14 Jan 2013 23:07:22 +0000 (00:07 +0100)]
Win32: fix eject behaviour with UNICODE
Jean-Baptiste Kempf [Mon, 14 Jan 2013 22:11:22 +0000 (23:11 +0100)]
NTservice: force use of ANSI versions of APIs
Rémi Denis-Courmont [Mon, 14 Jan 2013 17:41:40 +0000 (19:41 +0200)]
aout: remove choices list on the device variable
This does not support hot plug and unplug of devices.
Also, it prevented selecting a device not in the choices list due to
checks in the variables subsystem. (At least with ALSA, not all valid
devices are included in the suggestions.)
Rémi Denis-Courmont [Mon, 14 Jan 2013 17:41:05 +0000 (19:41 +0200)]
hotkeys: use aout_DeviceGet() and aout_DevicesList()
Rémi Denis-Courmont [Mon, 14 Jan 2013 17:31:16 +0000 (19:31 +0200)]
aout: remove temporary hack on the "device" variable
Rémi Denis-Courmont [Mon, 14 Jan 2013 17:30:10 +0000 (19:30 +0200)]
aout: add some debug when restarting
Far too many bugs in this code path recently.
Rémi Denis-Courmont [Mon, 14 Jan 2013 17:27:02 +0000 (19:27 +0200)]
aout: fix crash when changing device fails
Rémi Denis-Courmont [Mon, 14 Jan 2013 17:23:57 +0000 (19:23 +0200)]
hotkeys: use aout_DeviceSet() directly
Using var_Set("device") is wrong: the "device" variable holds the
currently used output device (as set by the aout plugin), not the
intended output device (as requested through the user interface).
Also fix a memory leak.
Jean-Baptiste Kempf [Mon, 14 Jan 2013 18:01:14 +0000 (19:01 +0100)]
Direct2D: fix GetProcAddress call for UNICODE
Jean-Baptiste Kempf [Mon, 14 Jan 2013 17:46:30 +0000 (18:46 +0100)]
Windrive: use TEXT macro as applicable
Jean-Baptiste Kempf [Mon, 14 Jan 2013 17:40:05 +0000 (18:40 +0100)]
Win32 eject: use correct type for MCI_OPEN_PARMS structure
Jean-Baptiste Kempf [Mon, 14 Jan 2013 17:27:45 +0000 (18:27 +0100)]
Qt: use TEXT macro with RegisterWindowMessage
Jean-Baptiste Kempf [Mon, 14 Jan 2013 17:24:53 +0000 (18:24 +0100)]
DxVA2: fix GetProcAddress usage under UNICODE
Jean-Baptiste Kempf [Mon, 14 Jan 2013 17:21:54 +0000 (18:21 +0100)]
Win32: Fix DMO compilation behaviour with UNICODE
Jean-Baptiste Kempf [Mon, 14 Jan 2013 17:20:40 +0000 (18:20 +0100)]
CrystalHD: fix compilation behaviour with UNICODE
Jean-Baptiste Kempf [Mon, 14 Jan 2013 17:17:38 +0000 (18:17 +0100)]
DirectX: fix GetProcAddress call with Unicode
Jean-Baptiste Kempf [Mon, 14 Jan 2013 17:15:42 +0000 (18:15 +0100)]
CDROM: use CreateFileA for opening drive letters
If I understood correctly, drive letters are always ANSI
Jean-Baptiste Kempf [Mon, 14 Jan 2013 17:12:50 +0000 (18:12 +0100)]
Win32 screen: use TEXT macro
Jean-Baptiste Kempf [Mon, 14 Jan 2013 16:45:34 +0000 (17:45 +0100)]
Win32: fix GetProcAddress call with UNICODE
Weirdly, there is no GetProcAddressW, indeed
Jean-Baptiste Kempf [Mon, 14 Jan 2013 16:30:35 +0000 (17:30 +0100)]
Win32: use OutputDebugStringA directly
Since OutputDebugStringW is just a wrapper around OutputDebugStringA
Jean-Baptiste Kempf [Mon, 14 Jan 2013 16:29:52 +0000 (17:29 +0100)]
Win32: use TEXT macro for SetConsoleTitle
Jean-Baptiste Kempf [Mon, 14 Jan 2013 11:12:09 +0000 (12:12 +0100)]
Ogg: display debug about Annodex info
Jean-Baptiste Kempf [Mon, 14 Jan 2013 11:07:22 +0000 (12:07 +0100)]
Ogg: factorize reset function
Ludovic Fauvet [Mon, 14 Jan 2013 10:59:08 +0000 (11:59 +0100)]
Ogg: implement SET_SEEKPOINT
Close #6895
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Mon, 14 Jan 2013 10:53:43 +0000 (11:53 +0100)]
Ogg: remove unused function and variable
Jean-Baptiste Kempf [Mon, 14 Jan 2013 10:42:21 +0000 (11:42 +0100)]
Ogg: use b_force_backup as a boolean
Jean-Baptiste Kempf [Mon, 14 Jan 2013 10:37:49 +0000 (11:37 +0100)]
Ogg: clean header and remove unused members
Jean-Baptiste Kempf [Mon, 14 Jan 2013 10:28:00 +0000 (11:28 +0100)]
Ogg: use calloc
Rémi Denis-Courmont [Sun, 13 Jan 2013 18:23:26 +0000 (20:23 +0200)]
vdpau: use ctz()
Rémi Denis-Courmont [Sun, 13 Jan 2013 17:54:59 +0000 (19:54 +0200)]
vlc_common: add ctz() to count trailing zeroes
Rémi Denis-Courmont [Sun, 13 Jan 2013 14:35:31 +0000 (16:35 +0200)]
Fix compilation without Xlib
Rémi Denis-Courmont [Sun, 13 Jan 2013 14:28:27 +0000 (16:28 +0200)]
News
Rémi Denis-Courmont [Sat, 27 Oct 2012 08:26:41 +0000 (11:26 +0300)]
vdpau: VDPAU hardware decoding with avcodec
This requires bleeding-edge libavcodec.
Rémi Denis-Courmont [Sat, 12 Jan 2013 21:49:55 +0000 (23:49 +0200)]
XCB/screen: use shared memory to reduce overhead (if available)
Rémi Denis-Courmont [Thu, 22 Jul 2010 20:15:48 +0000 (23:15 +0300)]
Add block_shm_Alloc()
David Fuhrmann [Sat, 12 Jan 2013 15:29:26 +0000 (16:29 +0100)]
macosx: fix and improve window level handling
- fix behavior of video-on-top by adapting to vout windows handling changes
- set all windows to status level if one vout window has this level:
This avoids that video effects panel, audio efffects panel etc. pp. are opened behind
a vout window. Now they can be used as usual.
Please note, that due to the type of these panels they do not remain visible
when VLC gets inactive.
Devin Heitmueller [Fri, 11 Jan 2013 19:28:04 +0000 (14:28 -0500)]
Don't call the legacy Freetype background renderer if the EIA-608 bg render feature is used.
If we're using the new background renderer which just renders the
background under the text (instead of the entire subpicture block),
then don't call the legacy render as well. This prevents a alpha-
transparent box from being shown when rendering EIA-608 captions
if the user has the Freetype background opacity set to a nonzero
value.
Signed-off-by: Rafaël Carré <funman@videolan.org>
Isamu Arimoto [Fri, 11 Jan 2013 21:44:18 +0000 (23:44 +0200)]
ram: fixed typo
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Jean-Baptiste Kempf [Fri, 11 Jan 2013 16:30:08 +0000 (17:30 +0100)]
Win32: set AppContainer and no-SEH flags on PE
Jean-Baptiste Kempf [Wed, 6 Jun 2012 23:01:03 +0000 (01:01 +0200)]
VLC is not the place for Kassdédi
(cherry picked from commit
d6699a1f4ae27f04079edef946e2bf5a7fdb446b )
Conflicts:
po/fr.po
Denis Charmet [Thu, 10 Jan 2013 23:53:56 +0000 (00:53 +0100)]
Avoid inifite loops and stack explosion when parsing broken files and ignore lvl 1 unknown elements.
Fix #8013
Rafaël Carré [Thu, 10 Jan 2013 23:52:13 +0000 (00:52 +0100)]
avcodec audio decoder: remove SplitBuffer()
That function was introduced years ago to account for bugs in aout,
which do not exist anymore.
Incidentally fix WMA.
Rafaël Carré [Thu, 10 Jan 2013 23:50:36 +0000 (00:50 +0100)]
avcodec audio decoder: use VLC_TS_INVALID
Rafaël Carré [Thu, 10 Jan 2013 23:45:28 +0000 (00:45 +0100)]
avcodec audio: factorize error case
Devin Heitmueller [Wed, 2 Jan 2013 16:45:11 +0000 (11:45 -0500)]
Add support for rendering EIA-608 captions with a black background
Place a black background behind caption text. We cannot use the
existing "background" feature for subdecoders because it fills the
entire subpicture block, and in the case of the EIA-608 decoder
would result in a large square (since we send all lines to
the subpicture decoder even if they are blank). This approach
allows for rendering of the background even in such cases, while
preserving proper layout of the captions.
Signed-off-by: Rafaël Carré <funman@videolan.org>
Rémi Denis-Courmont [Thu, 10 Jan 2013 18:05:30 +0000 (20:05 +0200)]
avcodec: allow hardware acceleration plugin to use pic->opaque
Rafaël Carré [Sun, 16 Dec 2012 11:09:43 +0000 (12:09 +0100)]
contrib: put hash in ffmpeg tarball name
Hugues Fruchet [Wed, 19 Dec 2012 13:24:16 +0000 (14:24 +0100)]
omxil: enable support of mp3, vorbis and wma
Update audio_format_table to allow selection of OMX
components which support mp3, vorbis or wma role.
Signed-off-by: Rafaël Carré <funman@videolan.org>
Hugues Fruchet [Wed, 19 Dec 2012 13:04:27 +0000 (14:04 +0100)]
omxil: Enable pts mode for OMX.STM.Video.Decoder
OMX.STM.Video.Decoder requires input buffers with pts timestamp.
A debug trace is added to inform if pts mode is enabled and for
which codec.
Signed-off-by: Rafaël Carré <funman@videolan.org>