It was impossible to scroll in the About Scroll Views as the code
was doing automatic scrolling. This patch removes all the related
code and introduces a new NSClipView subclass that handles the
automatic scrolling. If it detects that the user scrolls, the
animation is stopped and the user can scroll it as he wishes.
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Remove the primary state of the "Change" button in the simple preferences
shotcut view, as the window already has a primary button, which is the one
to apply the settings. Having two buttons as primary buttons is bad UX
and very confusing as it's unclear which button will be triggered when
hitting the enter key.
Given that the "Change" button was not triggered by the enter key anyway,
this should not cause any app behavior changes.
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
We can't use stream_Memory as xmlreader backend if we don't load the whole
file into memory, and that's not possible because we're probing.
(xmlread can't load incomplete documents)
This reverts commit 7ce48b0dd1.
Can now flush buffers on demux restart.
Do align pcr after sending to decoders instead of always incrementing
by the target value (avoid dropping blocks across segments on restart).
Always issue a fakees to demuxer, then recycle on execution.
Avoids double deletion with duplicate Del commands (demuxer 0..n+self n).
Can now handle HLS discontinuities.
Drops the streamoutput layer.
The FCC defines a "safe area" for caption rendering to be 80% of the
window height. This patch changes it from 75% to 80%, and fixes a
bug in the original math due to integer arithmetic (the result of
(100/16 got truncated):
Original math:
100 / 16 * 8 / 10 = 4.8
Fixed math:
100 * 8 / 10 / 16 = 5
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-----
CXX demux/adaptative/plumbing/libadaptative_plugin_la-CommandsQueue.lo
In file included from f:/lang/gcc/usr/local492/include/c++/4.9.2/atomic:38:0,
from ../include/vlc_atomic.h:221,
from demux/adaptative/plumbing/CommandsQueue.hpp:29,
from demux/adaptative/plumbing/CommandsQueue.cpp:20:
f:/lang/gcc/usr/local492/include/c++/4.9.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \
^
In file included from f:/lang/gcc/usr/local492/include/c++/4.9.2/atomic:41:0,
from ../include/vlc_atomic.h:221,
from demux/adaptative/plumbing/CommandsQueue.hpp:29,
from demux/adaptative/plumbing/CommandsQueue.cpp:20:
f:/lang/gcc/usr/local492/include/c++/4.9.2/bits/atomic_base.h:74:3: error: 'constexpr' does not name a type
constexpr memory_order
^
...
-----
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Sometimes, especially at quit, vlc_cond_(timed)wait() may be called
very frequently. And this may exceed the limit the post count of
OS/2 event semaphore. As a result, waiting thread numbers cannot be
calculated properly.
To avoid this, increase/decrease waiting thread numbers in
vlc_cond_wait_common() instead of separating it into vlc_cond_signal()
and vlc_cond_wait_common().
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>