Commit Graph

54483 Commits

Author SHA1 Message Date
Lyndon Brown b4e6354412 configure: purge MMX/MMXEXT
the line removed from avcodec appears to just be a stray and
obsolete code remenant.
2021-08-01 14:08:51 +00:00
Lyndon Brown 9fdfdd302b libmpeg2: fix PPC regression
00d1f50eff introduced a regression for PPC
since the `signal()` based detection for altivec in libmpeg2 is not thread
safe unlike our own. here we restore use of our own detection for PPC,
bypassing libmpeg2's unsafe auto-detection otherwise triggered in
`mpeg2_init()`.

fixes #25948.
2021-07-31 18:30:07 +00:00
Prince Gupta 4733f33e6d qml/MiniPlayer: update tint color 2021-07-31 14:22:03 +00:00
Prince Gupta f917cea7ce qml/MusicAlbumsGridExpandDelegate: use 'expandDelegate' color constant for background 2021-07-31 14:22:03 +00:00
Prince Gupta 84b568ee9e qml/VideoInfoExpandPanel: use 'expandDelegate' color constant for background 2021-07-31 14:22:03 +00:00
Prince Gupta 6bd293413b qml/VLCColors: add 'expandDelegate' color constant 2021-07-31 14:22:03 +00:00
Prince Gupta cbb464bcd8 qml/VideoInfoExpandPanel: use 'border' color constant 2021-07-31 14:22:03 +00:00
Prince Gupta fe941e855a qml/MusicAlbumsGridExpandDelegate: use 'border' color constant 2021-07-31 14:22:03 +00:00
Prince Gupta 3f12e672d4 qml/MusicArtistAlbums: add left border in artists list 2021-07-31 14:22:03 +00:00
Prince Gupta 2700ed65f6 qml/MainDisplay: add left border in PlaylistListView column 2021-07-31 14:22:03 +00:00
Prince Gupta 8ce0950121 qml/VLCColors: rename 'bannerBorder' to 'border'
this will be reused in different parts as well
2021-07-31 14:22:03 +00:00
Prince Gupta fb1fd83a0a qml/BannerSources: use 'lowerBanner' color constant 2021-07-31 14:22:03 +00:00
Prince Gupta 0e6f0318ee qml/VLCColors: introduce 'lowerBanner' color constant
defines background color for local toolbar section of
BannerSources
2021-07-31 14:22:03 +00:00
Prince Gupta 649002828b qml/VLCColors: rename 'banner' to 'topBanner' 2021-07-31 14:22:03 +00:00
Prince Gupta f8da545c0a qml: update day theme
update banner and bgAlt contants
2021-07-31 14:22:03 +00:00
Prince Gupta 136839ed90 qml/PlaylistListView: update background color
use 'bgAlt' constant for background color
2021-07-31 14:22:03 +00:00
Prince Gupta 526cd11414 qml: update night theme 2021-07-31 14:22:03 +00:00
Fatih Uzunoglu 829a188d96 qml: better focus handling in player toolbar
fixes #25748
2021-07-31 09:07:08 +00:00
Fatih Uzunoglu 85e9a3b0be qml: fix typo in MiniPlayer 2021-07-31 09:07:08 +00:00
Fatih Uzunoglu 78e0394a7f qml: use attached navigation in progressbar 2021-07-31 09:07:08 +00:00
Fatih Uzunoglu dd8945e707 qml: fix controlbar keyboard navigation regression
recent introduction of Loaders broke the navigation.
This patch intends to fix the regression.

fixes #25762.
2021-07-31 09:07:08 +00:00
Prince Gupta 2ba001e7c2 qt, windows: fix maximized window in CSD
fixes cut off edges in maximized window when using CSD
2021-07-30 14:49:34 +00:00
Prince Gupta ddee28f532 qml/CSDTitelbarTapNDrapHandler: fix incorrect function call 2021-07-30 14:49:34 +00:00
Lyndon Brown caab17f1d0 qt: fix tabstop ordering for effects video subpanels
fixes one of the accessibility issues reported in #25896.
2021-07-30 12:55:30 +00:00
Fatih Uzunoglu 4d54a7fd99 qt: mark properties with 'final' when applicable
in the qt codebase properties are often used but they are not
overridden by a derived class.

according to the Qt docs, the presence of final attribute can
be used for performance optimizations.
2021-07-30 10:32:19 +00:00
Fatih Uzunoglu 1da3d0d46f qml: add missing readonly specifiers in VLCStyle 2021-07-30 10:32:19 +00:00
Fatih Uzunoglu d9974ced63 qml: use proper QtQuick.Layouts version for import 2021-07-30 10:32:19 +00:00
Fatih Uzunoglu 253a9e6087 qml: regenerate VLCIcons.qml 2021-07-30 10:32:19 +00:00
Fatih Uzunoglu b9bde619a1 qml: use proper QtQuick version for import in VLCIcons generator 2021-07-30 10:32:19 +00:00
Fatih Uzunoglu ae36314ad2 qml: add missing readonly specifiers in VLCIcons generator 2021-07-30 10:32:19 +00:00
Fatih Uzunoglu 0badc83076 qml: regenerate VLCIcons.qml 2021-07-30 08:25:22 +00:00
Fatih Uzunoglu d6556e3ec7 qml: make VLCIcons QtObject in VLCIcons generator 2021-07-30 08:25:22 +00:00
Fatih Uzunoglu 7640564357 qml: make VLCStyle QtObject 2021-07-30 08:25:22 +00:00
Prince Gupta fe12285fa6 qml: implement drag support in MusicTrackListDisplay
replaces drag support from MusicTracksDisplay. This way it can be reused
in places where MusicTrackListDisplay is used like in expand delegates
2021-07-30 08:03:16 +00:00
Prince Gupta b23f655d23 qml/MusicArtistsAlbums: support drag to playlist of Music Artists 2021-07-30 08:03:16 +00:00
Prince Gupta e0e7911a05 qml: use AnimatedBackground in Artist list 2021-07-30 08:03:16 +00:00
Prince Gupta 712e5f2dc0 qml/MusicArtistsAlbums: fix identation 2021-07-30 08:03:16 +00:00
Prince Gupta 6bdc64f40e qml: refactor MusicAllArtists view in separate file 2021-07-30 08:03:16 +00:00
Prince Gupta 8bf4d27263 qt: cleanup configuration on termination
fixes #25902
fixup 7a00ed44fb
2021-07-30 07:27:34 +00:00
Jérémy VIGNELLES 8db20416ea hls: Increase the precision of the time scale
duration computations were made with precision loss, which add up and leads to unprecise seeking if the stream is really long (like a day or two)
ref : https://mailman.videolan.org/pipermail/vlc-devel/2019-September/127759.html
2021-07-29 11:14:48 +00:00
Alexandre Janniaux 1a2f550dd2 adaptive: BufferingLogic: fix typo in check
../../modules/demux/adaptive/logic/BufferingLogic.cpp: In member function ‘uint64_t adaptive::logic::DefaultBufferingLogic::getLiveStartSegmentNumber(adaptive::playlist::BaseRepresentation*) const’:
../../modules/demux/adaptive/logic/BufferingLogic.cpp:363:30: warning: ‘this’ pointer is null [-Wnonnull]
  363 |         if(!timeline->isValid())
      |             ~~~~~~~~~~~~~~~~~^~

Typo from 573752cfad
2021-07-28 09:31:15 +00:00
Francois Cartegnie 2396e15bd5 demux: hls: fix AAC regression with "es" demuxer
For some reason AAC is not part of the probing sequence,
it then can't activate without shortcut/forced naming.
2021-07-27 09:07:45 +00:00
Zhao Zhili ac74ad3b28 macosx: let git ignore Nib files 2021-07-25 13:37:58 +00:00
Lyndon Brown 00d1f50eff libmpeg2: switch SIMD selection to auto-detect mode
this:
 - enables SSE2 (when available at runtime), which was added 13 years ago
   ([1]) but we never enabled use of it until now.
 - removes use of the MMX/MMXEXT availability testing functions, helping
   pave the way towards our goal of purging all MMX/MMXEXT code.
 - makes the code cleaner and reduces maintenance burden.
 - allows us to pick up use of new SIMD variant additions, if any more are
   ever added (unlikely) without having to explicitly add code to enable it.

as pointed out in review, the `mpeg2_init()` call makes a call to
`mpeg2_accel()` with `MPEG2_ACCEL_DETECT` itself, so there is no need to
make such a call ourselves, thus the `mpeg2_init()` call alone is
sufficient. the entire code block can thus be safely removed.

[1]: c80d1dc2f1
2021-07-24 07:11:06 +00:00
Benjamin Arnaud b83abff28f qml: Update to VLCStyle duration implementation 2021-07-23 12:04:08 +00:00
Benjamin Arnaud 75470d892b qml/VLCStyle: Add speed and duration(s) 2021-07-23 12:04:08 +00:00
Benjamin Arnaud e8df4b1d70 qml/BannerSources: Update look and feel 2021-07-23 10:53:23 +00:00
Prince Gupta 9cec201b26 qt: introduce auto color scheme on windows
new "auto" color scheme automatically switches between "day" and
"night" color scheme based on system settings

available color schemes -

on windows: auto, day, night

other: system, day, night

Closes #25590
2021-07-23 09:09:32 +00:00
Prince Gupta d2c7abb66a qt: update ColorSchemeModel implementation
* Identify Color Scheme via enum
* Move available color scheme defination to cpp side

This is done to introduce "auto" color scheme
2021-07-23 09:09:32 +00:00
Lyndon Brown 8120446697 x264/x262: purge obsolete disable-SIMD bits
a call made to `x264_param_default[_mpeg2]()` triggers cpu feature
detection built into the x262/x264 lib, setting up the default value of the
cpu flags 'param' attribute. the block of code deleted here pointlessly
tried to subsequently remove a certain subset of flags from this where the
vlc detection found those features to not be available.

this dates back to before VLC v1.2 when we had core options that gave users
a means of disabling use of individual SIMD variants - this block of code
would apply such user choices to the use of the x262/x264 lib.

those options were removed in 1081b213dc for
v1.2, but blocks of code like this were left behind. some adjustments to
the cpu detection code were done for v1.3, which touched these code blocks,
but seems to not have involved evaluating their necessity.

without those old options, this block of code is utterly pointless,
achieving nothing.
2021-07-23 05:18:30 +00:00