Claudio Cambra
2aec33da89
macosx: Add VLCMainVideoView class
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-25 17:11:50 +00:00
Claudio Cambra
be1b136976
macosx: Add starter VLCMainVideoView.XIB
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-25 17:11:50 +00:00
Claudio Cambra
0ab55c4054
macosx: Hide static control bar in library window when displaying video
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-25 17:11:50 +00:00
Andrew Sun
77a2d21b59
inhibit/dbus: fix service and path
...
According to https://web.archive.org/web/20080828095706/https://people.freedesktop.org/~hughsient/temp/power-management-spec-0.2.html the correct service name does not include `.Inhibit` and the path includes `/Inhibit`.
This essentially reverts beec9e7851
2023-02-25 11:57:36 +00:00
Alexandre Janniaux
5ef997df7d
macosx: VLCInputItem: handle NULL psz_path
...
With a mock URL like mock://video_track_count=1;video_chroma=I411,
vlc_uri2path will return a NULL string because the demux is not matching
with any file. It leads to an empty NSString which result in a crash in
the end.
Fix #27884
2023-02-25 09:03:22 +00:00
Pierre Lamot
fd98c13dfc
opengl: interop sw: fix UV plane uploading
...
UV planes are reported like having a pixel size of 1 but they should be read by
pair
2023-02-25 08:43:29 +00:00
Pierre Lamot
11f910853a
opengl: interop sw: support packed VUYA format
2023-02-25 08:43:29 +00:00
Pierre Lamot
ef0b62ff46
opengl: interop sw: Allow 4 panes YUV textures
...
they behave like 3 planes textures
2023-02-25 08:43:29 +00:00
Pierre Lamot
a7f088cbd8
opengl: sampler: support 4 planes textures while sampling
...
For formats such as YUVA
2023-02-25 08:43:29 +00:00
Pierre Lamot
67bddf900c
opengl: interop sw: Use format combinations that comply with GL & GLES
...
Some combinations weren't strictly valid for GLES and were causing some
failures when used in WebGL or older GLES implementations
Co-authored-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2023-02-25 08:43:29 +00:00
Hugo Beauzée-Luyssen
d7f38080d6
opengl: interop sw: Refactor initialization to simplify format selection
...
This now use a table and a format index to explicitly provide format &
internal format for both planes.
Some formats have been updated to abide by GLES specs
2023-02-25 08:43:29 +00:00
Hugo Beauzée-Luyssen
61d2922566
opengl: common: Add more format compat values
2023-02-25 08:43:29 +00:00
Francois Cartegnie
2f3f2253ad
codec: videotoolbox: fix include path
2023-02-25 05:22:27 +00:00
Francois Cartegnie
979a8f93c3
codec: videotoolbox: codec specific logical split
2023-02-25 05:22:27 +00:00
Francois Cartegnie
b784f7921c
codec: videotoolbox: failed codec init should need cleanup
...
calling dedicated resources releases assumes all init
allocations must succeed
2023-02-25 05:22:27 +00:00
Steve Lhomme
805ef1126c
subsvtt: intialize float constants as floats
2023-02-25 05:01:29 +00:00
Steve Lhomme
e330dd9244
core: intialize float constants as floats
2023-02-25 05:01:29 +00:00
Steve Lhomme
b770c6400a
input: don't lock to write stats if there are none
2023-02-23 16:33:00 +00:00
Tristan Matthews
da1c3a137c
codec: aom: fix encoding for non power of-two pitch videos
...
Instead pass a dummy value to aom_img_wrap and explicitly set the values after.
2023-02-23 16:06:33 +00:00
Tristan Matthews
623cceedf4
codec :vpx: fix encoding for non-power of 2 pitch videos
...
Instead pass a dummy value to vpx_img_wrap and explicitly set the values after.
2023-02-23 16:06:33 +00:00
Benjamin Arnaud
a47798f25e
qml/BrowseHomeDisplay: Update Column sizes
...
With the previous implementation we had size glitches while loading the items.
2023-02-23 15:50:54 +00:00
Benjamin Arnaud
80efac3221
qml/KeyNavigableTableView: Add the '_ready' property
...
It allows us to wait for the item to be fully loaded before updating 'availableRowWidth'.
With the previous implementation we had size glitches while loading the Table.
2023-02-23 15:50:54 +00:00
Benjamin Arnaud
54e3df2992
qml/PageLoader: Add the '_ready' property
...
It allows us to wait for the item to be fully loaded before loading the view. Which
effectively avoids size glitches when switching between views.
2023-02-23 15:50:54 +00:00
Steve Lhomme
86e598311e
vlc-thumb: fix error handling
...
If the thumbnail fails, the returned picture is NULL. It is handled that way in
the snapshot() function. But libvlc_picture_retain() doesn't handle NULL
pictures.
2023-02-23 07:09:44 +00:00
Francois Cartegnie
0801b577b2
demux: mp4: use binary search for chunk
2023-02-22 21:07:42 +00:00
Francois Cartegnie
5a898df7b2
demux: mp4: split STTS lookup
2023-02-22 21:07:42 +00:00
Alaric Senat
24465d371f
sout: display: fix wrong decoder cast
...
Since bdede41db4
, `Add` returns an
`id_sys_t` instead of a plain decoder. The cast must be adapted as the
decoder is now contained in the `id_sys` struct.
2023-02-22 20:50:14 +00:00
Benjamin Arnaud
0eb309375a
qml/BrowseDeviceView: Remove 'foregroundColor' on header
2023-02-22 07:10:50 +00:00
Benjamin Arnaud
20894ed37c
qml/BrowseTreeDisplay: Add a small TableView model
2023-02-22 07:10:50 +00:00
Benjamin Arnaud
d5979ee2c1
qml/BrowseDeviceView: Add a small TableView model
2023-02-22 07:10:50 +00:00
Benjamin Arnaud
2fec959468
qml/NetworkThumbnailItem: Add 'title' and 'subCriterias' support
2023-02-22 07:10:50 +00:00
Steve Lhomme
e6cf68a532
package/win32: don't force ucrt linking with C/C++ file
...
We already check that the C toolchain defaults to UCRT since 23fac2466a
.
Using -lucrt with recent cland creates a warning.
arrib25 is compiled with -Werror which prevents it from compiling. But we don't
need -lucrt at all.
2023-02-22 06:46:57 +00:00
Steve Lhomme
9178cfcd74
package/win32: add the -l in the EXTRA_CRUNTIME string
...
So we don't have to repeat it each time
2023-02-22 06:46:57 +00:00
Alexandre Janniaux
013a1e4a7f
lua: vlc: remove forward declaration
...
Now that the manifest is declared at the end of the file, there's no
need to forward declare the function it is using.
2023-02-21 10:24:59 +00:00
Alexandre Janniaux
1f94211b08
lua: vlc: move manifest to the end of file
...
No functional changes.
2023-02-21 10:24:59 +00:00
Alexandre Janniaux
e69380e4c2
lua: stream_filter: move static variables
...
The variables are only used once in the initialization, so move it to
the initialization right before their usage.
2023-02-21 10:24:59 +00:00
Alexandre Janniaux
375414da28
lua: services_discovery: move static variable
...
The variable is only used once in the initialization, so move it to the
initialization right before its usage.
2023-02-21 10:24:59 +00:00
Alexandre Janniaux
efdbfdb653
lua: meta: reindent after last changes
2023-02-21 10:24:59 +00:00
Alexandre Janniaux
e0d028ec68
lua: meta: refactor early return
2023-02-21 10:24:59 +00:00
Alexandre Janniaux
ce5a61d0a4
lua: meta: refactor as early return
2023-02-21 10:24:59 +00:00
Alexandre Janniaux
8922caa414
lua: meta: remove conditional for return value
...
The return value is simpler to read (better alignment) and understand
with || rather than separate conditional branches.
2023-02-21 10:24:59 +00:00
Alexandre Janniaux
d42591929d
lua: meta: remove trailing line
2023-02-21 10:24:59 +00:00
Alexandre Janniaux
7aa0e6e14a
lua: meta: move static variable
...
The variable is only used once in the initialization, so move it to the
initialization right before its usage.
2023-02-21 10:24:59 +00:00
Alexandre Janniaux
11a335cf83
lua: intf: fix lua interrupt memory leak
...
Fix memory leak on the error path where the lua interrupt has been
allocated but not released.
2023-02-21 10:24:59 +00:00
Alexandre Janniaux
c4ab75b891
lua: intf: refactor error path
...
Refactor error path behind a goto, including the release of the lua
state and lua interrupt.
No functional changes.
2023-02-21 10:24:59 +00:00
Alexandre Janniaux
f22e34a2f2
lua: intf: move static variable
...
The variable is only used once in the initialization, so move it to the
initialization right before its usage.
2023-02-21 10:24:59 +00:00
Alexandre Janniaux
7f64311c46
lua: intf: remove forward declaration
2023-02-21 10:24:59 +00:00
Fatih Uzunoglu
1aab2c6c62
qml: ViewDragAutoScrollHandler don't scroll backward at beginning or forward at end
2023-02-20 14:35:38 +00:00
Claudio Cambra
bc303ae4cd
macosx: Don't append new state to library navigation stack when switching between grid or list view modes in media source view
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-20 09:53:54 +00:00
Claudio Cambra
7df65729aa
macosx: Prevent crash from releasing NULL CFURLRef in NSImage extension QuickLook functionality
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-19 18:30:22 +00:00