1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-04 09:11:33 +02:00
Commit Graph

92252 Commits

Author SHA1 Message Date
Prince Gupta
db1abbe031 qml: add tooltip to subtitle of GridItem 2022-04-04 15:18:43 +05:30
Prince Gupta
33f6aef5ce qml: handle mouse hover and tooltip directly in ScrollingText widget 2022-04-04 15:18:40 +05:30
Prince Gupta
c29b1a255c qml: implement Helpers.contains 2022-04-04 15:08:03 +05:30
Francois Cartegnie
030c3045f4 freetype: android: process formatted text nodes
Trims filenames as they are not stored as attributes.

Also removes incorrect asprintf 0 return value handling
2022-04-03 20:54:16 +00:00
Thomas Guillem
c9a6381d60 aout: don't flush before stop
Only reset the clock and filters.

Every aout modules must be able to stop without having a flush first.
2022-04-03 20:31:32 +00:00
Thomas Guillem
00cde9696e aout: move stream_Reset()
To avoid forward declarations.
2022-04-03 20:31:32 +00:00
Thomas Guillem
a033bdba31 aout: split vlc_aout_stream_Flush
In order to split stream_Reset() and aout->flush().

The aout is now flushed before resetting filters and clocks but it should
not have any impacts.
2022-04-03 20:31:32 +00:00
Thomas Guillem
beaf107e4a amem: flush from stop
Because the documentation says that flush is called when stopped.
2022-04-03 20:31:32 +00:00
Thomas Guillem
0ed383a422 decklink: flush from stop
The stop cb was only resetting some variables. Also flush from stop
since the flush cb won't necessarily be called before a stop.
2022-04-03 20:31:32 +00:00
Thomas Guillem
338d4a1f15 adummy: reset variables from stop 2022-04-03 20:31:32 +00:00
Pierre Lamot
0768eef6ce qt: fix warning when generating RoundImage with no source
fix: #26671
2022-04-03 16:39:51 +00:00
Pierre Lamot
5143536264 qt: fix model not refreshed when filter or parent is changed
invalidating the cache doesn't update the filter/sort order of the loader.
Changing the parent or the sort order completely change the model, so a reset is
preferable in the general case.
2022-04-03 15:38:18 +00:00
Zhao Zhili
2c1f181ea3 demux: h26x: relax requirement on AUD
According to the spec, when an AUD is present, it shall be the
first NAL unit. However, many samples don't follow this rule.
2022-04-03 14:43:34 +00:00
Francois Cartegnie
95f144cec2 demux: adaptive: fix relative merge last segment duplication 2022-04-03 13:56:55 +00:00
Prince Gupta
f34f5a77a9 qml: fix network addressbar home button
Widgets.PageLoader/StackViewExt: load default page if viewProperties is empty

fixup 9457692d9a
2022-04-03 13:33:11 +00:00
Alaric Senat
5f20a2b4bc contrib: upnp: remove --without-documentation
This configure flag was dropped in 1.8.
See pupnp upstream 8abbd63b9a8190bcbbbbcbcff5cdbaaf83fbe99a
2022-04-03 11:57:52 +00:00
Alaric Senat
48cf701329 contrib: upnp: rename config options variable
Adding the `UPNP_` prefix just like the other variables will avoid
potential namespaces conflicts.
2022-04-03 11:57:52 +00:00
Alaric Senat
cb610b5bfa contrib: upnp: unify CONFIGURE_ARGS 2022-04-03 11:57:52 +00:00
Alaric Senat
4b31cb6942 contrib: upnp: update to 1.14.11
libupnp 1.6 is starting to get really old and caused bugs recently with
the new winpthread rework for contribs.

Added contrib patches:
  - revert-ifaddrs.patch (revert changes breaking android)

Removed contrib patches:
  - 0001-Do-not-try[...]           -> Fixed upstream by 386b7ed7
  - dont_use_down_intf.patch       -> Fixed upstream by 1f2e3b88
  - fix_infinite_loop.patch        -> Fixed upstream by 4367cbfa
  - libpthread.patch               -> Replaced
  - missing_win32.patch            -> Fixed upstream by 02bb90c5
  - no-getifinfo.patch             -> Fixed upstream by 0296c3cd
  - use-inet-pton.patch            -> Fixed upstream by 44cdeeb7
  - use-unicode.patch              -> Fixed upstream
  - windows-random.patch           -> Fixed upstream by 44e092a6

Edited patches (mostly to fit the new sources):
  - miniserver.patch
  - upnp-no-debugfile.patch
  - pthread-w32-checks.patch (Partially fixed upstream by e0f44dd9)
  - libupnp-win32.patch (Partially fixed upstream)
  - libupnp-win64.patch (Partially fixed upstream by 421d5d28)
  - windows-version-inet.patch
  - libupnp-win32-exports.patch

Renamed patch:
  - pthread-w32-force -> pthread-force (Gets applied to linux too now)
2022-04-03 11:57:52 +00:00
Alaric Senat
cf47ddcc74 contrib: upnp: remove unapplied winrt patch
This patch was never used.
2022-04-03 11:57:52 +00:00
Alaric Senat
d9d32eeb61 upnp: prioritize UpnpInit2() over UpnpInit()
`UpnpInit` is deprecated since 1.8 and removed in 1.14. `UpnpInit2`
offer a better replacement, working for both ipv6 and ipv4. There is no
reason to keep using `UpnpInit` apart from keeping the module usable
with 1.6.
2022-04-03 11:57:52 +00:00
Alaric Senat
aaef25ce7a upnp-wrapper: remove pointless #if guards
These functions are inline and will be removed by the compiler anyway if
unused. The #if guards add unecessary compexity.
2022-04-03 11:57:52 +00:00
Alaric Senat
36ca47ff57 vlc_fifo: rename _Release to _Delete
"Release" usually imply that the object is refcounted in recents VLC
naming conventions. "Delete" or "Destroy" is more common and less
misleading for non-shared objects such as `vlc_fifo_t`.
2022-04-02 13:48:38 +00:00
Hugo Beauzée-Luyssen
0c6b776e0f configure: Bump required medialibrary version 2022-04-02 12:48:25 +00:00
Hugo Beauzée-Luyssen
b4a3ecc23f contrib: Bump medialibrary to 0.11.2
The list of changes can be found at
https://code.videolan.org/videolan/medialibrary/-/milestones/13
2022-04-02 12:48:25 +00:00
Fatih Uzunoglu
63033c7cb7 qt: use singleton in OpenDialog 2022-04-02 09:35:29 +00:00
Fatih Uzunoglu
960a101ec8 qt: use Singleton in ExtensionsManager 2022-04-02 09:35:29 +00:00
Fatih Uzunoglu
824a3f8173 qt: use Singleton in ExtensionsDialogProvider 2022-04-02 09:35:29 +00:00
Fatih Uzunoglu
5b97f4cc32 qt: use Singleton in DialogsProvider 2022-04-02 09:35:29 +00:00
Fatih Uzunoglu
260eb14255 qt: use variadic template in Singleton to allow generic types 2022-04-02 09:35:29 +00:00
Prince Gupta
6c90087263 qml: fix mouse selection not working in title column of table view
don't capture mouse clicks in hoverhandler of title col delegate

fixup 10e096a3a5
2022-04-02 09:13:11 +00:00
Prince Gupta
edecde7b0e qml: fix mouse selection not working in default column in table view
don't capture mouse clicks in hoverhandler of default col delegate

fixup e2440608e0
2022-04-02 09:13:11 +00:00
Fatih Uzunoglu
4333661cdf qt: remove unnecessary member in RoundImage 2022-04-01 12:24:27 +00:00
Fatih Uzunoglu
88c518596b qt: remove getPath() from RoundImage 2022-04-01 12:24:27 +00:00
Fatih Uzunoglu
38c2a7ecbf qt: avoid explicit QPainter calls in RoundImage 2022-04-01 12:24:27 +00:00
Fatih Uzunoglu
9cbeacfcf7 qt: handle case when radius is 0 in RoundImage 2022-04-01 12:24:27 +00:00
Fatih Uzunoglu
f2df0011a4 qt: prefer Format_ARGB32_Premultiplied to Format_ARGB32 in RoundImage 2022-04-01 12:24:27 +00:00
Benjamin Arnaud
7ab09b01b3 qml/ControlbarControls: Add BOOKMARK_BUTTON 2022-04-01 09:52:14 +00:00
Benjamin Arnaud
6074a42931 qml/controlbarcontrols: Create BookmarkButton 2022-04-01 09:52:14 +00:00
Benjamin Arnaud
cc16cb9b1e qt/BookmarkMenu: Update to ListMenuHelper implementation 2022-04-01 09:52:14 +00:00
Benjamin Arnaud
c58c340df5 qt/qml_menu_wrapper: Create QmlBookmarkMenu 2022-04-01 09:52:14 +00:00
Benjamin Arnaud
b4ad095f39 qt/player_controller: Add the 'getPlayer' function 2022-04-01 09:52:14 +00:00
Benjamin Arnaud
cd3dfa4e69 qt/custom_menus: Create ListMenuHelper
Co-authored-by: Pierre Lamot <pierre@videolabs.io>
2022-04-01 09:52:14 +00:00
Benjamin Arnaud
1f61542b5f qt/pixmaps/toolbar: Add bookmark icon 2022-04-01 09:52:14 +00:00
Steve Lhomme
bd124a4147 modules: remove unneeded vlc_fixups.h include
It's already included by config.h
2022-03-31 13:36:40 +00:00
Romain Vimont
25d66728eb opengl: simplify swizzle
The commit ca7d2ea4b6 introduced an xyzw
swizzle, whereas the previous code was using an rgba swizzle. No other
location used the xyzw swizzle for texture so unify and use rgba
everywhere.

Different version from aa5bec3b49
2022-03-31 13:21:02 +00:00
Alexandre Janniaux
802f36cf10 Revert "opengl: fix swizzle"
GL_LUMINANCE_ALPHA textures should be sampled through r and a swizzle
since it has a `(L,L,L,A)` layout.

This reverts commit 05f292874d.

Fixes #26767
Reintroduce #26735
2022-03-31 13:21:02 +00:00
Alexandre Janniaux
9251bc3480 Revert "opengl: simplify swizzle"
The swizzle of the texture should be different between
GL_LUMINANCE_ALPHA textures and GL_RG textures.

This reverts commit aa5bec3b49.

Refs #26767
2022-03-31 13:21:02 +00:00
Pierre Lamot
7e47fa5242 qt: add missing virtual destructor 2022-03-31 08:05:41 +00:00
Felix Paul Kühne
643fee9b6a upnp: implement IPv4 host IP lookup for AppleOS
This adds an additional info line to match the IPv6 implementation.
2022-03-30 18:28:33 +00:00