Be more stringent on what it means to be tightly-coupled for two layouts.
Note that directly resizing a playout should not be allowed. Only the skins2
windows manager should be authorized to do it, since other issues are at stake
(anchors, min/max constraints, ....). Yet, this new isTightlyCoupledWith() now
ensures that two layouts are truly identical from the windows manager's
perspective, and thus avoids possible and undesirable side effects.
Martin Storsjö [Tue, 2 Apr 2013 13:28:47 +0000 (16:28 +0300)]
contrib: gmp: Patch away the ansi2knr mentionings
The latest automake versions (as built by extras/tools) have
removed support for ansi2knr altogether, so this is required for
reconfiguration to work. We still need to do the reconf since the
host system ANSI check in the tarball is broken.
Martin Storsjö [Mon, 1 Apr 2013 21:08:31 +0000 (00:08 +0300)]
contrib: Set _CMAKE_TOOLCHAIN_PREFIX
This is required for detecting ar and ranlib properly, required
e.g. when cross compiling for android from OS X.
One can't set CMAKE_AR or CMAKE_RANLIB directly. Normally they
should be set properly automatically within cmake, but those
codepaths seem to be skipped when we set the C/CXX compilers
manually.
skins2: fix video not properly tied to the right video control
Certain skins like wmp12 may fail to deal with video controls in some
corner cases. For this skin, no window was set visible and the skin
engine eventually fell back to force the first window to become visible.
This patch is expected to fix trac #8368 (need to be tested on windows)
Martin Storsjö [Mon, 1 Apr 2013 19:55:11 +0000 (22:55 +0300)]
contrib: Fix a bug in the old gmp configure script
The brackets in the config test aren't properly escaped, and thus
don't end up in the final configure script as intended.
When building on a system where the system default compiler is clang,
clang can fail due to the main signature
"int main(int argc, char *argv)" being invalid,
which makes configure believe that the system compiler isn't
ANSI compliant, and it tries to invoke (broken) ANSI2KNR code.
Martin Storsjö [Mon, 1 Apr 2013 08:50:55 +0000 (11:50 +0300)]
opengl: Allow using the RGBA shader for the main picture
So far, the RGBA shader has only been used for the subpictures.
On ES2, the fixed function pipeline is not available, so we need to
use the shader for drawing the main picture even if it is RGBA.
http intf: Manage Streams: Create Mosaic: Capitalize first letter, remove : in the first column. All except 'Row/Column Border' occur at different places as well
Ilkka Ollakka [Mon, 1 Apr 2013 10:41:31 +0000 (13:41 +0300)]
avcodec: cleanup encodeAudio
Handle better cases when we don't have input frame size
same as encoder input frame size. Also gather input samples
untill we get full frame fillet and not just next block.
Set length based on used samples and not frame_size
Also try to make memory calculations cleaner so they don't
overshoot and write stuff all over.
Forcefully resizing only makes sense when layouts were designed to be similar
in size in the first place. Furthermore, it cuts off a larger layout if a
smaller one is first defined when loading a skin.
Ideally, the skins2 dtd should be extended for skins developers to explicitly
express whether two layouts are tightly-coupled or not, i.e should always be
kept the same size whatever the subsequent resizing performed by the user.
Erwan Tulou [Sun, 31 Mar 2013 23:54:55 +0000 (01:54 +0200)]
skins2: add a function that differentiates dependent and independent layouts.
In skins2, a window can have multiple layouts with two different goals.
First goal, layouts have the same original size and only differ in the
presentation (different color, ...). If the active layout gets resized,
the user expects the related inactive layouts with the same size to
automatically resize, should they become active.
Second goal, layouts are different in size, e.g a reduced layout and an
expanded layout. In this case, resizing the active layout doesn't mean
resizing the other inactive layouts, since they were not meant to be
similar in size in the first place.
This patch creates a function that will be used to differentiate these
two different use of layouts.
Erwan Tulou [Sat, 30 Mar 2013 18:38:32 +0000 (19:38 +0100)]
skins2: improve $N text variable
Instead of hardcoding what we think the name of the current item is, make it
configurable via the --input-title-format parameter.
This change makes skins2 more consistent with qt4 that already uses this
means to set the title of the main window.
Default display will now be "artist + title" instead of just "title".
Users who would still prefer the previous behaviour can get it with
--input-title-format '$t'
This fixes a request described at http://forum.videolan.org/viewtopic.php?f=15&t=108976
Zoran Turalija [Sat, 30 Mar 2013 07:52:18 +0000 (08:52 +0100)]
dtv: More detailed DiSEqC error messages.
Error messages were reused from time when there was no uncommitted
switch support. Now we have support for this feature, and we can
supply better error messages, because we know in more details what
has happened at times when error occured.
Zoran Turalija [Thu, 28 Mar 2013 13:46:05 +0000 (14:46 +0100)]
Add hotkeys to cycle through previous/next program SIDs.
Change "cycle through program SIDs" to support cycle both ways (prev/next).
With this commit, it is possible e.g. to quickly change between neighbor
program SIDs back and forth in multi-program stream like DVB streams using
default x/Shift+x keys.
Janne Grunau [Wed, 27 Mar 2013 16:05:44 +0000 (17:05 +0100)]
avcodec: hw accel with frame multithreading works since libavcodec 55.01.00
This is mostly useful if the hw accelerator cannot handle the stream.
The software decoder fallback will then use frame multithreading if it
supports it.
Default size was wrong.
Text was really hard to real in that tiny box: lots of line breaks and
scrollbars. Text should fit in a single viewport.
Max size has been increased to 500, screen assumed at least 640px wide.
Zoran Turalija [Mon, 25 Mar 2013 20:01:39 +0000 (21:01 +0100)]
avcodec: Correct macro definition in LIBAVUTIL_VERSION_CHECK.
Use parenthesis around the expression returned in LIBAVUTIL_VERSION_CHECK,
to avoid problems that can arise in future with some ways macro may be used.
Same as what has been done in LIBAVCODEC_VERSION_CHECK.
Zoran Turalija [Mon, 25 Mar 2013 09:40:01 +0000 (10:40 +0100)]
avcodec: Compile again with FFmpeg libavcodec library.
Make fails when using FFmpeg libavcodec version newer than checked by
LIBAVCODEC_VERSION_CHECK, because of redeclaration of many enumerators,
that are unnecessary with newer version of libavcodec library.
It is due to missing parenthesis in macro definition that are making
it wrong.