Alexandre Janniaux
4923761488
qt: link against the Qt iOS platform
7 months ago
Alexandre Janniaux
342bd9d2d2
qt: qt6.pro: add qios platform for ios target
7 months ago
Alexandre Janniaux
f8614fb660
qt: Makefile.am: restrict Cocoa to macos
HAVE_DARWIN applies to all Apple platforms (macOS, iOS, tvOS, watchOS,
visionOS), while HAVE_OSX is macOS-specific. The Cocoa framework
(AppKit) is only available on macOS.
7 months ago
Alexandre Janniaux
a07e6deb5f
qt: disable vlc-qt-check on iOS/tvOS/visionOS
Process spawning via posix_spawn is not allowed on iOS platforms.
The vlc-qt-check helper spawns a separate process to verify Qt
functionality, which fails on iOS/tvOS/visionOS.
The Qt interface will initialize directly without the pre-check on
these platforms.
7 months ago
Alexandre Janniaux
df1dfd16ae
qt: Makefile.am: disable vlc-qt-check on iOS/tvOS/xrOS
7 months ago
Claudio Cambra
f39b1c2ca2
macosx: FInish leveraging intended methods for button cell customisation in VLCLibraryHomeViewActionsView
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
7 months ago
Claudio Cambra
806ee58c12
macosx: Break away bezel rendering in action button cell into drawBezel
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
7 months ago
Claudio Cambra
9daf4438b7
macosx: Break away title rendering in action button cell into drawTitle
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
7 months ago
Claudio Cambra
6ef7f72c54
macosx: Break away image rendering in aciton button cell into drawImage
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
7 months ago
Claudio Cambra
74dae2f6fb
macosx: Store and cache title attributes and height in VLCLibraryHomeViewActionButtonCell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
7 months ago
Claudio Cambra
d2db1d61e4
macosx: Clarify meaning of 'unknown' in media type/subtype string
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
7 months ago
Claudio Cambra
24b8d69983
macosx: Simplify favorites list update handling
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
7 months ago
Claudio Cambra
dfe83d595b
macosx: Retain selection after master table view reload in favorites view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
8 months ago
Claudio Cambra
0a5a909617
macosx: Fix change notification of library model favorites lists
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
8 months ago
Claudio Cambra
206395161b
macosx: Add an all favorites section
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
8 months ago
Abderhman Gamal
ec9adb00d1
webservices: acoustid: fix null dereference in parse_artists
json_get_array() can return NULL if the key is not found. passing NULL
to parse_artists() caused a crash because it accessed artists->size
without checking.
This patch adds a check for NULL in parse_artists() to avoid the crash.
Fixes #29361
Signed-off-by: Abderhman Gamal <abderhmangamal246@gmail.com>
8 months ago
Steve Lhomme
5dd32a7e17
mediacodec: remove empty symbol loading
All the NDK API we use can be called directly from since API 21.
7 months ago
Steve Lhomme
ef7f67ad1d
mediacodec: call all AMediaCodec_xxx() API's directly
They are all available in API 21, which is our minimum.
- https://developer.android.com/ndk/reference/group/media#amediacodec_createcodecbyname
- https://developer.android.com/ndk/reference/group/media#amediacodec_configure
- https://developer.android.com/ndk/reference/group/media#amediacodec_start
- https://developer.android.com/ndk/reference/group/media#amediacodec_stop
- https://developer.android.com/ndk/reference/group/media#amediacodec_flush
- https://developer.android.com/ndk/reference/group/media#amediacodec_delete
- https://developer.android.com/ndk/reference/group/media#amediacodec_getoutputformat
- https://developer.android.com/ndk/reference/group/media#amediacodec_dequeueinputbuffer
- https://developer.android.com/ndk/reference/group/media#amediacodec_getinputbuffer
- https://developer.android.com/ndk/reference/group/media#amediacodec_queueinputbuffer
- https://developer.android.com/ndk/reference/group/media#amediacodec_dequeueoutputbuffer
- https://developer.android.com/ndk/reference/group/media#amediacodec_getoutputbuffer
- https://developer.android.com/ndk/reference/group/media#amediacodec_releaseoutputbuffer
- https://developer.android.com/ndk/reference/group/media#amediacodec_releaseoutputbufferattime
7 months ago
Steve Lhomme
114172996a
mediacodec: call all AMediaFormat_xxx() API' directly
They are all available in API 21, which is our minimum.
- https://developer.android.com/ndk/reference/group/media#amediaformat_new
- https://developer.android.com/ndk/reference/group/media#amediaformat_delete
- https://developer.android.com/ndk/reference/group/media#amediaformat_setstring
- https://developer.android.com/ndk/reference/group/media#amediaformat_setint32
- https://developer.android.com/ndk/reference/group/media#amediaformat_getint32
7 months ago
Steve Lhomme
c721c121ea
mediacodec: remove stray undef
Each OFF define is matched with an undef
7 months ago
Steve Lhomme
bae5c5e703
mediacodec: remove write-only set_output_surface callback
We don't call it anymore even in VLC 3.
7 months ago
Steve Lhomme
9a8914c417
access: cdda: remove CDDB support
The CDDB databse from freedb.videolan.org doesn't reply anymore (due to
MusicBrainz ?). freedb.org is dead and gnudb.org is empty.
We still have MusicBrainz which is better.
The one reason it may still work for some is that they run their own server.
And the CDs they have are not found in MusicBrainz.
4 years ago
Steve Lhomme
07a2ad663d
demux: mp4: avoid using sbgp if *pi_sync_sample was not modified
*pi_sync_sample can never be modified in that code block if *pi_sync_sample == i_sample.
No need to set the return value as we can only get in this block if the previous one was successful.
1 year ago
Dave Nicolson
79d46d8db0
macosx: Fix crash when clearing play queue
7 months ago
Mathias APARICIO
dd07a8119c
stats: fix possible NULL deref
block_Alloc may return NULL.
Check the return value to prevent a NULL dereference.
Fixes Coverity 1665660
7 months ago
Dave Nicolson
647da9b19f
macosx: Fix crash when clicking "Streams"
7 months ago
François Cartegnie
1857cf2ceb
demux: mp4: check raw audio channels count
refs #29540
7 months ago
François Cartegnie
96b2c98a51
demux: aiff: fix meta cleanup on probing failure
refs #29538
7 months ago
Gabriel Lafond Thenaille
f8567fbe7e
preparser: use the external preparser
* Use the external preparser in the playlist and in the medialib.
1 year ago
Gabriel Lafond Thenaille
997c10dd58
test: change VLC_LIB_PATH form TOP_BUILDDIR to TOP_BUILDDIR/modules
1 year ago
Gabriel Lafond Thenaille
481c543e83
preparser: create a module like interface for the preparser
* Change the preparser to a module like interface with operations.
1 year ago
Gabriel Lafond-Thenaille
45ab3655dd
preparser: add a JSON serialization module
* Create a module to serialize and deserialize preparser message in
JSON.
2 years ago
Gabriel Lafond-Thenaille
864ffa9dad
json: increase read buffer size on the json parser
* Force the size of the `YY_READ_BUF_SIZE` to `1 << 22` and the size of
`YY_BUF_SIZE` to `YY_READ_BUF_SIZE * 2`.
2 years ago
Claudio Cambra
80e62b79d0
macosx: Limit VLCLibraryNameCache cache sizes to 1MB
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
7 months ago
Claudio Cambra
1aba1ab25d
macosx: Use cache for audio table view delegate and songs table view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
8 months ago
Claudio Cambra
79f8a58ef0
macosx: Leverage name cache for artists name in library item
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
8 months ago
Claudio Cambra
5a928423bd
macosx: Add VLCLibraryNameCache
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
8 months ago
Dave Nicolson
f8cb176dc6
macosx: Fix MRL box visibility
7 months ago
François Cartegnie
f2f449a2ed
codec: webvtt: handle invalid values as specific type
refs #29533
This reverts commit 7f16b5681f .
7 months ago
François Cartegnie
6c4bd72d37
codec: webvtt: catch CSS lexer alloc failures
7 months ago
Fatih Uzunoglu
256bd43656
qml: do not respect `pos` if invisible in pointing tool tip
The position of the pointing tool tip is often set to
something that changes very rapidly, such as tracking
the cursor or slider bar handle in motion.
We can use a proxy variable, and break the binding on
`aboutToHide()` signal and re-establish it on
`aboutToShow()` signal. Note that we can not simply use
`visible`, because it may be too late.
7 months ago
Steve Lhomme
65204f6101
mft: don't end a stream that was not started
It may happen when destroying an MFT that failed to initialize.
We know when we are started or not, so we can make use of that.
We keep the assert in startStream() as we don't want to start streaming twice.
7 months ago
Fatih Uzunoglu
d7415319dc
qt: take care of y-flip with D3D in `VoronoiSnow`
7 months ago
Fatih Uzunoglu
689970a250
qt: move `sign(qt_Matrix[3][1])` out of the loop in `VoronoiSnow.frag`
`qt_Matrix` is a uniform, this should ideally not be in the for
loop.
7 months ago
Steve Lhomme
36d591a3e9
demux: mkv: fix leak on multiple string definition
These elements are all supposed to be unique. But as we always kept the last
value, we continue to do so without leaking the previous value.
Fixes #29521
7 months ago
Steve Lhomme
39cde5970d
demux: mkv: don't keep the segment original file name
It's not used and not reliable.
7 months ago
Steve Lhomme
693f19eda6
demux: mkv: don't keep the segment string date
The value is only turned into a string for logging.
If we want to keep the date we just use the integer value.
7 months ago
Steve Lhomme
99df59ea4f
demux: mkv: split helpers to get UTF8 without a copy
7 months ago
Steve Lhomme
7d6b04dd6d
demux: libmp4: don't compute ms if it's forced to 0
For example if i_scale is 0, which results in a division by zero.
Fixes #29522 and #29303
7 months ago
Steve Lhomme
5e37a14fc8
subtitle: do not use negative jacosub time resolutions
The format [^1] doesn't say it's not allowed but it doesn't make much sense.
Fixes #29321
[^1]: http://unicorn.us.com/jacosub/jscripts.html
7 months ago