Tristan Matthews
be174967b2
contrib: aom: update to 3.6.0
...
Release notes: https://aomedia.googlesource.com/aom/+/refs/tags/v3.6.0
2023-02-19 17:11:03 +00:00
Claudio Cambra
2eae963bab
macosx: Display playlist sidebar buttons as equally spaced out
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-19 00:14:43 +00:00
Claudio Cambra
f8a98946c9
macosx: Ensure all playlist sidebar bottom buttons are the same size
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-19 00:14:43 +00:00
Alaric Senat
63bd2aa0f1
contrib: rust: add RANLIB to the target toolchain
...
This was forgotten mainly because rav1e's build script do not use the
ranlib tool.
2023-02-18 17:56:43 +00:00
Alaric Senat
24b994241e
contrib: rust: add verbose mode support
2023-02-18 17:56:43 +00:00
Alaric Senat
0c48cdefce
contrib: rust: allow disabling optimizations
...
This is particularly useful in contrib debugging scenario.
2023-02-18 17:56:43 +00:00
Alaric Senat
ad013c3ee4
contrib: rust: uniformize toolchain env var usage
...
The toolchain environment variables were missing from `CARGO_INSTALL`.
This patch also removes unecesary exports.
2023-02-18 17:56:43 +00:00
Prince Gupta
999c545e1b
qml: reduce playback slider width
2023-02-18 16:57:03 +00:00
Prince Gupta
e62cfa2b6c
qml: add tooltip to Playback slider
2023-02-18 16:57:03 +00:00
Francois Cartegnie
98a5b3ba84
codec: videotoolbox: rework pacing
2023-02-18 16:29:36 +00:00
Francois Cartegnie
13ae92c256
codec: videotoolbox: fix async pacing
2023-02-18 16:29:36 +00:00
Francois Cartegnie
78c5d5816a
codec: videotoolbox: have asynchronous pts/rate updates
2023-02-18 16:29:36 +00:00
Francois Cartegnie
1d2be66bd2
codec: videotoolbox: ensure flush on request
2023-02-18 16:29:36 +00:00
Francois Cartegnie
5d54525560
codec: videotoolbox: do not discard decoder output on drain
2023-02-18 16:29:36 +00:00
Francois Cartegnie
45585498ba
codec: videotoolbox: rename discard flag
2023-02-18 16:29:36 +00:00
Francois Cartegnie
0c3688e7df
codec: videotoolbox: simplify by removing exclusive states booleans
2023-02-18 16:29:36 +00:00
Francois Cartegnie
fcdbabb267
codec: videotoolbox: set strict DPB for HEVC
2023-02-18 16:29:36 +00:00
Francois Cartegnie
eb1fdc8f2b
codec: videotoolbox: only update reorder depth on next pic
2023-02-18 16:29:36 +00:00
Francois Cartegnie
c5de4fe8d2
codec: videotoolbox: process DPB on any decoding result
2023-02-18 16:29:36 +00:00
Francois Cartegnie
d2ecef01c6
codec: videotoolbox: fix flush cases for hevc reorder with rasl output
2023-02-18 16:29:36 +00:00
Steve Lhomme
85d2e507f7
libmp4: use unsigned cast to compare with 0xA9
...
Otherwise MSVC is confused (C4310 warning). In the end it makes more
sense to test 0xA9 as an unsigned char anyway.
2023-02-18 13:18:43 +00:00
Steve Lhomme
1590221b61
mp4: return early when missing sbgp box and use do{}while()
...
Fixes an uninitialized warning, probably due to the for() with no initializer.
2023-02-18 13:18:43 +00:00
Steve Lhomme
4ad6c8f703
libmp4: compare ssize_t explicitly
...
This is already done elsewhere in the code. The size to read cannot exceeed
SSIZE_MAX otherwise the return value will never match the source.
This is silencing a warning about signed/unsigned comparison.
2023-02-18 13:18:43 +00:00
Steve Lhomme
dde55d78d3
libmp4: check size to read is not bigger than SSIZE_MAX on Seek
...
vlc_stream_Read can't read more than that (or rather report accurately that
it read more).
The 1<<17 check was just there to avoid skipping too much at once by reading
the stream. SSIZE_MAX will limit the amount of data skipped to the amount
usabled by the API.
Similar to 33371e518d
2023-02-18 13:18:43 +00:00
Claudio Cambra
bdb1894957
macosx: Don't send nil as notification object for VLCLibraryModelVideoMediaListUpdated and VLCLibraryModelAudioMediaListUpdated in VLCLibraryModel's dropCaches
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-18 00:49:40 +00:00
Francois Cartegnie
43ad8704ff
packetizer: h264: add one more zero reorder case
2023-02-17 20:24:38 +00:00
Pierre Lamot
128f7ff6e9
rawvid: fix rounding division when calculating pitch
...
formats like NV12 where num and den are 2 had the wrong pitch
size is divided then multiplied, consistently with `rawvideo` decoder
2023-02-17 14:55:58 +00:00
Alaric Senat
96a097c46a
stats: forward SetPCR
...
Simply forward the PCR value for now. It would be best to also trace and
include the PCR to the stat output but the current GNUPlot format is
specifically made for frame timestamps and PCR won't satisfy a lot of
the output columns.
2023-02-17 12:47:49 +00:00
Alaric Senat
3520c3890d
setid: forward SetPCR
2023-02-17 12:47:49 +00:00
Alaric Senat
310dfc78b7
duplicate: forward SetPCR
...
The PCR is sent as-is to the duplicated streams.
2023-02-17 12:47:49 +00:00
Alaric Senat
70e3e2cb3e
delay: forward SetPCR
2023-02-17 12:47:49 +00:00
Alaric Senat
fb82c4853d
delay: fix negative delay handling
...
Apply the delay to all the ES except the selected one in negative delay
scenarios. This has the same effect than substracting the selected ES
timestamps but avoid PCR changes and potential below-zero timestamps.
2023-02-17 12:47:49 +00:00
Alaric Senat
2576f11840
delay: split delaying code in a function
2023-02-17 12:47:49 +00:00
Alaric Senat
00765d0a66
autodel: clarify the intent of the module
2023-02-17 12:47:49 +00:00
Alaric Senat
134b52132f
autodel: add a drop-delay parameter
...
This allow the user to be more or less severe on when the track is
determined inactive or late relative to the PCR.
2023-02-17 12:47:49 +00:00
Alaric Senat
edf84ec491
autodel: use PCR to delete late/inactive tracks
2023-02-17 12:47:49 +00:00
Francois Cartegnie
2ce189cc17
demux: mp4: fix duration probing on missing info
2023-02-17 10:15:11 +00:00
Steve Lhomme
96d2459ea2
mp4: explicitly set the 'soun' compression to 0xFFFE when needed
...
It is always read as 0xFFFE in libmp4.c.
2023-02-17 09:32:59 +00:00
Alexandre Janniaux
53ff91a53f
stream_out: dlna: replace sprintf by iostream
...
Although the usage is fine in DLNA because the input is controlled and
sized, sprintf is considered dangerous and is now deprecated on MacOSX,
leading to warnings. In addition, this is C++ code which is already
using ostringstream to serialize the DLNA info, and it was only using
sprintf there for the sized part of the DLNA info.
The DLNA info must match with:
- DNLA.ORG_OP is 2 character-wide 0-padded
- DNLA.ORG_FLAGS is 32 character-wide 0-padded.
Use std::setfill and then set the appropriate width for each fields in
the info, directly into the DLNA ostringstream used to serialize the
whole string.
2023-02-17 09:09:38 +00:00
Steve Lhomme
d14929e83a
es_out: don't call sout_StreamSetPCR() if not compiled with sout
2023-02-17 08:20:49 +00:00
Steve Lhomme
a2e2ff6716
libmp4: explicitly use negative value for unsigned return value
...
This is the same format used to check the returned value.
(cherry picked from commit 1bdc69ccf75dd117ccba3e7cbad514666e336242)
2023-02-17 08:20:49 +00:00
Steve Lhomme
ca9780f52f
avcodec: don't use avformat if HAVE_LIBAVFORMAT_AVFORMAT_H is not defined
2023-02-17 08:20:49 +00:00
Steve Lhomme
d8956d405c
text/unicode: fix usage of potential negative return code
...
Just as the code above, we return NULL when a bogus char is found in the string.
2023-02-17 08:20:49 +00:00
Steve Lhomme
b036c26e95
text: let vlc_towc() return an ssize_t
...
size_t is not well suited to return -1 to 4 values. We can also get rid of all
the (size_t)-1 casts.
2023-02-17 08:20:49 +00:00
Steve Lhomme
984ccfa60e
text/unicode: only use WriteConsoleW with WINAPI_PARTITION_APP
...
that's how it's defined in the Platform SDK and ming-w64
2023-02-17 07:19:15 +00:00
Steve Lhomme
6b3b562369
text/url: fix build when IDN_ALLOW_UNASSIGNED is missing
...
Some official SDKs have IdnToAscii but not IDN_ALLOW_UNASSIGNED.
2023-02-17 07:19:15 +00:00
Steve Lhomme
57059049b5
win32: use _pipe() when _CRT_USE_WINAPI_FAMILY_DESKTOP_APP is defined
...
This is how it's enabled in the Platform SDK and mingw-w64 since
44e8e712a40bce1dbc76ada2c01b9326f17cb979 (mingw-w64 v8+)
2023-02-17 07:19:15 +00:00
Steve Lhomme
6f0b751fb7
win32: only use single instance code on desktop builds
...
FindWindow() is only available with WINAPI_PARTITION_DESKTOP
2023-02-17 07:19:15 +00:00
Steve Lhomme
091ecb2b7b
win32: use WINAPI_PARTITION_APP to allow usage of SetPriorityClass()
...
This is how it's enabled in the Platform SDK
2023-02-17 07:19:15 +00:00
Steve Lhomme
a6c3cff1d2
vlc_fixups: don't for disable warnings if the user already did it
...
The defines may already be set to 0/1 in the build environment.
2023-02-17 07:19:15 +00:00