vlc.git
11 months agoUse `vlc_fourcc_GetCodec` to map XVID to MP4V
Mangal Kushwah [Sat, 31 Aug 2024 11:15:07 +0000 (16:45 +0530)]
Use `vlc_fourcc_GetCodec` to map XVID to MP4V

Gbp-Pq: Name 0026-Use-vlc_fourcc_GetCodec-to-map-XVID-to-MP4V.patch

11 months agocodec: videotoolbox: remove sw decoder fallback for mp4v
Mangal Kushwah [Fri, 9 Aug 2024 14:00:05 +0000 (19:30 +0530)]
codec: videotoolbox: remove sw decoder fallback for mp4v

commit 7a2bf498d545d500d30636970fa930eb54de5569 insert packetizer for
xvid mpeg4 video, so now hw decoder can decode xvid encoded video
without any playback issues.

(cherry picked from commit a9343f68bb19a1c20e45e1029848326020b0c69e)

Gbp-Pq: Name 0025-codec-videotoolbox-remove-sw-decoder-fallback-for-mp.patch

11 months agodemux: AVI insert packetizer for XVID MPEG-4 video
Mangal Kushwah [Thu, 8 Aug 2024 16:00:19 +0000 (21:30 +0530)]
demux: AVI insert packetizer for XVID MPEG-4 video

Older DivX-encoded videos commonly use an method called packed
bitstream which puts several video frames into a single AVI chunk.
Since Packed bitstream isn't standard MPEG-4 it causes playback issues
with some hw decoders.

(cherry picked from commit 980e4d7449e9e06bef525d9049dff5b9b5ecd673)

Gbp-Pq: Name 0024-demux-AVI-insert-packetizer-for-XVID-MPEG-4-video.patch

11 months agodemux: asf: add missing subpayloads drain on EOF
François Cartegnie [Fri, 16 Aug 2024 04:30:16 +0000 (11:30 +0700)]
demux: asf: add missing subpayloads drain on EOF

refs #28716

(cherry picked from commit 6bf0a1407b5b9aef792ef94a57142254d079e8fd)

Gbp-Pq: Name 0023-demux-asf-add-missing-subpayloads-drain-on-EOF.patch

11 months agopacketizer: hxxx: add missing drain for non annexb content
François Cartegnie [Thu, 27 Jun 2024 11:24:03 +0000 (18:24 +0700)]
packetizer: hxxx: add missing drain for non annexb content

(cherry picked from commit 4f0a39ada1bd9314601e80d7f48855462524d1fc)

Gbp-Pq: Name 0022-packetizer-hxxx-add-missing-drain-for-non-annexb-con.patch

11 months agopacketizer: hxxx: pass opaque to callbacks instead of decoder
François Cartegnie [Thu, 27 Jun 2024 11:25:07 +0000 (18:25 +0700)]
packetizer: hxxx: pass opaque to callbacks instead of decoder

(cherry picked from commit 09655dea51c0d383cc86c0f5020e3bea160c69bf)

Gbp-Pq: Name 0021-packetizer-hxxx-pass-opaque-to-callbacks-instead-of-.patch

11 months agopacketizer: hxxx_common: rename function pointer
François Cartegnie [Thu, 27 Jun 2024 08:08:55 +0000 (15:08 +0700)]
packetizer: hxxx_common: rename function pointer

(cherry picked from commit 6e7b32f64db918b3aa2deefe885571b734d32f53)

Gbp-Pq: Name 0020-packetizer-hxxx_common-rename-function-pointer.patch

11 months agoopencv: check the image conversion worked
Steve Lhomme [Thu, 18 Jul 2024 07:27:00 +0000 (09:27 +0200)]
opencv: check the image conversion worked

Otherwise we release the output picture that would have been used and returned.

(cherry picked from commit 19813291fcfb31ddd91a2e4d0f1d37ad3239d300) (rebased)
rebased:
- p_filter->p_sys is p_sys on 4.0
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Gbp-Pq: Name 0019-opencv-check-the-image-conversion-worked.patch

11 months agomagnify: check the image conversion worked
Steve Lhomme [Thu, 18 Jul 2024 07:23:58 +0000 (09:23 +0200)]
magnify: check the image conversion worked

return NULL on failure as we cannot produce the required output.

Fixes #28707

(cherry picked from commit 990de75bc0a7db5f2c4e4cb88e868b75b689ac7d) (rebased)
rebased:
- picture_CopyPixels is called picture_CopyVisiblePixels on 4.0
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Gbp-Pq: Name 0018-magnify-check-the-image-conversion-worked.patch

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 months agovlc (3.0.21-6) unstable; urgency=medium
Sebastian Ramacher [Tue, 14 Jan 2025 22:09:47 +0000 (23:09 +0100)]
vlc (3.0.21-6) unstable; urgency=medium

  * debian/patches: Update to 3.0.21-1-385-g7b58309ae7
    * Ignore win32 and compat changes
    * Replace taglib 2.x patches with upstream changes
  * debian/: Re-enable VAAPI support (Closes: #1021601, #1013898)

[dgit import unpatched vlc 3.0.21-6]

11 months agoImport vlc_3.0.21-6.debian.tar.xz
Sebastian Ramacher [Tue, 14 Jan 2025 22:09:47 +0000 (23:09 +0100)]
Import vlc_3.0.21-6.debian.tar.xz

[dgit import tarball vlc 3.0.21-6 vlc_3.0.21-6.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]