Claudio Cambra
1698eb9e7f
macosx: Use custom attributed string with playing item name and artist in main library window control bar
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
370e006862
macosx: Update display components showing current media item when the media item changes, rather than on every single tick
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
ec54b314fc
macosx: Rename the songNameTextField outlet to more accurate playingItemDisplayField
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
7e3b86b8db
macosx: Use only one textfield for song name and artist name in VLCLibraryWindow XIB
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Thomas Guillem
4b8cc4971d
omxil: handle mpeg2 in convert_omx_to_profile_idc()
Fixes #20873
3 years ago
Thomas Guillem
eb0e5fb4f1
mediacodec: use convert_omx_to_profile_idc() for all codecs
Refs #20873
3 years ago
Thomas Guillem
275a1bcb2c
omxil: handle hevc in convert_omx_to_profile_idc()
Refs #20873
3 years ago
Thomas Guillem
5bec0a0d47
mediacodec: also pass vlc_foucc_t to MediaCodec_GetName()
Alongside the codec mimetype.
Refs #20873
3 years ago
Thomas Guillem
19bdb73319
omxil: prepare convert_omx_to_profile_idc() to handle more codecs
Refs #20873
3 years ago
Thomas Guillem
0d4830504f
omxil: remove unused function
3 years ago
Francois Cartegnie
11d7708b1a
codec: libass: patch info for compatibility
refs #27771
3 years ago
Maxime Chapelet
2837692900
contrib: soxr: fix neon detection for aarch64 hosts
What we have :
Given the cmake simd detection module check `CMAKE_SYSTEM_PROCESSOR` to match "arm" prefixed hosts
When `DETECT_SIMD32_C_FLAGS` test is performed by cmake for aarch64 Darwin hosts
The test fails and `WITH_CR32S` is defined to 0 in `soxr-config.h`
What is expected :
Given the cmake simd detection module check `CMAKE_SYSTEM_PROCESSOR` to match "aarch64" hosts
When `DETECT_SIMD32_C_FLAGS` test is performed by cmake for aarch64 Darwin hosts
The test succeeds and `WITH_CR32S` is defined to 1 in `soxr-config.h`
When soxr is used on Darwin arm64 platforms (iOS, macOS on Apple Silicon), the expected resampler engine to be used is cr32s.
Without this patch, cr32 is used instead, because in `soxr-config.h`, `WITH_CR32S` is defined to 0.
Considering we use "aarch64" for Darwin arm64 hosts in contribs, these changes are an attempt to fix this.
3 years ago
Claudio Cambra
31c3f00de7
macosx: Update grid vs list view mode segmented control on view changes
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
103779c5c1
macosx: Ensure media source data source sets view mode dependent on the specific media source mode
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
2d90877af3
macosx: Guard against storing and retrieving bad view mode values in settings
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
979a0ca922
macosx: Split main title segmented control and gridvslist segmented control actions into two separate methods
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
f06cf5bcb2
macosx: Remove now unneeded resetting of gridvslistsegmentedcontrol target and action
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
71b9904886
macosx: Use new library window preferences singleton to get view mode in media source views
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
63f8ac1754
macosx: Don't encode view mode in library window restorable state now that it is stored in user defaults
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
229e9567cc
macosx: Use new library window preferences to set the view mode in video view controller
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
b6f82edafc
macosx: Use new library window preferences to set gridvslist view mode in audio view controller
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
2d7805ca76
macosx: Store changes in library view mode using the new preferences class
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
1c334ccfa9
macosx: Make VLCLibraryWindowPersistentPreferences a singleton
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
1c915e7dd1
macosx: Use existing view mode enum in VLCLibraryWindow for preferences
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
9d1d986f64
macosx: Add custom getters for new library window preferences
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
65f634a30f
macosx: Add custom setters for new library window preferences
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
f36125ebd2
macosx: Add properties to VLCLibraryWindowPersistentPreferences for new preferences
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
d6c83cc1bc
macosx: Add generic getter for library window view mode settings
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
ede562dbca
macosx: Add convenience method to get full library window preference key
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
95b0bb6503
macosx: Add generic setter for setting in VLCLibraryWindowPersistentPreferences
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
e1ee0c63c5
macosx: Add enum for library view mode
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
1a7fefffa1
macosx: Add VLCLibraryWindowPersistentPreferences class
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Thomas Guillem
3f3b98b651
mediacodec: set low-latency in case of "low-delay"
Available since API level 30.
This won't have any effects before API level 30.
3 years ago
Tristan Matthews
acc89d42a5
contrib: rav1e: update to 0.6.4
3 years ago
Claudio Cambra
921a6a5032
macosx: Constify pointers in VLCMainVideoViewControlsBar
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
cf45b7a74c
macosx: Add tooltips to subtitle and audio settings buttons
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
27290173d5
macosx: Simplify audio and subtitle button handling as we are showing the full menu
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
729f31d393
macosx: Open audio menu when clicking audio menu button in main video view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
30f099090d
macosx: Open subtitles menu when hitting subtitles button
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
e6cdd3e32d
macosx: Update visibility of tracks buttons when current media item changes or tracks are changed
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
21c17407d3
macosx: Hide audio tracks button when there are no subtitle tracks available
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
3d8f20a005
macosx: Hide subtitle button when there are no subtitle tracks available
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
1e6256b44d
macosx: Enable bookmarks button in main video view to toggle bookmarks window
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
781b30cc45
macosx: Add a VLCMainVideoViewControlsBar
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
5b9b1e3cbf
macosx: Add button cluster next to volume slider in VLCMainVideoView UI
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
68455f9546
macosx: Ensure fullscreen button is hidden and not just resized when native fullscreen enabled, fixing visual bug in control bar
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Francois Cartegnie
ed97dd9fb8
packetizer: h264: add all sps/pps sets to extradata
3 years ago
Francois Cartegnie
d8898afb15
packetizer: h264: refactor gathering sps/pps
3 years ago
Francois Cartegnie
21a329cc70
packetizer: h264: refactor sps/pps handling
3 years ago
Francois Cartegnie
c85581f423
packetizer: h264: add h264_get_xps_id shortcut
3 years ago