]>
git.sesse.net Git - vlc/log
Josh Watzman [Sun, 6 Jan 2013 07:27:18 +0000 (23:27 -0800)]
macosx: Don't re-center extensions on every dialog update
If the user has moved the extension dialog, we don't want to re-center it on every single update -- many extensions update their dialogs on every input change, and this behavior can cause the extension dialog to keep re-overlapping with the video, which is very frustrating.
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Rémi Duraffort [Fri, 4 Jan 2013 21:41:12 +0000 (22:41 +0100)]
Fix potential usage of an uninitialized pointer
Mario Speiß [Sat, 5 Jan 2013 21:59:08 +0000 (22:59 +0100)]
Cosmetics: DirectX now sets maximum volume without returning an error.
Before it returned -1 when volume was set to 100% so OSD never showed the
'Volume: 100%' message.
Regards,
Mario
Signed-off-by: Rafaël Carré <funman@videolan.org>
Nickolai Zeldovich [Sat, 5 Jan 2013 23:03:45 +0000 (18:03 -0500)]
modules/packetizer/dirac.c: check index before dereferencing
Check that frame_rate_index is within bounds before dereferencing
the dirac_frate_tbl[] array.
Signed-off-by: Rafaël Carré <funman@videolan.org>
Francois Cartegnie [Sat, 5 Jan 2013 12:36:54 +0000 (13:36 +0100)]
Qt: Equalizer: A QFrame without frame is a QWidget
Rémi Denis-Courmont [Sat, 5 Jan 2013 08:16:58 +0000 (10:16 +0200)]
Revert "Qt: save playlist: use qtr() macro"
This reverts commit
cec6c32f1eead0c024034db9d6df06852b9dd77a .
David Fuhrmann [Fri, 4 Jan 2013 20:34:07 +0000 (21:34 +0100)]
macosx: prefs: fix default audio volume slider
David Fuhrmann [Fri, 4 Jan 2013 17:26:53 +0000 (18:26 +0100)]
macosx: audio effects panel: small fixes for eq presets management
Francois Cartegnie [Fri, 4 Jan 2013 18:55:48 +0000 (19:55 +0100)]
Qt: save playlist: use qtr() macro
Francois Cartegnie [Fri, 4 Jan 2013 18:54:09 +0000 (19:54 +0100)]
Qt: save playlist: force native dialog
Rémi Denis-Courmont [Fri, 4 Jan 2013 17:11:39 +0000 (19:11 +0200)]
avcodec: split TestFfmpegChroma() in two functions
Rémi Denis-Courmont [Fri, 4 Jan 2013 17:10:47 +0000 (19:10 +0200)]
avcodec: look up pix fmt only once during deinterlace initialization
Rémi Denis-Courmont [Fri, 4 Jan 2013 16:53:20 +0000 (18:53 +0200)]
avcodec: cleanup chroma helper prototypes
Avoid passing a structure on the stack.
Rémi Denis-Courmont [Fri, 4 Jan 2013 16:40:43 +0000 (18:40 +0200)]
avcodec: print picture format name when unsupported (refs #7994)
Rafaël Carré [Fri, 4 Jan 2013 16:31:09 +0000 (17:31 +0100)]
a52: no need to define LIBA52_FIXED
Rafaël Carré [Fri, 4 Jan 2013 16:29:32 +0000 (17:29 +0100)]
contrib: a52: make config public (define LIBA52_FIXED)
Francois Cartegnie [Thu, 3 Jan 2013 23:59:00 +0000 (00:59 +0100)]
Qt: Spatializer: add values multiplier.
For some filters, module's values may differ from the range shown to
users.
Francois Cartegnie [Thu, 3 Jan 2013 23:19:58 +0000 (00:19 +0100)]
Qt: Spatializer: match module's limits and values
Francois Cartegnie [Thu, 3 Jan 2013 21:59:41 +0000 (22:59 +0100)]
Qt: Spatializer: factorize
Francois Cartegnie [Thu, 3 Jan 2013 21:43:43 +0000 (22:43 +0100)]
Qt: Compressor: create base class for factorization
Francois Cartegnie [Tue, 1 Jan 2013 15:03:24 +0000 (16:03 +0100)]
Qt: Compressor: rewrite values handling logic.
Also remove the N*N controls config/var updates.
Francois Cartegnie [Tue, 1 Jan 2013 19:11:22 +0000 (20:11 +0100)]
Qt: Compressor/Spatializer: rename implicit activation control
Rafaël Carré [Fri, 4 Jan 2013 10:46:11 +0000 (11:46 +0100)]
contrib: fix regex installation
If regex was the first package installed it would create include
and lib files, instead of include/regex.h and lib/libregex.a
David Fuhrmann [Thu, 3 Jan 2013 22:23:33 +0000 (23:23 +0100)]
macosx: audio effects: fix range of some sliders for the spatializer filter
Choosing negative values for some of these settings is NOT a good idea if you
want to avoid damaging your ears ;-)
Rafaël Carré [Thu, 3 Jan 2013 18:19:28 +0000 (19:19 +0100)]
Remove freebox.lua
It is not available for a majority of VLC users so it should be off by default.
Tested-by: Rémi Denis-Courmont
Acked-by: Rémi Denis-Courmont
Rafaël Carré [Thu, 3 Jan 2013 17:11:34 +0000 (18:11 +0100)]
contrib: rationalize HAVE_NEON and HAVE_ARMV7A
Rafaël Carré [Thu, 3 Jan 2013 17:08:56 +0000 (18:08 +0100)]
contrib: postproc: simplify CFLAGS
Workarounds for windows seem not to be neeed anymore
Rafaël Carré [Thu, 3 Jan 2013 17:12:03 +0000 (18:12 +0100)]
contrib: remove obsolete comment
Rafaël Carré [Thu, 3 Jan 2013 16:52:56 +0000 (17:52 +0100)]
contrib: postproc: simplify cflags
Rafaël Carré [Thu, 3 Jan 2013 16:52:03 +0000 (17:52 +0100)]
contrib: postproc: remove platform specific flags
Rafaël Carré [Thu, 3 Jan 2013 16:46:17 +0000 (17:46 +0100)]
Revert "arm_neon i420 -> rgb: Output pitch can be 64 bit aligned"
This reverts commit
0740e5433637c12dab43067b964248b667cda19d .
Rafaël Carré [Thu, 3 Jan 2013 16:44:50 +0000 (17:44 +0100)]
androidsurface: ensure pitch % 16 == 0
Some devices (like Samsung Exynos) will not align pitch to 16 bytes.
Thus we need to align the hardware width ourselves.
Note that this needs to be accounted for in the JNI support code.
Rafaël Carré [Thu, 3 Jan 2013 16:01:51 +0000 (17:01 +0100)]
androidsurface: do not hide that we're working only on the first plane
Rafaël Carré [Thu, 3 Jan 2013 15:54:15 +0000 (16:54 +0100)]
androidsurface: simplify pitch calculation
Rafaël Carré [Thu, 3 Jan 2013 15:39:46 +0000 (16:39 +0100)]
contrib: ffmpeg: remove unused FFMPEG_CFLAGS
Jean-Baptiste Kempf [Thu, 3 Jan 2013 15:54:11 +0000 (16:54 +0100)]
Tools: Fix autoconf build
David Fuhrmann [Thu, 3 Jan 2013 14:27:52 +0000 (15:27 +0100)]
macosx: audio effects panel: migrate autosave and bugfixes from video effects panel
David Fuhrmann [Thu, 3 Jan 2013 12:31:51 +0000 (13:31 +0100)]
macosx: audio effects: fix typo, and code style cleanup
David Fuhrmann [Wed, 2 Jan 2013 23:24:50 +0000 (00:24 +0100)]
macosx: video effects panel: autosave profiles and other refinements for profile management
- fix some bugs
- avoid unnecessary reload of all settings when the user clicks Cancel in dialogs
- add error message when user enters a duplicate profile name (this is not supported by
the combo box
David Fuhrmann [Wed, 2 Jan 2013 21:12:46 +0000 (22:12 +0100)]
macosx: video effects panel: integrate video-splitter into profile strings
Rafaël Carré [Thu, 3 Jan 2013 14:01:11 +0000 (15:01 +0100)]
contrib: enable NEON runtime selection for ffmpeg
This is explicitely done for android only, since we lost the
benefits of some inline NEON asm
Rafaël Carré [Thu, 3 Jan 2013 12:00:18 +0000 (13:00 +0100)]
contrib: update rules for postproc
armv7-a obviously implies arm
remove obsolete comment
Nicolas Chauvet [Wed, 2 Jan 2013 21:44:33 +0000 (22:44 +0100)]
Fix build with unreleased FLAC 1.3.x
The issue was initialy reported here:
http://bugzilla.redhat.com/891123
FLAC upstream has always expected to include <FLAC/ suffix
for included headers as shown in examples/c/decode/file/main.c
The FLAC suffix will not be be made available in the flac.pc
for the next release:
http://lists.xiph.org/pipermail/flac-dev/2012-April/003355.html
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Rui Zhang [Wed, 2 Jan 2013 17:42:51 +0000 (12:42 -0500)]
androidsurface: setup format depending on surface format
Modified-by: Edward Wang <edward.c.wang@compdigitec.com>
Signed-off-by: Edward Wang <edward.c.wang@compdigitec.com>
Modified-by: Rafaël Carré <funman@videolan.org>
Signed-off-by: Rafaël Carré <funman@videolan.org>
Rémi Denis-Courmont [Tue, 1 Jan 2013 10:06:16 +0000 (12:06 +0200)]
configure: replace obsolete AM_CONFIG_HEADERS (fixes #7975)
Rémi Denis-Courmont [Thu, 27 Dec 2012 15:03:04 +0000 (17:03 +0200)]
fr: fix spelling of "aiguë(s)"
Rémi Denis-Courmont [Sat, 22 Dec 2012 14:42:58 +0000 (16:42 +0200)]
lua: fix distcheck without LUA
Devin Heitmueller [Tue, 1 Jan 2013 22:39:03 +0000 (17:39 -0500)]
Add support for monospace font in HTML renderer
The EIA-608 decoder expects fonts to be rendered with a monospace font,
so add the ability for decoders to make use of the "tt" tag, and tweak
the EIA-608 decoder to use that tag.
This patch supercedes folds in patch 9 from the previous series as well
as incorporates the changes Rafaël Carré solicited from the ML regarding
the fonts to use for non-Linux platforms.
Modified-by: Rafaël Carré <funman@videolan.org>
- Simplify HandleTT()
- Fix memleak in Create()
Signed-off-by: Rafaël Carré <funman@videolan.org>
Devin Heitmueller [Wed, 2 Jan 2013 12:48:02 +0000 (13:48 +0100)]
freetype: avoid segfault in FaceStyleEquals()
This can happen if the font name is NULL
Signed-off-by: Rafaël Carré <funman@videolan.org>
Edward Wang [Wed, 2 Jan 2013 01:03:02 +0000 (20:03 -0500)]
anaglyph: remove spurious printf
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
David Fuhrmann [Wed, 2 Jan 2013 10:04:30 +0000 (11:04 +0100)]
macosx: video effects panel: code style cleanup
David Fuhrmann [Wed, 2 Jan 2013 09:52:31 +0000 (10:52 +0100)]
macosx: video effects panel: add missing vlc_object_release
David Fuhrmann [Tue, 1 Jan 2013 23:49:01 +0000 (00:49 +0100)]
macosx: do not send left and right arrow key to controls
The left and right arrow keys have not any real advantage / functionality for
the playlist view or sidebar but are used by default for several hotkeys.
So lets allow these as VLC hotkeys (also for audio files).
Rafaël Carré [Tue, 1 Jan 2013 19:18:09 +0000 (20:18 +0100)]
Happy new year 2013
Timo Rothenpieler [Tue, 1 Jan 2013 17:23:00 +0000 (18:23 +0100)]
vaapi: Use vaDeriveImage instead of vaGetImage if available
Signed-off-by: Rafaël Carré <funman@videolan.org>
Rafaël Carré [Tue, 1 Jan 2013 17:04:54 +0000 (18:04 +0100)]
oldrc: fix segfault
Nil Geiswiller [Fri, 28 Dec 2012 23:13:40 +0000 (00:13 +0100)]
Add Mute shortcut to nvlc
I added the shortcut 'm' in nvlc for toggle mute. The volume status is
replaced my 'Mute' when enabled.
I also remapped the shortcut of metadata box from 'm' to 'M', I think
it follows the principle of least surprise.
Signed-off-by: Rafaël Carré <funman@videolan.org>
Francois Cartegnie [Tue, 1 Jan 2013 14:16:27 +0000 (15:16 +0100)]
Qt: Compressor/Spatializer: missing signal routing
Francois Cartegnie [Mon, 31 Dec 2012 20:44:08 +0000 (21:44 +0100)]
Qt: Compressor: remove useless method parameter
Francois Cartegnie [Mon, 31 Dec 2012 19:10:19 +0000 (20:10 +0100)]
Qt: Compressor: remove undefined methods
Francois Cartegnie [Mon, 31 Dec 2012 14:44:52 +0000 (15:44 +0100)]
Qt: Equalizer: namespace initial values
Francois Cartegnie [Mon, 31 Dec 2012 14:40:55 +0000 (15:40 +0100)]
Qt: Compressor: namespace initial values
Rafaël Carré [Mon, 31 Dec 2012 14:57:27 +0000 (15:57 +0100)]
CC: remove tabs
Rafaël Carré [Mon, 31 Dec 2012 13:15:02 +0000 (14:15 +0100)]
subsdec: avoid segfaults
Asad Mehmood [Mon, 31 Dec 2012 00:56:00 +0000 (00:56 +0000)]
arm_neon i420 -> rgb: Output pitch can be 64 bit aligned
When an output picure is requested from a Samsung (exynos?) device
it is not guarateed to be aligned to 128 bit (4 pixels).
Signed-off-by: Rafaël Carré <funman@videolan.org>
Devin Heitmueller [Thu, 27 Dec 2012 06:08:23 +0000 (01:08 -0500)]
Add ability to render the subpicture region, but not the text itself
We want to center the subpicture region, but the text itself needs
to be rendered left justified in order to get consistent placement
of captions (e.g. indentation).
Introduce a new alignment type which centers the subpicture, but
not the text it contains within (and enable it for the EIA-608 decoder).
Signed-off-by: Rafaël Carré <funman@videolan.org>
Devin Heitmueller [Thu, 27 Dec 2012 06:08:22 +0000 (01:08 -0500)]
Add support for font height as a percentage of the video height
In order to get consistent EIA-608 caption positioning, we need to be able
to size the fonts based on the size of the video. Add support for
specifying the font height as a percentage of the video.
Signed-off-by: Rafaël Carré <funman@videolan.org>
Devin Heitmueller [Thu, 27 Dec 2012 06:08:19 +0000 (01:08 -0500)]
Make sure font color attribute is quoted.
We need to add quotes to the color attribute for the font tag, or else
the XML parser will choke and the HTML will not be rendered.
Signed-off-by: Rafaël Carré <funman@videolan.org>
Devin Heitmueller [Thu, 27 Dec 2012 06:08:18 +0000 (01:08 -0500)]
Increase the size of the buffer for CC text
Make the buffer larger, since there are more HTML tags in the resulting output
stream.
Signed-off-by: Rafaël Carré <funman@videolan.org>
Devin Heitmueller [Thu, 27 Dec 2012 06:08:17 +0000 (01:08 -0500)]
Fix rendering of HTML reserved characters
If the character in the EIA-608 stream is one of the reserved characters,
escape it accordingly so that the HTML renders properly.
Signed-off-by: Rafaël Carré <funman@videolan.org>
Devin Heitmueller [Thu, 27 Dec 2012 06:08:16 +0000 (01:08 -0500)]
Convert leading whitespace characters to non-breaking spaces
If there are any whitespace characters before the start of text in a row,
convert it to non-breaking whitespace. We do this because the RenderHtml
function will strip any cases of more than one contigious whitespace. The
effect of such is that text that is not left justified will be forced to
the left.
Signed-off-by: Rafaël Carré <funman@videolan.org>
Devin Heitmueller [Thu, 27 Dec 2012 06:08:15 +0000 (01:08 -0500)]
Fix positioning so that the EIA-608 field is properly centered
Because the subpicture field contains all the lines, we need to change the
layout.
Signed-off-by: Rafaël Carré <funman@videolan.org>
Devin Heitmueller [Thu, 27 Dec 2012 06:08:14 +0000 (01:08 -0500)]
Render all rows, even blank ones
We need to render all the rows, or else the placement of popup captions will
not be correct.
The previous code worked fine when rendering text horizontally aligned at the
bottom of the screen, but won't work for a real layout.
Signed-off-by: Rafaël Carré <funman@videolan.org>
Devin Heitmueller [Thu, 27 Dec 2012 06:08:13 +0000 (01:08 -0500)]
Enable HTML renderer for closed captions
We need to use the HTML renderer if we want colors/styles to work
Signed-off-by: Rafaël Carré <funman@videolan.org>
Francois Cartegnie [Sun, 30 Dec 2012 19:47:42 +0000 (20:47 +0100)]
Qt: MainInterface: namespace visibility property
Francois Cartegnie [Sun, 30 Dec 2012 19:23:49 +0000 (20:23 +0100)]
Qt: remove property macro.
According to Qt, props must have a read method
Francois Cartegnie [Sun, 30 Dec 2012 19:22:37 +0000 (20:22 +0100)]
Qt: remove useless disambiguator
Francois Cartegnie [Thu, 20 Dec 2012 14:07:32 +0000 (15:07 +0100)]
Qt: BGWidget: split joke code.
And more :)
David Fuhrmann [Sun, 30 Dec 2012 15:02:53 +0000 (16:02 +0100)]
macosx: show lua intfs in advanced preferences
hack adapted from the qt interface.
close #7876
David Fuhrmann [Sat, 29 Dec 2012 16:33:08 +0000 (17:33 +0100)]
macosx: add mouse scroll support for fullscreen time slider
Ilkka Ollakka [Tue, 18 Dec 2012 14:04:12 +0000 (16:04 +0200)]
transcode: take codec earlier on so codec aliases are handled better, ref #7892
Ilkka Ollakka [Sat, 29 Dec 2012 13:21:43 +0000 (15:21 +0200)]
avcodec: try to find packet sample format for encoding
Ilkka Ollakka [Sat, 29 Dec 2012 13:16:54 +0000 (15:16 +0200)]
avcodec: deinterleave samples if input format for codec is planar
Ilkka Ollakka [Sat, 29 Dec 2012 12:21:04 +0000 (14:21 +0200)]
aout: add deinterleave helper for doing packet->planar for audio samples
Ilkka Ollakka [Tue, 18 Dec 2012 14:00:30 +0000 (16:00 +0200)]
avcodec: split encoding chunks to frame_size portions
avcodec contains codecs that don't like variable size frames, so feed
avcodec with frame_size chunks and and handle leftovers ourself. This
functionality was dropped when flushing was introduced and seemed to
work without just fine, I was proven wrong.
Ilkka Ollakka [Tue, 18 Dec 2012 13:57:16 +0000 (15:57 +0200)]
avcodec: set EncodeAudio/Video at the end
Ilkka Ollakka [Fri, 28 Dec 2012 10:53:30 +0000 (12:53 +0200)]
avcodec: fix codec mapping array size check
Ilkka Ollakka [Sat, 29 Dec 2012 07:37:34 +0000 (09:37 +0200)]
avcodec: set encoding sample format correctly and don't assume S16N
Ilkka Ollakka [Fri, 28 Dec 2012 10:54:39 +0000 (12:54 +0200)]
avcodec: handle planar samples from libavcodec
Ilkka Ollakka [Tue, 18 Dec 2012 13:59:52 +0000 (15:59 +0200)]
avcodec: aout_BitsPerSample uses vlc_fourcc_GetCodec itself, so no need to call it ourselves in here
Denis Charmet [Sat, 29 Dec 2012 14:39:49 +0000 (15:39 +0100)]
Clean the played waveout frames in Play and Stop
Doing it in the callback cause deadlocks.
Adrien Maglo [Sat, 29 Dec 2012 17:52:40 +0000 (18:52 +0100)]
Cleaner way to define the GLSL version number as pointed out by funman.
Adrien Maglo [Sat, 29 Dec 2012 16:58:08 +0000 (17:58 +0100)]
[OpenGL] Fix some wrong logic about GLSL version numbers.
Adrien Maglo [Sat, 29 Dec 2012 16:51:48 +0000 (17:51 +0100)]
[OpenGL] Fix OpenGL glsl shader version numbers.
It seems that standard OpenGL 2.0 requires version number to be equal to 120 contrary to OpenGL ES 2.0 that requires it to be equal to 100.
Adrien Maglo [Fri, 28 Dec 2012 18:23:57 +0000 (19:23 +0100)]
[OpenGL] Make the GLSL shaders compatible with OpenGL ES 2.0
Edward Wang [Sat, 29 Dec 2012 02:19:35 +0000 (21:19 -0500)]
media_list_player: implement MediaListPlayerStopped
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Denis Charmet [Fri, 28 Dec 2012 18:30:01 +0000 (19:30 +0100)]
Initialize codecs after track parsing and not before the selection.
This avoid leaks at segment changes.
Felix Paul Kühne [Fri, 28 Dec 2012 20:26:16 +0000 (21:26 +0100)]
macosx/CAS: Rename 'Convert & Save' to 'Convert and Stream'
Felix Paul Kühne [Fri, 28 Dec 2012 20:02:41 +0000 (21:02 +0100)]
macosx/CAS: add MKV to the black list for HTTP streaming
Felix Paul Kühne [Fri, 28 Dec 2012 19:47:02 +0000 (20:47 +0100)]
macosx/CAS: added final error checks (close #5900)