vlc.git
10 months agospectrogram: allows better visualization of low frequencies
Maxime Even [Mon, 8 Jul 2024 15:51:14 +0000 (17:51 +0200)]
spectrogram: allows better visualization of low frequencies

In some cases, Y which represents the height of a column was equal to 1
and therefore when passed through the log, the output displayed was
zero, by adding this 0.1, this allows you to see a column when y = 1
without really changing the height of each column

(cherry picked from commit c347fed91e76bd31387171e1ff67224c21194362)

Gbp-Pq: Name 0017-spectrogram-allows-better-visualization-of-low-frequ.patch

10 months agospectrogram: convert int16 to unsigned for correct range
Maxime Even [Mon, 8 Jul 2024 15:41:39 +0000 (17:41 +0200)]
spectrogram: convert int16 to unsigned for correct range

p_dest is used to set the height of the column, and it is used
as a variable defined from zero to 2^16 - 1. It is therefore
considered in the rest of the program as an unsigned int 16.
Moreover, the value that we put inside are a sum of two squared
real value, so they are necessarily positive.

(cherry picked from commit 94a8d152eadd53073305c95d221eca7623b4ed6c)

Gbp-Pq: Name 0016-spectrogram-convert-int16-to-unsigned-for-correct-ra.patch

10 months agospectrogram: fix FFT result scaling factor
Maxime Even [Tue, 9 Jul 2024 11:20:25 +0000 (13:20 +0200)]
spectrogram: fix FFT result scaling factor

This function is just a scaling operation that passes a value between 0 and
FFT_SCALING_VALUE to a value between 0 and 2^16-1.

It is therefore a power that must be applied here and not a xor.

Moreover, the initial formula was quite wrong since it was assuming that the max_input
value, which is a signed int 16, was 2^15 = 32768 where it is in fact 2^15-1=32767.

Moreover, the initial formula wasn't taking into account that, since the
output of the fft_perform is the sum of two variables which have for max value
(FFT_BUFFER_SIZE / 2 * INT16_MAX)^2, then we need to multiply the final max
value by 2.

Corrects the following compiler warnings:
visualization/glspectrum.c:528:43: warning: result of ‘2^16’ is 18; did you mean ‘1 << 16’ (65536)? [-Wxor-used-as-pow]
visualization/visual/effects.c:216:40: warning: result of ‘2^16’ is 18; did you mean ‘1 << 16’ (65536)? [-Wxor-used-as-pow]

Fixes #28506

Co-authored-by: Disha Baghel <bagheldisha708@gmail.com>
(cherry picked from commit 77a08a60f72bda081d144119e4d0a57a9c3c72f6)

Gbp-Pq: Name 0015-spectrogram-fix-FFT-result-scaling-factor.patch

10 months agoUPnP: remove SAT>IP channel list fallback
Felix Paul Kühne [Thu, 4 Jul 2024 04:29:28 +0000 (06:29 +0200)]
UPnP: remove SAT>IP channel list fallback

When introducing SAT>IP support, we added a fallback mechanism on
officially published channel lists in case the user neither specified
a custom list nor the used set-top box provided one.

With the end of the SAT>IP Alliance that was dissolved 3 years ago, the
fallback server is no longer available and there will be no replacement
so this feature was removed.

Fixes #28684

(cherry picked from commit 3df7b6e1187030591febd8e1bdd2712c0d6af132)

Gbp-Pq: Name 0014-UPnP-remove-SAT-IP-channel-list-fallback.patch

10 months agodemux: adaptive: fix start with indexes only
François Cartegnie [Wed, 26 Jun 2024 09:36:01 +0000 (16:36 +0700)]
demux: adaptive: fix start with indexes only

refs #28683

(cherry picked from commit 9f9c466bc14c1dcd75564c7cd18d031ea9e76325)

Gbp-Pq: Name 0013-demux-adaptive-fix-start-with-indexes-only.patch

10 months agopacketizer: h264: fix reading prediction weight tables
François Cartegnie [Tue, 2 Jul 2024 08:31:51 +0000 (10:31 +0200)]
packetizer: h264: fix reading prediction weight tables

(cherry picked from commit f878115e184a4d896e4df39bccbde32ea6d9357c)

Gbp-Pq: Name 0012-packetizer-h264-fix-reading-prediction-weight-tables.patch

10 months agoqt: hardcode the name of the shortcut for the AMD VQ Enhancer
Steve Lhomme [Wed, 3 Jul 2024 12:12:17 +0000 (14:12 +0200)]
qt: hardcode the name of the shortcut for the AMD VQ Enhancer

Otherwise the name is the same of the DLL which doesn't correspond to
the shortcut we need to use.

Fixes #28691

Gbp-Pq: Name 0011-qt-hardcode-the-name-of-the-shortcut-for-the-AMD-VQ-.patch

10 months agosftp: fix seek for large files on 32-bit OS
Aleksey Vasenev [Sun, 23 Jun 2024 19:41:39 +0000 (22:41 +0300)]
sftp: fix seek for large files on 32-bit OS

(cherry picked from commit 4698e0336447de8dc6f7214743082cc55b6ebd77)

Gbp-Pq: Name 0010-sftp-fix-seek-for-large-files-on-32-bit-OS.patch

10 months agotranscode: fix picture fifo leak
Alaric Senat [Mon, 24 Jun 2024 16:11:59 +0000 (18:11 +0200)]
transcode: fix picture fifo leak

Draining sets the abort flag. It was skipping the picture fifo deletion
before.

Gbp-Pq: Name 0009-transcode-fix-picture-fifo-leak.patch

10 months agotranscode: fix destructive assignment after drain
Alaric Senat [Mon, 24 Jun 2024 16:11:23 +0000 (18:11 +0200)]
transcode: fix destructive assignment after drain

The drain checks are done after the first encoder output fetch. At this
point, `out` is already filled with some frames gotten from the encoder
some lines above:

```
// ...
    if( p_sys->i_threads >= 1 )
    {
        /* Pick up any return data the encoder thread wants to output. */
        vlc_mutex_lock( &p_sys->lock_out );
        *out = p_sys->p_buffers;
        p_sys->p_buffers = NULL;
        vlc_mutex_unlock( &p_sys->lock_out );
    }

// ...
```

This assignment currently leaks all previously gathered frames to
replace them by the drained output. This patch appends the drained
frames to the existing output instead.

Gbp-Pq: Name 0008-transcode-fix-destructive-assignment-after-drain.patch

10 months agovlc_common: remove warnings on VLC_OBJECT
Alexandre Janniaux [Fri, 21 Jun 2024 14:11:28 +0000 (16:11 +0200)]
vlc_common: remove warnings on VLC_OBJECT

Fix an infinite amount of warnings on Darwin:

    ../../include/vlc_variables.h:563:5: warning: due to lvalue conversion of the controlling expression, association of type 'const struct vlc_common_members' will never be selected because it is qualified [-Wunreachable-code-generic-assoc]
        var_Create( p_obj, psz_name, VLC_VAR_STRING | VLC_VAR_DOINHERIT
        ^
    ../../include/vlc_variables.h:122:39: note: expanded from macro 'var_Create'
    #define var_Create(a,b,c) var_Create( VLC_OBJECT(a), b, c )
                                          ^
    ../../include/vlc_common.h:481:15: note: expanded from macro 'VLC_OBJECT'
            const struct vlc_common_members: (const vlc_object_t *)(&(x)->obj) \

Gbp-Pq: Name 0007-vlc_common-remove-warnings-on-VLC_OBJECT.patch

10 months agoopus_header: fix channel mapping family 1 parsing
Tristan Matthews [Thu, 2 Feb 2023 04:39:36 +0000 (23:39 -0500)]
opus_header: fix channel mapping family 1 parsing

Fixes #27808

(cherry picked from commit 79fa6af0a98921f9d34933761f4fe20ef6c35309)

Gbp-Pq: Name 0006-opus_header-fix-channel-mapping-family-1-parsing.patch

10 months agodemux: avi: do not set up invalid bitsperpixel
François Cartegnie [Tue, 11 Jun 2024 10:26:11 +0000 (17:26 +0700)]
demux: avi: do not set up invalid bitsperpixel

UINT16_MAX is set and propagated from the bitmap header reader

refs #28661

Gbp-Pq: Name 0005-demux-avi-do-not-set-up-invalid-bitsperpixel.patch

10 months agodemux: image: detect ICC profile before JFIF data
Steve Lhomme [Wed, 5 Jun 2024 09:55:39 +0000 (11:55 +0200)]
demux: image: detect ICC profile before JFIF data

Fixes #18857

(cherry picked from commit 5ffd36ffa26a83ae498373f7d0ace1d82ab952f4)
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Gbp-Pq: Name 0004-demux-image-detect-ICC-profile-before-JFIF-data.patch

10 months agoBump module ABI for time_t transition
Sebastian Ramacher [Wed, 28 Feb 2024 22:55:22 +0000 (23:55 +0100)]
Bump module ABI for time_t transition

Gbp-Pq: Name 0003-Bump-module-ABI-for-time_t-transition.patch

10 months agoDo not generate cache during build
Sebastian Ramacher [Mon, 6 Jul 2020 22:18:39 +0000 (00:18 +0200)]
Do not generate cache during build

The generated cache is not used in the package. It causes spurious build
failures on the arm64 and ppc64el builds, that are not reproducible
elsewhere.

Gbp-Pq: Name 0002-Do-not-generate-cache-during-build.patch

10 months agoconfigure: fix linking on RISC-V ISA
Rémi Denis-Courmont [Sat, 16 Jun 2018 18:31:45 +0000 (21:31 +0300)]
configure: fix linking on RISC-V ISA

Gbp-Pq: Name 0001-configure-fix-linking-on-RISC-V-ISA.patch

10 months agovlc (3.0.21-7) unstable; urgency=medium
Sebastian Ramacher [Tue, 21 Jan 2025 18:02:47 +0000 (19:02 +0100)]
vlc (3.0.21-7) unstable; urgency=medium

  * debian/patches: Fix build with x265 4.1

[dgit import unpatched vlc 3.0.21-7]

10 months agoImport vlc_3.0.21-7.debian.tar.xz
Sebastian Ramacher [Tue, 21 Jan 2025 18:02:47 +0000 (19:02 +0100)]
Import vlc_3.0.21-7.debian.tar.xz

[dgit import tarball vlc 3.0.21-7 vlc_3.0.21-7.debian.tar.xz]

18 months agoImport vlc_3.0.21.orig.tar.xz
Sebastian Ramacher [Sun, 9 Jun 2024 16:01:08 +0000 (18:01 +0200)]
Import vlc_3.0.21.orig.tar.xz

[dgit import orig vlc_3.0.21.orig.tar.xz]