SHA256
1
0
forked from pool/vlc

153 Commits
devel ... devel

Author SHA256 Message Date
f3e2b6924c Accepting request 1300988 from multimedia:libs
Add missing req (forwarded request 1300984 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1300988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=156
2025-08-25 18:36:12 +00:00
0da0a64aaa Accepting request 1298149 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1298149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=155
2025-08-08 13:10:06 +00:00
cc43f90749 Accepting request 1285358 from multimedia:libs
- Add 5590.patch: opus_header: fix channel mapping family 1 parsing
  (boo#1244167).

OBS-URL: https://build.opensuse.org/request/show/1285358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=154
2025-06-14 14:17:00 +00:00
90cf284cf4 Accepting request 1240535 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1240535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=153
2025-01-28 13:58:37 +00:00
7052296496 Accepting request 1225098 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1225098
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=152
2024-11-20 15:58:47 +00:00
f8931d8e16 Accepting request 1220175 from multimedia:libs
- Drop the requres_ge libbluray1 statement, which was added as a
  hack due to a libbluray ABI brak at version 0.5. By now libbluray
  is at .so.2, so that statement was actually a NOP. as RPM simply
  ignored in-existing package dependencies.

OBS-URL: https://build.opensuse.org/request/show/1220175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=151
2024-11-03 06:17:08 +00:00
6aaa7565f3 Accepting request 1183602 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1183602
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=150
2024-06-29 13:16:19 +00:00
c50f93f5d8 Accepting request 1180920 from multimedia:libs
- Build dca support only on Leap 15.6 and newer when not using 3rd
  party repositories (BUILD_ORIG): Leap prior to 15.6 do not have
  libdca.

- Disable chromecast support on Leap < 15.6: not supported as
  of now.

OBS-URL: https://build.opensuse.org/request/show/1180920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=149
2024-06-17 17:27:09 +00:00
037b8e7b56 Accepting request 1180238 from multimedia:libs
- Updte to version 3.0.21:
  + Decoders:
    * Improve Opus ambisonic support
    * Fix some ASS subtitle rendering issues
    * Fix Opus in MP4 behaviour
    * Fix VAAPI hw decoding with some drivers
  + Input:
    * Add support for HTTP content range handling according to RFC
      9110
    * Fix some HLS Adaptive Streaming not working in audio-only
      mode
  + Video Output:
    * Super Resolution scaling with AMD GPUs
    * The D3D11 HDR option can also turn on/off HDR for all sources
      regardless of the display
    * Improve subtitles rendering on Apple platforms of notably
      Asian languages by correcting font fallback lookups
  + Video Filter:
    * New AMD VQ Enhancer filter
    * Add D3D11 option to use NVIDIA TrueHDR to generate HDR from
      SDR sources
  + Audio Output:
    * Fix regression on macOS causing crashes when using audio
      devices with more than 9 channels
  + Services Discovery:
    * Fix exposed UPnP directory URL schemes to be compliant with
      RFC 3986
  + libVLC:
    * the HWND passed to libvlc_media_player_set_hwnd must have the
     WS_CLIPCHILDREN style set.

OBS-URL: https://build.opensuse.org/request/show/1180238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=148
2024-06-13 13:37:51 +00:00
32f723070b Accepting request 1175850 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1175850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=147
2024-05-23 13:34:42 +00:00
5fa80ba325 Accepting request 1174042 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1174042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=146
2024-05-15 19:24:22 +00:00
c8fb519bd5 Accepting request 1170053 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1170053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=145
2024-04-25 18:47:45 +00:00
4982495d81 Accepting request 1154578 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1154578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=144
2024-03-05 17:46:57 +00:00
b2d529be40 Accepting request 1152094 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1152094
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=143
2024-02-27 21:45:13 +00:00
0953d1a233 Accepting request 1143627 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1143627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=142
2024-02-04 18:06:41 +00:00
4d6b327c96 Accepting request 1124418 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1124418
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=141
2023-11-10 11:28:56 +00:00
0ea898ed7d Accepting request 1123364 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1123364
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=140
2023-11-05 11:19:13 +00:00
46a5e0ab1d Accepting request 1120247 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1120247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=139
2023-10-26 15:11:38 +00:00
7dd518e74c Accepting request 1102327 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1102327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=138
2023-08-04 13:03:08 +00:00
492ebba9ea Accepting request 1100260 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1100260
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=137
2023-07-25 09:22:47 +00:00
d40eb72e81 Accepting request 1073533 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1073533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=136
2023-03-24 14:15:52 +00:00
93b91daf9a Accepting request 1068191 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1068191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=135
2023-03-01 15:13:42 +00:00
cfd58babf9 Accepting request 1067912 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1067912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=134
2023-02-28 11:48:04 +00:00
2c078b5253 Accepting request 1044227 from multimedia:libs
- Update to version 3.0.18 (CVE-2022-41325, boo#1206142):

OBS-URL: https://build.opensuse.org/request/show/1044227
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=133
2022-12-22 15:21:43 +00:00
b6adcf6647 Accepting request 1042354 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1042354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=132
2022-12-13 17:54:47 +00:00
d30747330e Accepting request 1038343 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1038343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=131
2022-11-27 11:52:56 +00:00
71a71fe72a Accepting request 1038057 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1038057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=130
2022-11-25 13:08:13 +00:00
022ce4a695 Accepting request 1037462 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1037462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=129
2022-11-24 11:22:09 +00:00
093f4ccc7d Accepting request 1034564 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1034564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=128
2022-11-09 11:56:34 +00:00
9e70399876 Accepting request 1001764 from multimedia:libs
- Make vlc-vdpau supplement vlc, not vlc-noX: vdpau itself is based
  on top of the graphical stack.
- Move video_output/libegl_wl_plugin.so from vlc-noX to vlc: links
  GUI stack.

OBS-URL: https://build.opensuse.org/request/show/1001764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=127
2022-09-08 12:21:45 +00:00
360ed494c0 Accepting request 993772 from multimedia:libs
- Also limit lua interpreter to < 5.4 (boo#1200944).

OBS-URL: https://build.opensuse.org/request/show/993772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=126
2022-08-09 13:26:02 +00:00
f797e8b937 Accepting request 988920 from multimedia:libs
- Limit to Lua < 5.4 (boo#1200944).

OBS-URL: https://build.opensuse.org/request/show/988920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=125
2022-07-14 14:33:20 +00:00
3e6032ed4a Accepting request 987266 from multimedia:libs
- Extend vlc-lua-5.3.patch: match upstream commit 0e0b070c26.
- Add 867.patch: support LUA 5.4 (boo#1200944).

OBS-URL: https://build.opensuse.org/request/show/987266
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=124
2022-07-07 10:56:38 +00:00
1dc08930d3 Accepting request 978683 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/978683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=123
2022-05-24 18:30:55 +00:00
106f7d02ad Accepting request 972156 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/972156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=122
2022-04-23 17:45:04 +00:00
aa357694f9 Accepting request 963538 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/963538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=121
2022-03-23 19:15:31 +00:00
3fa8d9ea9b Accepting request 960013 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/960013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=120
2022-03-08 19:31:40 +00:00
315d3dfa22 Accepting request 958285 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/958285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=119
2022-03-02 17:20:25 +00:00
6399c0bd27 Accepting request 901108 from multimedia:libs
- Update to version 3.0.16:
  + Video Output: Fix a D3D11 crash on Windows 8/8.1.
  + Access: Fix RTSP server timeout handling.
  + Interfaces: macOS: Add touchbar support.
  + Misc: Multiple settings improvements.
- Changes from version 3.0.15:
  + Core: Add Opus & Alac wave format mappings.
  + Access: Fix opening DVD folders with non-ascii characters.
  + Demux:
    - Fix asf regression with broadcast streams.
    - MP4: Fix audio drop on seek.
  + Video Output:
    - Fix seek & volume sliders overlapping with subtitles.
    - Fix delays when seeking with D3D11.
  + Text renderer: Improve freetype fonts outlining.
  + Misc: Fix GnuTLS support for Windows XP.
- Changes from version 3.0.14:
  + Core:
    - Fix double loading of slave input.
    - Fix an issue causing the auto-updater not to launch the new
      version installer.
- Add vlc-get-addr-by-ref-from-getConnectionEndpointAddress.patch:
  The maintainers of live555 changed connectionEndpointAddresss to
  getConnectionEndpointAddress, which now provides the address
  value by reference.
- Rebase vlc-srto_tsbpddelay.patch

OBS-URL: https://build.opensuse.org/request/show/901108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=118
2021-06-24 16:22:11 +00:00
0410563808 Accepting request 890357 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/890357
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=117
2021-05-07 14:44:56 +00:00
Richard Brown
24f4ced017 Accepting request 881494 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/881494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=116
2021-04-01 12:16:06 +00:00
0dca2a1888 Accepting request 876449 from multimedia:libs
- Enable libplacebo support (the core rendering algorithms and
  ideas of mpv rewritten as an independent library):
  + Add pkgconfig(libplacebo) BuildRequires
  + Pass --enable-libplacebo to %configure

OBS-URL: https://build.opensuse.org/request/show/876449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=115
2021-03-10 07:46:30 +00:00
3868242037 Accepting request 864297 from multimedia:libs
- Update to version 3.0.12:

OBS-URL: https://build.opensuse.org/request/show/864297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=114
2021-01-20 17:23:30 +00:00
c728f1663d Accepting request 863152 from multimedia:libs
- Add vlc-CVE-2020-26664.patch: mkv: Ensure we don't use an
  EbmlDummy element for something it's not (CVE-2020-26664,
  boo#1180755).

OBS-URL: https://build.opensuse.org/request/show/863152
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=113
2021-01-18 10:27:45 +00:00
465dc10706 Accepting request 856427 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/856427
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=112
2020-12-18 18:52:20 +00:00
fed4d390af Accepting request 847296 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/847296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=111
2020-11-13 17:52:41 +00:00
b58171e977 Accepting request 838215 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/838215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=110
2020-10-03 16:52:07 +00:00
4b5a9234a2 Accepting request 829129 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/829129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=109
2020-08-28 19:13:51 +00:00
21c4a02f28 Accepting request 815288 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/815288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=108
2020-06-18 08:37:12 +00:00
e8602af0dd Accepting request 805500 from multimedia:libs
Conditionally apply patch 100

OBS-URL: https://build.opensuse.org/request/show/805500
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=107
2020-05-16 20:23:29 +00:00
02ffeca138 Accepting request 798989 from multimedia:libs
Update to 3.0.10

OBS-URL: https://build.opensuse.org/request/show/798989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=106
2020-05-01 09:08:38 +00:00
23bb770596 Accepting request 794632 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/794632
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=105
2020-04-17 22:29:03 +00:00
5cf1297353 Accepting request 791216 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/791216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=104
2020-04-05 18:49:58 +00:00
66701c0fa6 Accepting request 789031 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/789031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=103
2020-03-31 15:31:59 +00:00
0b77b9d5fc Accepting request 766591 from multimedia:libs
- BuildRequire pkgconfig(libudev) instead of libudev-devel: Allow
  OBS to shortcut through the -mini flavors.

OBS-URL: https://build.opensuse.org/request/show/766591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=102
2020-01-26 23:21:16 +00:00
4609491f46 Accepting request 763721 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/763721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=101
2020-01-16 17:17:20 +00:00
7466b1831e Accepting request 733149 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/733149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=100
2019-09-30 13:53:39 +00:00
b746b4b54a Accepting request 725533 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/725533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=99
2019-08-24 16:40:05 +00:00
8050e20b4a Accepting request 720864 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/720864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=98
2019-08-05 08:34:53 +00:00
f57b491ee1 Accepting request 710294 from multimedia:libs
Resubmit / changes rebased

OBS-URL: https://build.opensuse.org/request/show/710294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=97
2019-06-18 12:55:34 +00:00
dcafea02e6 Accepting request 703426 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/703426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=96
2019-05-20 08:25:23 +00:00
e28a6501a8 Accepting request 700353 from multimedia:libs
- The license of fdk-aac is not GPL compatible, therefore this pkg
  can not possibly be built with fdk-aac by default
  To gain fdk-aac support, recompile it at home and keep it there
- Restore code to handle faad

- Disable LTO (boo#1133290).

OBS-URL: https://build.opensuse.org/request/show/700353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=95
2019-05-03 20:28:12 +00:00
7a004ec6c7 Accepting request 687147 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/687147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=94
2019-03-24 13:57:10 +00:00
dc491ff9a5 Accepting request 681658 from multimedia:libs
Switch back to projectM on TW

OBS-URL: https://build.opensuse.org/request/show/681658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=93
2019-03-08 12:29:51 +00:00
Stephan Kulow
13bf05eb8f Accepting request 676181 from multimedia:libs
- Add fix-build-with-fdk-2.0.patch to fix building vlc with
  libfdk-aac v2
- Add 0001-codec-vpx-Detect-libvpx-1.8.0.patch to fix building vlc
  with libvpx 1.8.0
- Add the libx26410b_plugin.so codec plugin when building with
  BUILD_ORIG

  + Core:

OBS-URL: https://build.opensuse.org/request/show/676181
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=92
2019-02-24 16:02:29 +00:00
32f637d785 Accepting request 667774 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/667774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=91
2019-01-26 21:18:15 +00:00
8f517445ed Accepting request 664566 from multimedia:libs
Update to version 3.0.6

OBS-URL: https://build.opensuse.org/request/show/664566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=90
2019-01-21 09:06:25 +00:00
e0bf38d3dd Accepting request 639352 from multimedia:libs
Update to 3.0.4

OBS-URL: https://build.opensuse.org/request/show/639352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=89
2018-10-04 16:57:48 +00:00
01eaffbd10 Accepting request 624835 from multimedia:libs
- fix last change for openSUSE < 1500 
  conditionally include libglconv_vaapi_wl_plugin.so only

- Move plugins that link X-libraries from vlc-noX to vlc.

OBS-URL: https://build.opensuse.org/request/show/624835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=88
2018-07-25 14:06:27 +00:00
046d57a571 Accepting request 619008 from multimedia:libs
- Require(post) vlc-noX for the -qt, -codecs, -jack and -vdpau
  sub-package: all those packages execute vlc-cache-gen
  (boo#1094893).

OBS-URL: https://build.opensuse.org/request/show/619008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=87
2018-06-27 08:18:28 +00:00
60011ac364 Accepting request 614237 from multimedia:libs
- Update to version 3.0.3:

OBS-URL: https://build.opensuse.org/request/show/614237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=86
2018-06-08 21:10:42 +00:00
1df2224988 Accepting request 610120 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/610120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=85
2018-05-19 13:41:41 +00:00
af6f70cf26 Accepting request 605726 from multimedia:libs
- Add patch 0001-Update-czech-translation.patch to make czech
  usable without too many english strings (from upstream)

OBS-URL: https://build.opensuse.org/request/show/605726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=84
2018-05-13 13:54:14 +00:00
f3ac3a4f41 Accepting request 602543 from multimedia:libs
Update to 3.0.2

OBS-URL: https://build.opensuse.org/request/show/602543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=83
2018-05-06 12:57:00 +00:00
b0b1630bd4 Accepting request 600996 from multimedia:libs
- Pass explicit --enable-chromecast to configure: ensure the module
  does not accidentally get disabled.

OBS-URL: https://build.opensuse.org/request/show/600996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=82
2018-04-27 14:00:16 +00:00
974bd89e60 Accepting request 590050 from multimedia:libs
Sync from devel prj

OBS-URL: https://build.opensuse.org/request/show/590050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=81
2018-03-24 15:12:50 +00:00
f1d17069be Accepting request 583705 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/583705
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=80
2018-03-08 09:54:57 +00:00
f3974dd3d9 Accepting request 580609 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/580609
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=79
2018-03-01 11:02:08 +00:00
5dba059adf Accepting request 577715 from multimedia:libs
- Add vlc-allow-deprecated-fribidi.patch: Allow the usage of
  deprecated fribidi functions. Disallowing deprecated stuff is
  good during the dev phase, but once released, it is just becoming
  a pain.

OBS-URL: https://build.opensuse.org/request/show/577715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=78
2018-02-19 11:59:01 +00:00
2194f0664a Accepting request 576850 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/576850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=77
2018-02-16 20:37:57 +00:00
f014f871bc Accepting request 575616 from multimedia:libs
- Add cache regeneration post/postun scriptlets to gstreamer-codec
  subpackage.

- Update to Version 3.0.0:
  + Core:
    - Support network browsing for distant filesystems (SMB, FTP,
      SFTP, NFS...) and rewrite the parsing of the media files and
      inputs.
    - Support keystores: fetch and store passwords securely (sic!)
      for common protocols (HTTP, SMB, SFTP, FTP, RTSP ...).
    - Autodetect external audio tracks (ac3, m4a, aac, dts...)
      similar to subtitles.
    - Support HDMI passthrough for Audio HD codecs, like E-AC3,
      TrueHD or DTS-HD.
    - Support for 12bits codec and extended colorspaces (HDR).
    - Support output renderers, like ChromeCast.
    - VLC now assumes vlcrc config file is in UTF-8.
    - Support portable version of Windows build (create a
      "portable/" folder).
    - Support wayland surface type.
    - Allow to start the video paused on the first frame.
    - Refactor preparsing input.
    - EPG rework: table and single event updates, now using network
      time.
    - Refactor and fix subtitles es selection. Demuxers can now
      override es category single only or multiple es behavior.
    - Support for 360 video and audio, including viewpoint
      modification.
    - Support for ambisonic audio and more than 8 audio channels.
    - Support subtitles size live adjustments.

OBS-URL: https://build.opensuse.org/request/show/575616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=76
2018-02-14 08:22:45 +00:00
fda1a957d3 Accepting request 547755 from multimedia:libs
- Disable projectM on non-x86(_64) archs (boo#1070913).

OBS-URL: https://build.opensuse.org/request/show/547755
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=75
2017-12-04 09:00:52 +00:00
aa723f371d Accepting request 545872 from multimedia:libs
- Update to version 2.2.8:
  + Demuxers: Fix AVI invalid pointer dereferences.
  + Updated translations.
- Changes from version 2.2.7:
  + Decoders:
    - Fix flac heap write overflow on format change.
    - Fix crash in libavcodec module (heap write out-of band)
      CVE-2017-10699.
    - Fix infinite loop in sami subtitle.
    - Fix AAC 7.1 channels detection.
    - Fix potential crash in ASX parser.
  + Mac OS X:
    - Fix compatibility with macOS High Sierra.
    - Fix regression in ASS subtitle decoding.
    - Fix crash during automatic update. Some users might need to
      manually update to the newest version.
  + Video Output: Fix Direct3D9 output with odd offsets.
  + Misc:
    - Fix crash in MTP.
    - Support libupnp 1.8.
  + Updated translations.
- Removed vlc-flac-heap-overflow.patch, fixed upstream.

OBS-URL: https://build.opensuse.org/request/show/545872
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=74
2017-12-02 12:10:35 +00:00
5d922ba110 Accepting request 544273 from multimedia:libs
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/544273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=73
2017-11-23 08:35:56 +00:00
76149c9cc5 Accepting request 527946 from multimedia:libs
- Add vlc-flac-heap-overflow.patch: flac: fix heap write overflow
  on frame format change (CVE-2017-9300, boo#1041907).

- Stop depending on libkde4-devel: It's only used to find the
  install path for kde4, but configure falls back to the correct
  default for openSUSE anyway (boo#1057736).

OBS-URL: https://build.opensuse.org/request/show/527946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=72
2017-09-25 11:54:42 +00:00
0036181509 Accepting request 516973 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/516973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=71
2017-08-24 16:26:26 +00:00
31544b27e0 Accepting request 513117 from multimedia:libs
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/513117
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=70
2017-08-02 09:27:27 +00:00
930dfcd6d0 Accepting request 507121 from multimedia:libs
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/507121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=69
2017-07-04 07:08:10 +00:00
3f45258a50 Accepting request 498538 from multimedia:libs
Update to 2.2.6

OBS-URL: https://build.opensuse.org/request/show/498538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=68
2017-06-02 08:31:18 +00:00
f5083701c7 Accepting request 492648 from multimedia:libs
- Replace libmodplug-devel BuildRequires with
  pkgconfig(libmodplug): this helps with the migration from
  libmodplug to openmpt.

OBS-URL: https://build.opensuse.org/request/show/492648
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=67
2017-05-18 18:46:28 +00:00
8c38ac889e Accepting request 442707 from multimedia:libs
- Expand the lang_package macro in order to change the dependency
  to be on vlc-noX instead of vlc. USers of headless installed
  vlc might still be interested in translations too (boo#1012556).

OBS-URL: https://build.opensuse.org/request/show/442707
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=66
2016-12-05 15:32:49 +00:00
a49c78f644 Accepting request 433494 from multimedia:libs
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/433494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=65
2016-10-10 15:28:12 +00:00
ebd500c7d6 Accepting request 429050 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/429050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=64
2016-09-21 16:31:03 +00:00
ecbe9040be Accepting request 428218 from multimedia:libs
- Rename vlc-noX-lang to vlc-lang: this helps the AppStream builder
  in confirming that 'vlc' (the application) does have a full
  translation set. Obsolete vlc-noX-lang by vlc-noX directly.

OBS-URL: https://build.opensuse.org/request/show/428218
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=63
2016-09-20 11:23:22 +00:00
6ff312410d Accepting request 424910 from multimedia:libs
- Drop vlc-2.2.4-unambig-shortcuts.patch: it does not solve the
  problem it attempted to solve to start with. A better solution
  is to be found with upstream.

OBS-URL: https://build.opensuse.org/request/show/424910
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=62
2016-09-09 08:17:21 +00:00
1ffb812fc3 Accepting request 424698 from multimedia:libs
- Update vlc-2.2.4-unambig-shortcuts.patch: Also make ALT-P
  unambiguous.

- Also use ffmpeg2-devel BuildRequires on Leap 42.2 (sle_version
  120200).

- Add ffmpeg2-devel BuildRequires for Tumbleweed: older openSUSE
  versions had ffmpeg 2.x in the distribution.

OBS-URL: https://build.opensuse.org/request/show/424698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=61
2016-09-05 19:19:04 +00:00
e73a65902f Accepting request 421535 from multimedia:libs
- Add ffmpeg2-BuildRequires for Tumbleweed: older openSUSE versions
  had ffmpeg 2.x in the distribution.

OBS-URL: https://build.opensuse.org/request/show/421535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=60
2016-08-26 21:16:05 +00:00
7e26732018 Accepting request 419788 from multimedia:libs
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/419788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=59
2016-08-18 07:16:10 +00:00
1e4285afab Accepting request 417001 from multimedia:libs
- Build GStreamer plugin support:
  + Add pkgconfig(gstreamer-app-1.0) BuildRequires.
  + Split out new package vlc-codec-gstreamer, which is triggered
    for automatic installation if vlc-noX and libgstapp are present
    on the system. By using the GStreamer extension one can make
    use of all available addons there (incl. OnePlay codec packs).

- Add vlc-2.2.4-unambig-shortcuts.patch: Make keyboard shortcuts
  in open dialog unambiguous.

- Add and install appdata file.

  has freerdp 2.

OBS-URL: https://build.opensuse.org/request/show/417001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=58
2016-08-06 18:36:32 +00:00
e698373517 Accepting request 407822 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/407822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=57
2016-07-18 19:19:28 +00:00
e3a1a2e40c Accepting request 404216 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/404216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=56
2016-07-01 07:52:07 +00:00
4b1fdd960b Accepting request 397726 from multimedia:libs
Apply new patch only with gcc6...

OBS-URL: https://build.opensuse.org/request/show/397726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=55
2016-05-31 10:09:49 +00:00
d0126770a3 Accepting request 397411 from multimedia:libs
- Disable freerdp module support on openSUSE Tumbleweed: VLC has
  not been ported to FreeRDP 2.0.

OBS-URL: https://build.opensuse.org/request/show/397411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=54
2016-05-24 07:35:05 +00:00
67a9e416f0 Accepting request 393388 from multimedia:libs
Update to 2.2.3

OBS-URL: https://build.opensuse.org/request/show/393388
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=53
2016-05-08 08:40:27 +00:00
c3b0f652b5 Accepting request 373773 from multimedia:libs
Disable gnome-vfs2 integration - it is old, unmaintained and vlc 3.0 also drops it

OBS-URL: https://build.opensuse.org/request/show/373773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=52
2016-03-18 20:41:52 +00:00
52c38baa1c Accepting request 358381 from multimedia:libs
- Update to version 2.2.2:
  + libVLC:
    - Expose audio mute, cork and volume change events:
      libvlc_MediaPlayerCorked, libvlc_MediaPlayerUncorked,
      libvlc_MediaPlayerMuted, libvlc_MediaPlayerUnmuted and
      libvlc_MediaPlayerAudioVolume.
    - Fix propagation of libvlc_MediaPlayerTitleChanged event.
  + Access:
    - Fix SetupFormat for continuous framesize in v4l2.
    - Fix off-by-one buffer overflow in RealRtsp module.
    - Fix screen recording aspect-ratio, framerate and potential
      crash.
    - Fix Windows directshow input freeze.
    - Fix MMS segmentation fault/abort when server forces a large
      allocation.
  + Demux:
    - Fix support for ms-dvr files.
    - Fix time detection in AVI files over HTTP.
    - HLS: fix hang on stop, crashes and small improvements.
    - Fix mp4 NULL dereference reported by by Fortinet's FortiGuard
      Labs.
    - Fix regression for VC-1 in WMV.
    - Fix MXF crashes on stop.
    - Fix EAC3 detection in some TS files.
  + Decoders:
    - Fix importing surface from main memory in VDPAU.
    - Fix possible double-free in ADPCM decoder.
    - Support 9-bit and 10-bit GBR planar formats.
    - Support GoToMeeting 2 and GoToMeeting 3 codecs.
    - Fix crash in teletext (zvbi) decoder.

OBS-URL: https://build.opensuse.org/request/show/358381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=51
2016-02-11 11:37:38 +00:00
5e2acc8ec0 Accepting request 357850 from multimedia:libs
- Add vlc-CVE-2015-5949.patch: demux: mp4: correctly match release
  function (boo#965227, CVE-2015-5949).

OBS-URL: https://build.opensuse.org/request/show/357850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=50
2016-02-08 08:47:56 +00:00
3867a2a6ce Accepting request 352538 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/352538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=49
2016-01-09 22:13:40 +00:00
4d9d52edbd Accepting request 351909 from multimedia:libs
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/351909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=48
2016-01-05 20:55:28 +00:00
Stephan Kulow
2318cf177f Accepting request 347711 from multimedia:libs
Submit HEAD

OBS-URL: https://build.opensuse.org/request/show/347711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=47
2015-12-13 08:39:41 +00:00
43db5770c7 Accepting request 346990 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/346990
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=46
2015-12-03 12:32:30 +00:00
924de4cd12 Accepting request 345870 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/345870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=45
2015-11-28 14:18:58 +00:00
955661ae04 Accepting request 328717 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/328717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=44
2015-09-08 15:38:55 +00:00
4aba174a64 Accepting request 318432 from multimedia:libs
Fix build with LUA 5.3.1

OBS-URL: https://build.opensuse.org/request/show/318432
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=43
2015-08-01 09:35:46 +00:00
Stephan Kulow
398f42be0c Accepting request 307296 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/307296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=42
2015-05-16 05:14:32 +00:00
Stephan Kulow
8d36eb3017 Accepting request 307101 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/307101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=41
2015-05-15 05:44:26 +00:00
6e6f2b2b69 Accepting request 305111 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/305111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=40
2015-05-04 22:54:52 +00:00
38b5f84776 Accepting request 304798 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/304798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=39
2015-05-02 15:35:16 +00:00
Stephan Kulow
7ef0bc84d9 Accepting request 304128 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/304128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=38
2015-04-28 18:43:19 +00:00
ddcaeb1d63 Accepting request 296717 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/296717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=37
2015-04-21 08:50:41 +00:00
8556638af1 Accepting request 293775 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/293775
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=36
2015-04-05 00:02:57 +00:00
172829a7fa Accepting request 291215 from multimedia:libs
- Move vlc.desktop vlc package: AppStream bases the addition of
  packages to the store based on the .desktop file (which
  identifies the application). In case of VLC, we want to present
  'the full set' as part of the App Stores.

OBS-URL: https://build.opensuse.org/request/show/291215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=35
2015-03-19 19:57:28 +00:00
518a6828de Accepting request 289640 from multimedia:libs
Update to 2.2.0

OBS-URL: https://build.opensuse.org/request/show/289640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=34
2015-03-16 08:41:28 +00:00
1cefba4698 Accepting request 284073 from multimedia:libs
- Add vlc.changes as source so that we can reliably access it
  during build, even when using the .src.rpm.

OBS-URL: https://build.opensuse.org/request/show/284073
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=33
2015-02-12 09:19:27 +00:00
276a7b0a58 Accepting request 282450 from multimedia:libs
- Add vlc-CVE-2014-9625.patch: Fix various buffer overflows and
  null ptr dereferencing (boo#914268, CVE-2014-9625). (forwarded request 282449 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/282450
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=32
2015-01-25 20:15:37 +00:00
f5a171af1d Accepting request 260763 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/260763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=31
2014-11-24 10:19:01 +00:00
Stephan Kulow
1dd41520ba Accepting request 254914 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/254914
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=30
2014-10-11 20:41:38 +00:00
Stephan Kulow
28d9240a68 Accepting request 254011 from multimedia:libs
1

OBS-URL: https://build.opensuse.org/request/show/254011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=29
2014-10-06 10:06:01 +00:00
Stephan Kulow
6f2427c28f Accepting request 240773 from multimedia:libs
Update to 2.1.5

OBS-URL: https://build.opensuse.org/request/show/240773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=27
2014-07-21 19:38:55 +00:00
Stephan Kulow
75f2d78b74 Accepting request 235666 from multimedia:libs
- Include also libglobalhotkeys_plugin.so which is build with old x11

- BuildRequire at least gnutls 3.0.20 (forwarded request 234661 from olh)

OBS-URL: https://build.opensuse.org/request/show/235666
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=26
2014-06-01 16:54:48 +00:00
Stephan Kulow
46b7fa1c7e Accepting request 233377 from multimedia:libs
- BuildRequire at least jack 1.9.7


[   25s] checking for JACK... no
[   25s] configure: WARNING: Requested 'jack >= 1.9.7' but version of jack is 1.9.6, trying jack1 instead (forwarded request 232381 from olh)

OBS-URL: https://build.opensuse.org/request/show/233377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=25
2014-05-11 12:16:38 +00:00
Stephan Kulow
60647b0c9d Accepting request 232261 from multimedia:libs
- BuildRequire libtag-devel instead of taglib-devel to work around
  a resolver bug. A package name from external project is prefered
  over a provide from the same project.

  This fixes dependency errors in packman 11.4 evergreen (forwarded request 231259 from olh)

OBS-URL: https://build.opensuse.org/request/show/232261
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=24
2014-05-01 05:53:39 +00:00
Tomáš Chvátal
01c965c4e6 Accepting request 230400 from multimedia:libs
- Require plain lua-devel instead of lua51-devel for 12.1 or older

fixes build in packman, evergreen and all that. (forwarded request 230247 from olh)

OBS-URL: https://build.opensuse.org/request/show/230400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=23
2014-04-17 12:11:17 +00:00
Stephan Kulow
005f647e19 Accepting request 225361 from multimedia:libs
Fixed PowerPC builds: https://build.opensuse.org/package/show/openSUSE:Factory:PowerPC/vlc

ppc, ppc64:
[  536s]     File not found: 
/home/abuild/rpmbuild/BUILDROOT/vlc-2.1.4-1.1.ppc64/usr/lib64/vlc/plugins/altivec/libmemcpyaltivec_plugin.so

ppc64le:
[  613s]     Installed (but unpackaged) file(s) found:
[  613s]    /usr/lib64/vlc/plugins/altivec/libi420_yuy2_altivec_plugin.so (forwarded request 225196 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/225361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=22
2014-03-10 11:46:53 +00:00
Stephan Kulow
7206d15251 Accepting request 224368 from multimedia:libs
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/224368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=21
2014-03-04 19:59:42 +00:00
Stephan Kulow
d212c1a987 Accepting request 223304 from multimedia:libs
- Update to version 2.1.3 (bnc#864422):
  + Core:
    - Fix broken behaviour with SOCKSv5 proxies
    - Fix integer overflow on error when using vlc_readdir
  + Access:
    - Fix DVB-T2 tuning on Linux.
    - Fix encrypted DVD playback.
    - Fix v4l2 frequency conversion.
  + Decoders:
    - Fix numerous issues (M2TS, VC1 interlaced, Lagarith, FFv1.3,
      Xvid) by updating codec libraries.
    - Bring fluidsynth back on Mac OS X
    - Fix some Opus crashes with some filters
    - Fix teletext crash on Windows
  + Demuxers:
    - Avoid an infinite recursion in MKV tags parsing
    - Fix an issue with some Vobsub tracks
    - Fix missing samples at the end of some wav files
    - Fix divide by 0 on ASF/WMV parsing
  + Audio output:
    - Fix audio device selection via command line on Mac OS X
    - Fix audio crashes on Mac OS X
 + Video Output:
    - Fix selection of DirectDraw as the default output for XP
    - Fix transform off-by-one issue
    - Fix screensaver disabling on Windows outputs
    - Fix DirectDraw device enumeration and multi-display output
    - Fix a potential crash when playing a fullscreen game at the same time as VLC
  + Stream output:
    - Fix 24bits audio MTU alignment in RTP

OBS-URL: https://build.opensuse.org/request/show/223304
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=20
2014-02-21 13:26:26 +00:00
Stephan Kulow
2127725990 Accepting request 215437 from multimedia:libs
- Add update-desktop-files BuildRequires and
  %desktop_database_post/postun calls to respective scriptlets: Fix
  https://bugs.links2linux.org/browse/PM-108.

OBS-URL: https://build.opensuse.org/request/show/215437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=19
2014-01-29 18:21:40 +00:00
Stephan Kulow
4dd0b9e0c1 Accepting request 210686 from multimedia:libs
- Update to version 2.1.2:
  + Audio output:
    - Fix digital playback on OS X when more than one audio device
      is installed.
    - Fix digital playback (SPDIF/HDMI) on Windows.
    - Fix stuttering or silent playback when using sound enhancers
      or external audio devices on OS X.
    - Improve responsiveness on OS X when playback starts or is
      being paused.
    - Improve responsiveness, silent playback intervals and
      reliability on iOS.
  + Demuxers:
    - Fix Vimeo and DailyMotion parsing.
    - Various WMV playback improvements and fixes.
  + Decoders:
    - Fix LPCM 20/24-bit decoding and 16 bits with channel padding.
    - Fix playback of some HEVC samples.
  + Video filters: Fix crash on deinterlace selection.
  + Qt interface:
    - Fix some streaming profiles when copy existed.
    - Improve A-B loop control.
    - Fix album art update when changing media.
  + Mac OS X interface adjustments.
  + Win32 installer: Kill running VLC process on uninstall/update.
  + Updated translations.

- More features (by adding BuildRequires):
  + IDN Support (International Domain Names): libidn-devel
  + SFTP Access: libssh2-devel
  + HotKey Support: xcb-util-keysyms-devel

OBS-URL: https://build.opensuse.org/request/show/210686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=18
2014-01-09 14:54:32 +00:00
Tomáš Chvátal
8d4f64949d Accepting request 204468 from multimedia:libs
- Make vlc build on OBS for openSUSE 12.3 - BuildRequire 
  pkgconfig(libswscale) and live555-devel on >= 13.1, and on 
  BUILD_ORIG case

- Drop support for < 12.2 as it does not build anyway
  * Removal of pulseaudio subpackage and incorporating it to the
    noX package.
  * Cleanup of the dependencies and configure switches we don't
    need to use anymore.
- Add lang subpackage as it was most of what was noX package
  containing. This way we can reduce the size and use noarch there.
- Touch the ghosted file in %post to make rpmlint happy
- Fix __DATE__ and __TIME__ usage so we do not rebuild so often.
- Drop obsolete configure options which are no longer around
- Disable xcb switch as we no longer build for such old distros.

- Re-add and adapt 0001-no-return-in-non-void.patch: fixes build on
  openSUSE versions other than Factory

- Add support to openGL ES 2 (enabled by default for %arm):
  + Introduce bcon_with(out) opengles.
  + If enabled, pass --enable-gles2 --enable-egl to configure.
  + Adjust the files section for that.

- Add vdpau support to -codecs package (BUILD_ORIG):
  + BuildRequire libvdpua-devel
  + Adapt files section.

- Only enable GME support on openSUSE >= 12.00 (disable on SLE11).

OBS-URL: https://build.opensuse.org/request/show/204468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=17
2013-10-24 12:15:04 +00:00
Stephan Kulow
e6a9b0a989 Accepting request 199923 from multimedia:libs
- Drop fluidsynt-devel BuildRequires: the fluid plugin is known to
  introduce a lot crashes at no gain from functionality PoV.

OBS-URL: https://build.opensuse.org/request/show/199923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=16
2013-09-23 13:50:37 +00:00
Stephan Kulow
de9a5bd906 Accepting request 197981 from multimedia:libs
Fix typo in .changes...

OBS-URL: https://build.opensuse.org/request/show/197981
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=14
2013-09-11 11:23:49 +00:00
Stephan Kulow
8d42aff6b7 Accepting request 197858 from multimedia:libs
- If we have a smblcient.pc available (meaning, we build against
  samba 4), we export the output of pkg-config --cflags smbclient
  into CFLAGS. Fixes build with Samab 4.0.

OBS-URL: https://build.opensuse.org/request/show/197858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=13
2013-09-09 08:58:41 +00:00
Tomáš Chvátal
000a8cfdf5 Accepting request 186979 from multimedia:libs
- Add ppc64_altivec.patch: Enable altivec for powerpc64
  (backport cce2cdb0dd246fa9669378f5a3b967464c88bf20)
- Add autoreconf call in build section, as above patch touches the
  build system.

- Package altivec plugins on powerpc

OBS-URL: https://build.opensuse.org/request/show/186979
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=12
2013-08-14 20:49:34 +00:00
Stephan Kulow
f198e392b5 Accepting request 185779 from multimedia:libs
- Update to version 2.0.8a:
  + always hide menu bar for fullscreen on osx redacted (vlc#9040).
  + macosx: fix double release
  + avcodec audio decoder: update block pointer.

OBS-URL: https://build.opensuse.org/request/show/185779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=11
2013-08-04 06:05:08 +00:00
Stephan Kulow
51b4ebe559 Accepting request 185438 from multimedia:libs
Update to 2.0.8

OBS-URL: https://build.opensuse.org/request/show/185438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=10
2013-08-01 14:09:43 +00:00
Stephan Kulow
e6ab0a710d Accepting request 184003 from multimedia:libs
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/184003
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=9
2013-07-23 10:32:35 +00:00
Stephan Kulow
7c0dd3aa60 Accepting request 182182 from multimedia:libs
Update to 2.0.7 (forwarded request 182181 from sumski)

OBS-URL: https://build.opensuse.org/request/show/182182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=8
2013-07-04 16:07:12 +00:00
Stephan Kulow
2d777ba574 Accepting request 180927 from multimedia:libs
- Enable SSE for x86 only (forwarded request 180232 from k0da)

OBS-URL: https://build.opensuse.org/request/show/180927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=7
2013-06-28 10:00:53 +00:00
Stephan Kulow
115dab779f Accepting request 180057 from multimedia:libs
- Enable gme:
  + Pass --enable-gme to configure
  + Add pkgconfig(gme) BuildRequires (forwarded request 177613 from RedDwarf)

OBS-URL: https://build.opensuse.org/request/show/180057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=6
2013-06-21 08:34:08 +00:00
Stephan Kulow
ad4ea17918 Accepting request 175291 from multimedia:libs
- Enable opus codec:
  + Pass --enable-opus to configure
  + Add libopus-devel BuildRequires

OBS-URL: https://build.opensuse.org/request/show/175291
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=5
2013-05-16 09:43:40 +00:00
Stephan Kulow
6ba3824b58 Accepting request 174758 from multimedia:libs
Forward latest fixes - unconditionally use libswscale and live555, as they entered Factory

OBS-URL: https://build.opensuse.org/request/show/174758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=4
2013-05-13 14:02:21 +00:00
Stephan Kulow
8e25aaea5f Accepting request 173351 from multimedia:libs
- Change libdvbpsi-devel BuildRequires to require version < 1.0.
  VLC 2.0.6 is not able to cope with the new API yet.

OBS-URL: https://build.opensuse.org/request/show/173351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=3
2013-05-07 14:20:40 +00:00
Stephan Kulow
c4dd7f0688 Accepting request 163501 from multimedia:libs
- Change live555 BuildRequires to live555-devel: in fact we do
  require the devel package, which for historical reasons just
  happens to provide live555 as well.

- Update to version 2.0.6:
  + Access:
    - Fix HTTPS playback with some certificates previously
      rejected.
  + Audio Output:
    - Fix lookup for device names in auhal plugin
  + Demuxers:
    - Fix crash with broken asf files (SA-1302)
    - Fix MKV behaviour with unknown or new ebml elements
    - Fix use-after-free crash in Ogg demuxer
    - Fix regression on some paletted codecs in AVI
    - Fix ALAC in mp4 regression
    - Improvements to the vimeo playlist parser
  + Decoders:
    - Fix GPU decoding on Intel HD 2000/3000 cards on Windows
    - Fix FLAC 6.1 and 7.1 channel layout
    - Fix crashes in HTML srt subtitles
    - 3rd party codecs updates
  + Mac OS X fixes
  + Qt: Fix clearing of Media Info panel on dialog exit
  + GNU/Linux:
    - Numerous D-Bus and MPRIS2 improvements
    - Reject broken versions of PulseAudio
  + Windows:
    - Fix uninstallation in different location than C:\
  + Updated translations.

OBS-URL: https://build.opensuse.org/request/show/163501
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=2
2013-04-12 18:44:25 +00:00
14 changed files with 2694 additions and 293 deletions

View File

@@ -1,177 +0,0 @@
From 1e2918115ca2f5c4ffde00dc02ad89525714f6c2 Mon Sep 17 00:00:00 2001
From: Thomas Guillem <thomas@gllm.fr>
Date: Tue, 5 Dec 2023 09:23:35 +0100
Subject: [PATCH 1/5] input: fix incompatible-pointer-types assignment
Fixes #28441
---
src/input/input_internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/input/input_internal.h b/src/input/input_internal.h
index d29731edca1b..ea02f39f5add 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -117,7 +117,7 @@ typedef struct input_thread_private_t
/* Title infos FIXME multi-input (not easy) ? */
int i_title;
- const input_title_t **title;
+ input_title_t * const *title;
int i_title_offset;
int i_seekpoint_offset;
--
GitLab
From adcf4e66e2ce2c382bb97957c91bfde040f4f3ca Mon Sep 17 00:00:00 2001
From: Zhao Zhili <quinkblack@foxmail.com>
Date: Thu, 1 Mar 2018 14:25:59 +0800
Subject: [PATCH 2/5] yadif: fix variable type
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
(cherry picked from commit 77b86f4452be4dbe0d56a9cd1b66da61b116da60)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
---
modules/video_filter/deinterlace/yadif.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/video_filter/deinterlace/yadif.h b/modules/video_filter/deinterlace/yadif.h
index 4bc592ba9307..af16443d0804 100644
--- a/modules/video_filter/deinterlace/yadif.h
+++ b/modules/video_filter/deinterlace/yadif.h
@@ -140,10 +140,10 @@ static void yadif_filter_line_c(uint8_t *dst, uint8_t *prev, uint8_t *cur, uint8
}
static void yadif_filter_line_c_16bit(uint8_t *dst8, uint8_t *prev8, uint8_t *cur8, uint8_t *next8, int w, int prefs, int mrefs, int parity, int mode) {
- uint8_t *dst = (uint8_t *)dst8;
- uint8_t *prev = (uint8_t *)prev8;
- uint8_t *cur = (uint8_t *)cur8;
- uint8_t *next = (uint8_t *)next8;
+ uint16_t *dst = (uint16_t *)dst8;
+ uint16_t *prev = (uint16_t *)prev8;
+ uint16_t *cur = (uint16_t *)cur8;
+ uint16_t *next = (uint16_t *)next8;
int x;
uint16_t *prev2= parity ? prev : cur ;
uint16_t *next2= parity ? cur : next;
--
GitLab
From 45198e5328ff2b2f4eb2fb76add0789fec26270f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
Date: Sun, 3 Mar 2019 09:59:10 +0200
Subject: [PATCH 3/5] swscale: avoid invalid pointer conversion
(cherry picked from commit ab00e6c59d42e05ab08893091783d8b5febc0058)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
---
modules/video_chroma/swscale.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/modules/video_chroma/swscale.c b/modules/video_chroma/swscale.c
index 8993d11ec5dd..11897527355c 100644
--- a/modules/video_chroma/swscale.c
+++ b/modules/video_chroma/swscale.c
@@ -588,8 +588,9 @@ static void Convert( filter_t *p_filter, struct SwsContext *ctx,
{
filter_sys_t *p_sys = p_filter->p_sys;
uint8_t palette[AVPALETTE_SIZE];
- uint8_t *src[4]; int src_stride[4];
- uint8_t *dst[4]; int dst_stride[4];
+ uint8_t *src[4], *dst[4];
+ const uint8_t *csrc[4];
+ int src_stride[4], dst_stride[4];
GetPixels( src, src_stride, p_sys->desc_in, &p_filter->fmt_in.video,
p_src, i_plane_count, b_swap_uvi );
@@ -606,11 +607,14 @@ static void Convert( filter_t *p_filter, struct SwsContext *ctx,
GetPixels( dst, dst_stride, p_sys->desc_out, &p_filter->fmt_out.video,
p_dst, i_plane_count, b_swap_uvo );
+ for (size_t i = 0; i < ARRAY_SIZE(src); i++)
+ csrc[i] = src[i];
+
#if LIBSWSCALE_VERSION_INT >= ((0<<16)+(5<<8)+0)
- sws_scale( ctx, src, src_stride, 0, i_height,
+ sws_scale( ctx, csrc, src_stride, 0, i_height,
dst, dst_stride );
#else
- sws_scale_ordered( ctx, src, src_stride, 0, i_height,
+ sws_scale_ordered( ctx, csrc, src_stride, 0, i_height,
dst, dst_stride );
#endif
}
--
GitLab
From 4431076ad4a21fdcabd3f7ef1d61c45891689b0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
Date: Sun, 3 Mar 2019 17:20:04 +0200
Subject: [PATCH 4/5] dynamicoverlay: fix variable shadowing
(cherry picked from commit d42e05d6b2c061ae352c131d5aebf8c8d8aa6d35)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
---
modules/spu/dynamicoverlay/dynamicoverlay_commands.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/spu/dynamicoverlay/dynamicoverlay_commands.c b/modules/spu/dynamicoverlay/dynamicoverlay_commands.c
index a93462925e8a..a85f9aafb0b9 100644
--- a/modules/spu/dynamicoverlay/dynamicoverlay_commands.c
+++ b/modules/spu/dynamicoverlay/dynamicoverlay_commands.c
@@ -899,12 +899,11 @@ static const commanddesc_static_t p_commands[] =
void RegisterCommand( filter_t *p_filter )
{
filter_sys_t *p_sys = (filter_sys_t*) p_filter->p_sys;
- size_t i_index = 0;
p_sys->i_commands = ARRAY_SIZE(p_commands);
p_sys->pp_commands = (commanddesc_t **) calloc( p_sys->i_commands, sizeof(commanddesc_t*) );
if( !p_sys->pp_commands ) return;
- for( i_index = 0; i_index < p_sys->i_commands; i_index ++ )
+ for( size_t i_index = 0; i_index < p_sys->i_commands; i_index ++ )
{
p_sys->pp_commands[i_index] = (commanddesc_t *) malloc( sizeof(commanddesc_t) );
if( !p_sys->pp_commands[i_index] ) return;
--
GitLab
From fda14fc7c013eb75291df10cc8b88336c51328ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
Date: Mon, 26 Feb 2018 20:43:03 +0200
Subject: [PATCH 5/5] dynamicoverlay: fix memory corruption
Font alpha is 8-bits, not 32-bits.
(cherry picked from commit 6f14081af7325d334a53126c4eea52bc30fc08a0)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
---
modules/spu/dynamicoverlay/dynamicoverlay_commands.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules/spu/dynamicoverlay/dynamicoverlay_commands.c b/modules/spu/dynamicoverlay/dynamicoverlay_commands.c
index a85f9aafb0b9..7a71c6f2373a 100644
--- a/modules/spu/dynamicoverlay/dynamicoverlay_commands.c
+++ b/modules/spu/dynamicoverlay/dynamicoverlay_commands.c
@@ -234,8 +234,12 @@ static int parser_SetTextAlpha( char *psz_command, char *psz_end,
skip_space( &psz_command );
if( isdigit( (unsigned char)*psz_command ) )
{
- if( parse_digit( &psz_command, &p_params->fontstyle.i_font_alpha ) == VLC_EGENERIC )
+ int32_t value;
+
+ if( parse_digit( &psz_command, &value ) == VLC_EGENERIC )
return VLC_EGENERIC;
+
+ p_params->fontstyle.i_font_alpha = value;
}
return VLC_SUCCESS;
}
--
GitLab

775
5574.patch Normal file
View File

@@ -0,0 +1,775 @@
From 81d6d56df6e5a66ed99970e2c559539858f4a0b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
Date: Sat, 5 May 2018 15:28:15 +0300
Subject: [PATCH 01/11] avcodec: avoid signedness mismatch warning
Bitmask should be unsigned, but ffmpeg seems confused with itself.
(cherry picked from commit 8544233e7fde2965435e32a445494898440ecc30)
---
modules/codec/avcodec/audio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/codec/avcodec/audio.c b/modules/codec/avcodec/audio.c
index 50a76c7a18e1..e5af0ca5f2f8 100644
--- a/modules/codec/avcodec/audio.c
+++ b/modules/codec/avcodec/audio.c
@@ -593,9 +593,9 @@ static void SetupOutputFormat( decoder_t *p_dec, bool b_trust )
uint32_t pi_order_src[i_order_max];
int i_channels_src = 0;
- int64_t channel_layout =
+ uint64_t channel_layout =
p_sys->p_context->channel_layout ? p_sys->p_context->channel_layout :
- av_get_default_channel_layout( p_sys->p_context->channels );
+ (uint64_t)av_get_default_channel_layout( p_sys->p_context->channels );
if( channel_layout )
{
--
GitLab
From c7709e7a048eb69b656d7f9663debbc1dde1f591 Mon Sep 17 00:00:00 2001
From: Ilkka Ollakka <ileoo@videolan.org>
Date: Wed, 5 Jul 2023 12:51:34 +0300
Subject: [PATCH 02/11] avcodec: use p_dec->fmt_out instead of context channels
on audio channel-count
reduces the need of ifdefs when adding ch_layout support
(cherry picked from commit bddf5ba19111d1cc4463d9876c4bc4ba75f82d7f)
---
modules/codec/avcodec/audio.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/modules/codec/avcodec/audio.c b/modules/codec/avcodec/audio.c
index e5af0ca5f2f8..26166c084e51 100644
--- a/modules/codec/avcodec/audio.c
+++ b/modules/codec/avcodec/audio.c
@@ -484,15 +484,15 @@ static block_t * ConvertAVFrame( decoder_t *p_dec, AVFrame *frame )
/* Interleave audio if required */
if( av_sample_fmt_is_planar( ctx->sample_fmt ) )
{
- p_block = block_Alloc(frame->linesize[0] * ctx->channels);
+ p_block = block_Alloc(frame->linesize[0] * p_dec->fmt_out.audio.i_channels );
if ( likely(p_block) )
{
- const void *planes[ctx->channels];
- for (int i = 0; i < ctx->channels; i++)
+ const void *planes[p_dec->fmt_out.audio.i_channels];
+ for (int i = 0; i < p_dec->fmt_out.audio.i_channels; i++)
planes[i] = frame->extended_data[i];
aout_Interleave(p_block->p_buffer, planes, frame->nb_samples,
- ctx->channels, p_dec->fmt_out.audio.i_format);
+ p_dec->fmt_out.audio.i_channels, p_dec->fmt_out.audio.i_format);
p_block->i_nb_samples = frame->nb_samples;
}
av_frame_free(&frame);
@@ -511,7 +511,7 @@ static block_t * ConvertAVFrame( decoder_t *p_dec, AVFrame *frame )
{
aout_ChannelExtract( p_buffer->p_buffer,
p_dec->fmt_out.audio.i_channels,
- p_block->p_buffer, ctx->channels,
+ p_block->p_buffer, p_dec->fmt_out.audio.i_channels,
p_block->i_nb_samples, p_sys->pi_extraction,
p_dec->fmt_out.audio.i_bitspersample );
p_buffer->i_nb_samples = p_block->i_nb_samples;
@@ -600,13 +600,13 @@ static void SetupOutputFormat( decoder_t *p_dec, bool b_trust )
if( channel_layout )
{
for( unsigned i = 0; i < i_order_max
- && i_channels_src < p_sys->p_context->channels; i++ )
+ && i_channels_src < p_dec->fmt_out.audio.i_channels; i++ )
{
if( channel_layout & pi_channels_map[i][0] )
pi_order_src[i_channels_src++] = pi_channels_map[i][1];
}
- if( i_channels_src != p_sys->p_context->channels && b_trust )
+ if( i_channels_src != p_dec->fmt_out.audio.i_channels && b_trust )
msg_Err( p_dec, "Channel layout not understood" );
/* Detect special dual mono case */
--
GitLab
From 99b14966182995314f5b29fd972d6a9000ea3e00 Mon Sep 17 00:00:00 2001
From: Ilkka Ollakka <ileoo@videolan.org>
Date: Wed, 5 Jul 2023 13:33:09 +0300
Subject: [PATCH 03/11] avcodec: audio decoder to use ch_layout
(cherry picked from commit 496f0f2a659c1339d1e37330d446e9b6ce96e76b)
---
modules/codec/avcodec/audio.c | 42 ++++++++++++++++++++++++++++-------
1 file changed, 34 insertions(+), 8 deletions(-)
diff --git a/modules/codec/avcodec/audio.c b/modules/codec/avcodec/audio.c
index 26166c084e51..ad8a40ab4ed6 100644
--- a/modules/codec/avcodec/audio.c
+++ b/modules/codec/avcodec/audio.c
@@ -139,7 +139,11 @@ static int OpenAudioCodec( decoder_t *p_dec )
}
ctx->sample_rate = p_dec->fmt_in.audio.i_rate;
+#if LIBAVCODEC_VERSION_CHECK(59, 999, 999, 24, 100)
+ av_channel_layout_default( &ctx->ch_layout, p_dec->fmt_in.audio.i_channels );
+#else
ctx->channels = p_dec->fmt_in.audio.i_channels;
+#endif
ctx->block_align = p_dec->fmt_in.audio.i_blockalign;
ctx->bit_rate = p_dec->fmt_in.i_bitrate;
ctx->bits_per_coded_sample = p_dec->fmt_in.audio.i_bitspersample;
@@ -395,12 +399,17 @@ static int DecodeBlock( decoder_t *p_dec, block_t **pp_block )
ret = avcodec_receive_frame( ctx, frame );
if( ret == 0 )
{
+#if LIBAVCODEC_VERSION_CHECK(59, 999, 999, 24, 100)
+ int channels = frame->ch_layout.nb_channels;
+#else
+ int channels = ctx->channels;
+#endif
/* checks and init from first decoded frame */
- if( ctx->channels <= 0 || ctx->channels > INPUT_CHAN_MAX
+ if( channels <= 0 || channels > INPUT_CHAN_MAX
|| ctx->sample_rate <= 0 )
{
msg_Warn( p_dec, "invalid audio properties channels count %d, sample rate %d",
- ctx->channels, ctx->sample_rate );
+ channels, ctx->sample_rate );
goto drop;
}
else if( p_dec->fmt_out.audio.i_rate != (unsigned int)ctx->sample_rate )
@@ -580,6 +589,16 @@ static void SetupOutputFormat( decoder_t *p_dec, bool b_trust )
p_dec->fmt_out.audio.i_rate = p_sys->p_context->sample_rate;
/* */
+#if LIBAVCODEC_VERSION_CHECK(59, 999, 999, 24, 100)
+ if( p_sys->i_previous_channels == p_sys->p_context->ch_layout.nb_channels &&
+ p_sys->i_previous_layout == p_sys->p_context->ch_layout.u.mask )
+ return;
+ if( b_trust )
+ {
+ p_sys->i_previous_channels = p_sys->p_context->ch_layout.nb_channels;
+ p_sys->i_previous_layout = p_sys->p_context->ch_layout.u.mask;
+ }
+#else
if( p_sys->i_previous_channels == p_sys->p_context->channels &&
p_sys->i_previous_layout == p_sys->p_context->channel_layout )
return;
@@ -588,25 +607,32 @@ static void SetupOutputFormat( decoder_t *p_dec, bool b_trust )
p_sys->i_previous_channels = p_sys->p_context->channels;
p_sys->i_previous_layout = p_sys->p_context->channel_layout;
}
+#endif
const unsigned i_order_max = sizeof(pi_channels_map)/sizeof(*pi_channels_map);
uint32_t pi_order_src[i_order_max];
int i_channels_src = 0;
- uint64_t channel_layout =
+#if LIBAVCODEC_VERSION_CHECK(59, 999, 999, 24, 100)
+ uint64_t channel_layout_mask = p_sys->p_context->ch_layout.u.mask;
+ int channel_count = p_sys->p_context->ch_layout.nb_channels;
+#else
+ uint64_t channel_layout_mask =
p_sys->p_context->channel_layout ? p_sys->p_context->channel_layout :
(uint64_t)av_get_default_channel_layout( p_sys->p_context->channels );
+ int channel_count = p_sys->p_context->channels;
+#endif
- if( channel_layout )
+ if( channel_layout_mask )
{
for( unsigned i = 0; i < i_order_max
- && i_channels_src < p_dec->fmt_out.audio.i_channels; i++ )
+ && i_channels_src < channel_count; i++ )
{
- if( channel_layout & pi_channels_map[i][0] )
+ if( channel_layout_mask & pi_channels_map[i][0] )
pi_order_src[i_channels_src++] = pi_channels_map[i][1];
}
- if( i_channels_src != p_dec->fmt_out.audio.i_channels && b_trust )
+ if( i_channels_src != channel_count && b_trust )
msg_Err( p_dec, "Channel layout not understood" );
/* Detect special dual mono case */
@@ -638,7 +664,7 @@ static void SetupOutputFormat( decoder_t *p_dec, bool b_trust )
{
msg_Warn( p_dec, "no channel layout found");
p_dec->fmt_out.audio.i_physical_channels = 0;
- p_dec->fmt_out.audio.i_channels = p_sys->p_context->channels;
+ p_dec->fmt_out.audio.i_channels = channel_count;
}
aout_FormatPrepare( &p_dec->fmt_out.audio );
--
GitLab
From c44edb85e4f25cbc7a848211d2d3ca9f03bd46e6 Mon Sep 17 00:00:00 2001
From: Ilkka Ollakka <ileoo@videolan.org>
Date: Tue, 4 Jul 2023 16:52:38 +0300
Subject: [PATCH 04/11] avcodec: use p_enc audio channels instead of context
channels in encoder
Allows to have less conditions in code when adding new ch_layout use
(cherry-picked from commit 29747a8abb98ba53a64aa6761983891eeed2e0e4)
---
modules/codec/avcodec/encoder.c | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index 4919ccf0e0e4..52848de06587 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -790,7 +790,7 @@ int InitVideoEnc( vlc_object_t *p_this )
}
}
}
- if( i_channels_src != p_context->channels )
+ if( i_channels_src != p_enc->fmt_out.audio.i_channels )
msg_Err( p_enc, "Channel layout not understood" );
p_sys->i_channels_to_reorder =
@@ -897,7 +897,7 @@ int InitVideoEnc( vlc_object_t *p_this )
if( ret )
{
if( p_enc->fmt_in.i_cat != AUDIO_ES ||
- (p_context->channels <= 2 && i_codec_id != AV_CODEC_ID_MP2
+ (p_enc->fmt_out.audio.i_channels <= 2 && i_codec_id != AV_CODEC_ID_MP2
&& i_codec_id != AV_CODEC_ID_MP3) )
errmsg:
{
@@ -922,7 +922,7 @@ errmsg:
goto error;
}
- if( p_context->channels > 2 )
+ if( p_enc->fmt_out.audio.i_channels > 2 )
{
p_context->channels = 2;
p_context->channel_layout = channel_mask[p_context->channels][1];
@@ -1028,7 +1028,7 @@ errmsg:
p_context->frame_size :
AV_INPUT_BUFFER_MIN_SIZE;
p_sys->i_buffer_out = av_samples_get_buffer_size(NULL,
- p_sys->p_context->channels, p_sys->i_frame_size,
+ p_enc->fmt_out.audio.i_channels, p_sys->i_frame_size,
p_sys->p_context->sample_fmt, DEFAULT_ALIGN);
p_sys->p_buffer = av_malloc( p_sys->i_buffer_out );
if ( unlikely( p_sys->p_buffer == NULL ) )
@@ -1278,7 +1278,7 @@ static block_t *handle_delay_buffer( encoder_t *p_enc, encoder_sys_t *p_sys, uns
{
block_t *p_block = NULL;
//How much we need to copy from new packet
- const size_t leftover = leftover_samples * p_sys->p_context->channels * p_sys->i_sample_bytes;
+ const size_t leftover = leftover_samples * p_enc->fmt_out.audio.i_channels * p_sys->i_sample_bytes;
av_frame_unref( p_sys->frame );
p_sys->frame->format = p_sys->p_context->sample_fmt;
@@ -1301,7 +1301,7 @@ static block_t *handle_delay_buffer( encoder_t *p_enc, encoder_sys_t *p_sys, uns
// We need to deinterleave from p_aout_buf to p_buffer the leftover bytes
if( p_sys->b_planar )
aout_Deinterleave( p_sys->p_interleave_buf, p_sys->p_buffer,
- p_sys->i_frame_size, p_sys->p_context->channels, p_enc->fmt_in.i_codec );
+ p_sys->i_frame_size, p_enc->fmt_out.audio.i_channels, p_enc->fmt_in.i_codec );
else
memcpy( p_sys->p_buffer + buffer_delay, p_aout_buf->p_buffer, leftover);
@@ -1319,7 +1319,7 @@ static block_t *handle_delay_buffer( encoder_t *p_enc, encoder_sys_t *p_sys, uns
memset( p_sys->p_buffer + (leftover+buffer_delay), 0, padding_size );
buffer_delay += padding_size;
}
- if( avcodec_fill_audio_frame( p_sys->frame, p_sys->p_context->channels,
+ if( avcodec_fill_audio_frame( p_sys->frame, p_enc->fmt_out.audio.i_channels,
p_sys->p_context->sample_fmt, p_sys->b_planar ? p_sys->p_interleave_buf : p_sys->p_buffer,
p_sys->i_buffer_out,
DEFAULT_ALIGN) < 0 )
@@ -1349,7 +1349,7 @@ static block_t *EncodeAudio( encoder_t *p_enc, block_t *p_aout_buf )
//i_bytes_left is amount of bytes we get
i_samples_left = p_aout_buf ? p_aout_buf->i_nb_samples : 0;
- buffer_delay = p_sys->i_samples_delay * p_sys->i_sample_bytes * p_sys->p_context->channels;
+ buffer_delay = p_sys->i_samples_delay * p_sys->i_sample_bytes * p_enc->fmt_out.audio.i_channels;
//p_sys->i_buffer_out = p_sys->i_frame_size * chan * p_sys->i_sample_bytes
//Calculate how many bytes we would need from current buffer to fill frame
@@ -1418,12 +1418,12 @@ static block_t *EncodeAudio( encoder_t *p_enc, block_t *p_aout_buf )
p_sys->frame->channels = p_sys->p_context->channels;
const int in_bytes = p_sys->frame->nb_samples *
- p_sys->p_context->channels * p_sys->i_sample_bytes;
+ p_enc->fmt_out.audio.i_channels* p_sys->i_sample_bytes;
if( p_sys->b_planar )
{
aout_Deinterleave( p_sys->p_buffer, p_aout_buf->p_buffer,
- p_sys->frame->nb_samples, p_sys->p_context->channels, p_enc->fmt_in.i_codec );
+ p_sys->frame->nb_samples, p_enc->fmt_out.audio.i_channels, p_enc->fmt_in.i_codec );
}
else
@@ -1431,7 +1431,7 @@ static block_t *EncodeAudio( encoder_t *p_enc, block_t *p_aout_buf )
memcpy(p_sys->p_buffer, p_aout_buf->p_buffer, in_bytes);
}
- if( avcodec_fill_audio_frame( p_sys->frame, p_sys->p_context->channels,
+ if( avcodec_fill_audio_frame( p_sys->frame, p_enc->fmt_out.audio.i_channels,
p_sys->p_context->sample_fmt,
p_sys->p_buffer,
p_sys->i_buffer_out,
@@ -1457,7 +1457,7 @@ static block_t *EncodeAudio( encoder_t *p_enc, block_t *p_aout_buf )
if( p_aout_buf->i_nb_samples > 0 )
{
memcpy( p_sys->p_buffer + buffer_delay, p_aout_buf->p_buffer,
- p_aout_buf->i_nb_samples * p_sys->i_sample_bytes * p_sys->p_context->channels);
+ p_aout_buf->i_nb_samples * p_sys->i_sample_bytes * p_enc->fmt_out.audio.i_channels);
p_sys->i_samples_delay += p_aout_buf->i_nb_samples;
}
--
GitLab
From b8ad80a20e9e84082dac2848070d251fa68412c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Cartegnie?= <fcvlcdev@free.fr>
Date: Tue, 23 Apr 2024 13:13:30 +0700
Subject: [PATCH 05/11] codec: avcodec: map AYUV as RAWVIDEO with ffmpeg 6.0
(cherry picked from commit 955ef939467a628eb8da08e0d5eaefc9a3484cba)
---
modules/codec/avcodec/fourcc.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 33c6cae09abc..97f3188211d3 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -182,8 +182,12 @@ static const struct vlc_avcodec_fourcc video_codecs[] =
/* AV_CODEC_ID_V210X */
{ VLC_CODEC_TMV, AV_CODEC_ID_TMV },
{ VLC_CODEC_V210, AV_CODEC_ID_V210 },
-#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 54, 50, 100 ) && LIBAVCODEC_VERSION_MICRO >= 100
+#if LIBAVCODEC_VERSION_MICRO >= 100
+# if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 59, 42, 102 )
+ { VLC_CODEC_VUYA, AV_CODEC_ID_RAWVIDEO },
+# elif LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 54, 50, 100 )
{ VLC_CODEC_VUYA, AV_CODEC_ID_AYUV },
+# endif
#endif
/* AV_CODEC_ID_DPX */
{ VLC_CODEC_MAD, AV_CODEC_ID_MAD },
--
GitLab
From 58c05240c26b6eef56e7c5ab35b14ccd8377667f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Cartegnie?= <fcvlcdev@free.fr>
Date: Thu, 13 Jun 2024 12:21:58 +0700
Subject: [PATCH 06/11] avcodec: encoder: fix channel_layout conditionals
---
modules/codec/avcodec/encoder.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index 52848de06587..6bd58f5071d2 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -43,12 +43,13 @@
#include <vlc_cpu.h>
#include <libavcodec/avcodec.h>
-#include <libavutil/channel_layout.h>
#include "avcodec.h"
#include "avcommon.h"
-#if LIBAVUTIL_VERSION_CHECK( 52,2,6,0,0 )
+#define API_CHANNEL_LAYOUT (LIBAVUTIL_VERSION_CHECK( 52, 2, 6, 0, 100))
+
+#if API_CHANNEL_LAYOUT
# include <libavutil/channel_layout.h>
#endif
@@ -157,6 +158,7 @@ struct encoder_sys_t
/* Taken from audio.c*/
+#if API_CHANNEL_LAYOUT
static const uint64_t pi_channels_map[][2] =
{
{ AV_CH_FRONT_LEFT, AOUT_CHAN_LEFT },
@@ -193,6 +195,7 @@ static const uint32_t channel_mask[][2] = {
{AOUT_CHANS_7_1, AV_CH_LAYOUT_7POINT1},
{AOUT_CHANS_8_1, AV_CH_LAYOUT_OCTAGONAL},
};
+#endif
static const char *const ppsz_enc_options[] = {
"keyint", "bframes", "vt", "qmin", "qmax", "codec", "hq",
@@ -746,7 +749,7 @@ int InitVideoEnc( vlc_object_t *p_this )
p_context->time_base.num = 1;
p_context->time_base.den = p_context->sample_rate;
p_context->channels = p_enc->fmt_out.audio.i_channels;
-#if LIBAVUTIL_VERSION_CHECK( 52, 2, 6, 0, 0)
+#if API_CHANNEL_LAYOUT
p_context->channel_layout = channel_mask[p_context->channels][1];
/* Setup Channel ordering for multichannel audio
@@ -925,7 +928,9 @@ errmsg:
if( p_enc->fmt_out.audio.i_channels > 2 )
{
p_context->channels = 2;
+#if API_CHANNEL_LAYOUT
p_context->channel_layout = channel_mask[p_context->channels][1];
+#endif
/* Change fmt_in in order to ask for a channels conversion */
p_enc->fmt_in.audio.i_channels =
--
GitLab
From 3db6e677680a1a94e473fe9d9fc121af34cdcf2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Cartegnie?= <fcvlcdev@free.fr>
Date: Sat, 17 Aug 2024 11:22:33 +0700
Subject: [PATCH 07/11] codec: avcodec: fix audio channel_layout conditionals
---
modules/codec/avcodec/audio.c | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/modules/codec/avcodec/audio.c b/modules/codec/avcodec/audio.c
index ad8a40ab4ed6..c74757c76ae5 100644
--- a/modules/codec/avcodec/audio.c
+++ b/modules/codec/avcodec/audio.c
@@ -41,8 +41,11 @@
#include <libavcodec/avcodec.h>
#include <libavutil/mem.h>
-#include <libavutil/channel_layout.h>
+#define API_CHANNEL_LAYOUT (LIBAVUTIL_VERSION_CHECK( 52, 2, 6, 0, 100))
+#if API_CHANNEL_LAYOUT
+# include <libavutil/channel_layout.h>
+#endif
/*****************************************************************************
* decoder_sys_t : decoder descriptor
@@ -598,7 +601,7 @@ static void SetupOutputFormat( decoder_t *p_dec, bool b_trust )
p_sys->i_previous_channels = p_sys->p_context->ch_layout.nb_channels;
p_sys->i_previous_layout = p_sys->p_context->ch_layout.u.mask;
}
-#else
+#elif API_CHANNEL_LAYOUT
if( p_sys->i_previous_channels == p_sys->p_context->channels &&
p_sys->i_previous_layout == p_sys->p_context->channel_layout )
return;
@@ -612,15 +615,19 @@ static void SetupOutputFormat( decoder_t *p_dec, bool b_trust )
const unsigned i_order_max = sizeof(pi_channels_map)/sizeof(*pi_channels_map);
uint32_t pi_order_src[i_order_max];
- int i_channels_src = 0;
+ int i_channels_src = 0, channel_count;
+ uint64_t channel_layout_mask;
#if LIBAVCODEC_VERSION_CHECK(59, 999, 999, 24, 100)
- uint64_t channel_layout_mask = p_sys->p_context->ch_layout.u.mask;
- int channel_count = p_sys->p_context->ch_layout.nb_channels;
-#else
- uint64_t channel_layout_mask =
+ channel_layout_mask = p_sys->p_context->ch_layout.u.mask;
+ channel_count = p_sys->p_context->ch_layout.nb_channels;
+#elif API_CHANNEL_LAYOUT
+ channel_layout_mask =
p_sys->p_context->channel_layout ? p_sys->p_context->channel_layout :
(uint64_t)av_get_default_channel_layout( p_sys->p_context->channels );
- int channel_count = p_sys->p_context->channels;
+ channel_count = p_sys->p_context->channels;
+#else
+ channel_layout_mask = NULL;
+ channel_count = p_sys->p_context->channels;
#endif
if( channel_layout_mask )
--
GitLab
From b5bb9bda03a06fc1cfd682dacb571b688b5558d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Cartegnie?= <fcvlcdev@free.fr>
Date: Tue, 23 Apr 2024 13:14:53 +0700
Subject: [PATCH 08/11] demux/mux: avformat: use ch_layout from ffmpeg 5.1
merger pick from commit a55ec32ab3760d9edb6f05481cd3a981aa42878d
and fixup 195f0c98599b55950c49a62f98d9d3495be310df
---
modules/demux/avformat/demux.c | 4 ++++
modules/demux/avformat/mux.c | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index 3b355bb3faec..830dc0157e2b 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -401,7 +401,11 @@ int avformat_OpenDemux( vlc_object_t *p_this )
es_format_Init( &es_fmt, AUDIO_ES, fcc );
es_fmt.i_original_fourcc = CodecTagToFourcc( cp->codec_tag );
es_fmt.i_bitrate = cp->bit_rate;
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 59, 24, 100 ) && LIBAVCODEC_VERSION_MICRO >= 100
+ es_fmt.audio.i_channels = cp->ch_layout.nb_channels;
+#else
es_fmt.audio.i_channels = cp->channels;
+#endif
es_fmt.audio.i_rate = cp->sample_rate;
es_fmt.audio.i_bitspersample = cp->bits_per_coded_sample;
es_fmt.audio.i_blockalign = cp->block_align;
diff --git a/modules/demux/avformat/mux.c b/modules/demux/avformat/mux.c
index c708276954ce..8bf8735885f5 100644
--- a/modules/demux/avformat/mux.c
+++ b/modules/demux/avformat/mux.c
@@ -267,7 +267,11 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
{
case AUDIO_ES:
codecpar->codec_type = AVMEDIA_TYPE_AUDIO;
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 59, 24, 100 ) && LIBAVCODEC_VERSION_MICRO >= 100
+ av_channel_layout_default( &codecpar->ch_layout, fmt->audio.i_channels );
+#else
codecpar->channels = fmt->audio.i_channels;
+#endif
codecpar->sample_rate = fmt->audio.i_rate;
stream->time_base = (AVRational){1, codecpar->sample_rate};
if (fmt->i_bitrate == 0) {
--
GitLab
From fa001cda7f6b22843438c39dfc078050bb54c72a Mon Sep 17 00:00:00 2001
From: Ilkka Ollakka <ileoo@videolan.org>
Date: Tue, 4 Jul 2023 16:53:43 +0300
Subject: [PATCH 09/11] avcodec: add handling of new ch_layout in audio encoder
conditioned to avcodec version where is it added
(cherry picked from commit c4302ca59dd79efd7208a45a3fcdc44388fd03a8)
---
modules/codec/avcodec/encoder.c | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index 6bd58f5071d2..757f93b46845 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -927,11 +927,14 @@ errmsg:
if( p_enc->fmt_out.audio.i_channels > 2 )
{
+#if LIBAVCODEC_VERSION_CHECK(59, 999, 999, 24, 100)
+ av_channel_layout_default( &p_context->ch_layout, 2 );
+#else
p_context->channels = 2;
-#if API_CHANNEL_LAYOUT
+# if API_CHANNEL_LAYOUT
p_context->channel_layout = channel_mask[p_context->channels][1];
+# endif
#endif
-
/* Change fmt_in in order to ask for a channels conversion */
p_enc->fmt_in.audio.i_channels =
p_enc->fmt_out.audio.i_channels = 2;
@@ -1288,8 +1291,12 @@ static block_t *handle_delay_buffer( encoder_t *p_enc, encoder_sys_t *p_sys, uns
av_frame_unref( p_sys->frame );
p_sys->frame->format = p_sys->p_context->sample_fmt;
p_sys->frame->nb_samples = leftover_samples + p_sys->i_samples_delay;
+#if LIBAVCODEC_VERSION_CHECK(59, 999, 999, 24, 100)
+ av_channel_layout_copy(&p_sys->frame->ch_layout, &p_sys->p_context->ch_layout);
+#else
p_sys->frame->channel_layout = p_sys->p_context->channel_layout;
p_sys->frame->channels = p_sys->p_context->channels;
+#endif
p_sys->frame->pts = date_Get( &p_sys->buffer_date ) * p_sys->p_context->time_base.den /
CLOCK_FREQ / p_sys->p_context->time_base.num;
@@ -1419,8 +1426,12 @@ static block_t *EncodeAudio( encoder_t *p_enc, block_t *p_aout_buf )
p_sys->frame->pts = date_Get( &p_sys->buffer_date ) * p_sys->p_context->time_base.den /
CLOCK_FREQ / p_sys->p_context->time_base.num;
+#if LIBAVCODEC_VERSION_CHECK(59, 999, 999, 24, 100)
+ av_channel_layout_copy(&p_sys->frame->ch_layout, &p_sys->p_context->ch_layout);
+#else
p_sys->frame->channel_layout = p_sys->p_context->channel_layout;
p_sys->frame->channels = p_sys->p_context->channels;
+#endif
const int in_bytes = p_sys->frame->nb_samples *
p_enc->fmt_out.audio.i_channels* p_sys->i_sample_bytes;
--
GitLab
From bb62989ccc12866d308e6f38dc1513de9cb1c6da Mon Sep 17 00:00:00 2001
From: Ilkka Ollakka <ileoo@videolan.org>
Date: Tue, 4 Jul 2023 16:55:28 +0300
Subject: [PATCH 10/11] avcodec: use ch_layout for channel layout in audio
encoder
channels and channel_layout has been deprecated in FFMPEG 5.1 and will be removed eventually
also always create the mapping, as ch_layout is always there
(cherry picked from commit b73dc8841d999c6be9de718cd2cd3aeb13279792)
---
modules/codec/avcodec/encoder.c | 53 ++++++++++++++-------------------
1 file changed, 22 insertions(+), 31 deletions(-)
diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index 757f93b46845..ae746c99fc89 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -183,6 +183,7 @@ static const uint64_t pi_channels_map[][2] =
{ AV_CH_STEREO_RIGHT, 0 },
};
+# if !LIBAVCODEC_VERSION_CHECK(59, 999, 999, 24, 100)
static const uint32_t channel_mask[][2] = {
{0,0},
{AOUT_CHAN_CENTER, AV_CH_LAYOUT_MONO},
@@ -195,6 +196,7 @@ static const uint32_t channel_mask[][2] = {
{AOUT_CHANS_7_1, AV_CH_LAYOUT_7POINT1},
{AOUT_CHANS_8_1, AV_CH_LAYOUT_OCTAGONAL},
};
+# endif
#endif
static const char *const ppsz_enc_options[] = {
@@ -748,49 +750,36 @@ int InitVideoEnc( vlc_object_t *p_this )
date_Set( &p_sys->buffer_date, AV_NOPTS_VALUE );
p_context->time_base.num = 1;
p_context->time_base.den = p_context->sample_rate;
- p_context->channels = p_enc->fmt_out.audio.i_channels;
-#if API_CHANNEL_LAYOUT
- p_context->channel_layout = channel_mask[p_context->channels][1];
- /* Setup Channel ordering for multichannel audio
+ /* Setup Channel ordering for audio
* as VLC channel order isn't same as libavcodec expects
*/
p_sys->i_channels_to_reorder = 0;
- /* Specified order
+ /* Create channel layout for avcodec
* Copied from audio.c
*/
- const unsigned i_order_max = 8 * sizeof(p_context->channel_layout);
- uint32_t pi_order_dst[AOUT_CHAN_MAX] = { };
+#if API_CHANNEL_LAYOUT
+ uint32_t pi_order_dst[AOUT_CHAN_MAX] = { 0 };
uint32_t order_mask = 0;
int i_channels_src = 0;
-
- if( p_context->channel_layout )
- {
- msg_Dbg( p_enc, "Creating channel order for reordering");
- for( unsigned i = 0; i < sizeof(pi_channels_map)/sizeof(*pi_channels_map); i++ )
- {
- if( p_context->channel_layout & pi_channels_map[i][0] )
- {
- msg_Dbg( p_enc, "%d %"PRIx64" mapped to %"PRIx64"", i_channels_src, pi_channels_map[i][0], pi_channels_map[i][1]);
- pi_order_dst[i_channels_src++] = pi_channels_map[i][1];
- order_mask |= pi_channels_map[i][1];
- }
- }
- }
- else
+ msg_Dbg( p_enc, "Creating channel order for reordering");
+# if LIBAVCODEC_VERSION_CHECK(59, 999, 999, 24, 100)
+ av_channel_layout_default( &p_context->ch_layout, p_enc->fmt_out.audio.i_channels );
+ uint64_t channel_mask = p_context->ch_layout.u.mask;
+# else
+ p_context->channels = p_enc->fmt_out.audio.i_channels;
+ p_context->channel_layout = channel_mask[p_context->channels][1];
+ uint64_t channel_mask = p_context->channel_layout;
+# endif
+ for( unsigned i = 0; i < sizeof(pi_channels_map)/sizeof(*pi_channels_map); i++ )
{
- msg_Dbg( p_enc, "Creating default channel order for reordering");
- /* Create default order */
- for( unsigned int i = 0; i < __MIN( i_order_max, (unsigned)p_sys->p_context->channels ); i++ )
+ if( channel_mask & pi_channels_map[i][0] )
{
- if( i < sizeof(pi_channels_map)/sizeof(*pi_channels_map) )
- {
- msg_Dbg( p_enc, "%d channel is %"PRIx64"", i_channels_src, pi_channels_map[i][1]);
- pi_order_dst[i_channels_src++] = pi_channels_map[i][1];
- order_mask |= pi_channels_map[i][1];
- }
+ msg_Dbg( p_enc, "%d %"PRIx64" mapped to %"PRIx64"", i_channels_src, pi_channels_map[i][0], pi_channels_map[i][1]);
+ pi_order_dst[i_channels_src++] = pi_channels_map[i][1];
+ order_mask |= pi_channels_map[i][1];
}
}
if( i_channels_src != p_enc->fmt_out.audio.i_channels )
@@ -799,6 +788,8 @@ int InitVideoEnc( vlc_object_t *p_this )
p_sys->i_channels_to_reorder =
aout_CheckChannelReorder( NULL, pi_order_dst, order_mask,
p_sys->pi_reorder_layout );
+#else
+ p_context->channels = p_enc->fmt_out.audio.i_channels;
#endif
if ( p_enc->fmt_out.i_codec == VLC_CODEC_MP4A )
--
GitLab
From e020f9abb31809584e33d740593d6ae5a190771d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Cartegnie?= <fcvlcdev@free.fr>
Date: Mon, 12 Aug 2024 19:32:42 +0700
Subject: [PATCH 11/11] codec: avcodec: bypass removed define for Intel
workarounds
adapted from cherry picked commit 1280728ad305f00ceba3491ce11bf66107017a6c
---
modules/codec/avcodec/d3d11va.c | 4 ++++
modules/codec/avcodec/dxva2.c | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/modules/codec/avcodec/d3d11va.c b/modules/codec/avcodec/d3d11va.c
index e1560a9312cc..5260628364f0 100644
--- a/modules/codec/avcodec/d3d11va.c
+++ b/modules/codec/avcodec/d3d11va.c
@@ -55,6 +55,10 @@
#define D3D_DecoderSurface ID3D11VideoDecoderOutputView
#include "directx_va.h"
+#ifndef FF_DXVA2_WORKAROUND_INTEL_CLEARVIDEO
+# define FF_DXVA2_WORKAROUND_INTEL_CLEARVIDEO 2 // moved to libavcodec/dxva2_internal.h :/
+#endif
+
static int Open(vlc_va_t *, AVCodecContext *, const AVPixFmtDescriptor *, enum PixelFormat,
const es_format_t *, picture_sys_t *p_sys);
static void Close(vlc_va_t *, void **);
diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c
index 2e6809a05410..037ad7d44887 100644
--- a/modules/codec/avcodec/dxva2.c
+++ b/modules/codec/avcodec/dxva2.c
@@ -43,6 +43,10 @@
#define D3D_DecoderSurface IDirect3DSurface9
#include "directx_va.h"
+#ifndef FF_DXVA2_WORKAROUND_INTEL_CLEARVIDEO
+# define FF_DXVA2_WORKAROUND_INTEL_CLEARVIDEO 2 // moved to libavcodec/dxva2_internal.h :/
+#endif
+
static int Open(vlc_va_t *, AVCodecContext *, const AVPixFmtDescriptor *, enum PixelFormat,
const es_format_t *, picture_sys_t *p_sys);
static void Close(vlc_va_t *, void **);
--
GitLab

28
5590.patch Normal file
View File

@@ -0,0 +1,28 @@
From a761e1c202b632e7865d18fcf11a2b9e285ea9ae Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tmatth@videolan.org>
Date: Wed, 1 Feb 2023 23:39:36 -0500
Subject: [PATCH] opus_header: fix channel mapping family 1 parsing
Fixes #27808
(cherry picked from commit 79fa6af0a98921f9d34933761f4fe20ef6c35309)
---
modules/codec/opus_header.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/opus_header.c b/modules/codec/opus_header.c
index 4069a5cf4613..b134b20b625b 100644
--- a/modules/codec/opus_header.c
+++ b/modules/codec/opus_header.c
@@ -205,7 +205,7 @@ int opus_header_parse(const unsigned char *packet, int len, OpusHeader *h)
h->nb_coupled = ch;
/* Multi-stream support */
- if(h->channel_mapping == 2)
+ if(h->channel_mapping <= 2)
{
if (h->nb_coupled + h->nb_streams > 255)
return 0;
--
GitLab

82
6168.patch Normal file
View File

@@ -0,0 +1,82 @@
From a618e31cf209168ae420e95750734a37359969e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Cartegnie?= <fcvlcdev@free.fr>
Date: Sun, 7 Jul 2024 11:14:05 +0200
Subject: [PATCH] mux: avformat: fix avio callbacks signature with ffmpeg 6.1
API signature changes introduced depending on a positive define,
then removed later, making it break prior or post removal...
(adapted from commit 503c04fad9239420be26d67aab4d5f63c53eb4f7)
---
modules/codec/avcodec/avcommon_compat.h | 3 +++
modules/demux/avformat/mux.c | 18 ++++++++++++++++++
2 files changed, 21 insertions(+)
diff --git a/modules/codec/avcodec/avcommon_compat.h b/modules/codec/avcodec/avcommon_compat.h
index 9d16b3dc47d9..561ad83f99f9 100644
--- a/modules/codec/avcodec/avcommon_compat.h
+++ b/modules/codec/avcodec/avcommon_compat.h
@@ -77,6 +77,9 @@
#ifndef FF_MAX_B_FRAMES
# define FF_MAX_B_FRAMES 16 // FIXME: remove this
#endif
+#ifndef FF_API_AVIO_WRITE_NONCONST // removed in ffmpeg 7
+# define FF_API_AVIO_WRITE_NONCONST (LIBAVFORMAT_VERSION_MAJOR < 61)
+#endif
#endif /* HAVE_LIBAVCODEC_AVCODEC_H */
diff --git a/modules/demux/avformat/mux.c b/modules/demux/avformat/mux.c
index 8bf8735885f5..033a87bdaaad 100644
--- a/modules/demux/avformat/mux.c
+++ b/modules/demux/avformat/mux.c
@@ -74,11 +74,20 @@ static int AddStream( sout_mux_t *, sout_input_t * );
static void DelStream( sout_mux_t *, sout_input_t * );
static int Mux ( sout_mux_t * );
+#if FF_API_AVIO_WRITE_NONCONST
static int IOWrite( void *opaque, uint8_t *buf, int buf_size );
+#else
+static int IOWrite( void *opaque, const uint8_t *buf, int buf_size );
+#endif
static int64_t IOSeek( void *opaque, int64_t offset, int whence );
#if LIBAVFORMAT_VERSION_CHECK( 57, 7, 0, 40, 100 )
+# if FF_API_AVIO_WRITE_NONCONST
static int IOWriteTyped(void *opaque, uint8_t *buf, int buf_size,
enum AVIODataMarkerType type, int64_t time);
+# else
+int IOWriteTyped(void *opaque, const uint8_t *buf, int buf_size,
+ enum AVIODataMarkerType type, int64_t time);
+# endif
#endif
/*****************************************************************************
@@ -411,8 +420,13 @@ static int MuxBlock( sout_mux_t *p_mux, sout_input_t *p_input )
}
#if LIBAVFORMAT_VERSION_CHECK( 57, 7, 0, 40, 100 )
+# if FF_API_AVIO_WRITE_NONCONST
int IOWriteTyped(void *opaque, uint8_t *buf, int buf_size,
enum AVIODataMarkerType type, int64_t time)
+# else
+int IOWriteTyped(void *opaque, const uint8_t *buf, int buf_size,
+ enum AVIODataMarkerType type, int64_t time)
+# endif
{
VLC_UNUSED(time);
@@ -512,7 +526,11 @@ static int Control( sout_mux_t *p_mux, int i_query, va_list args )
/*****************************************************************************
* I/O wrappers for libavformat
*****************************************************************************/
+#if FF_API_AVIO_WRITE_NONCONST
static int IOWrite( void *opaque, uint8_t *buf, int buf_size )
+#else
+static int IOWrite( void *opaque, const uint8_t *buf, int buf_size )
+#endif
{
sout_mux_t *p_mux = opaque;
sout_mux_sys_t *p_sys = p_mux->p_sys;
--
GitLab

1430
6273.patch Normal file

File diff suppressed because it is too large Load Diff

46
6527.patch Normal file
View File

@@ -0,0 +1,46 @@
From a945944c2d50cacfacdd5b16d4ea5e7b4766a9fc Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Mon, 16 Dec 2024 09:28:55 +0100
Subject: [PATCH] nfs: fix libnfs API v2 support
Introduced in libnfs 6.0.0.
Co-authored-by: ronnie sahlberg <ronniesahlberg@gmail.com>
Co-authored-by: Thomas Guillem <thomas@gllm.fr>
---
modules/access/nfs.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/modules/access/nfs.c b/modules/access/nfs.c
index f164cda86499..3510c3fe1f14 100644
--- a/modules/access/nfs.c
+++ b/modules/access/nfs.c
@@ -188,7 +188,8 @@ nfs_read_cb(int i_status, struct nfs_context *p_nfs, void *p_data,
else
{
p_sys->res.read.i_len = i_status;
- memcpy(p_sys->res.read.p_buf, p_data, i_status);
+ if (p_sys->res.read.p_buf != NULL && p_data != NULL)
+ memcpy(p_sys->res.read.p_buf, p_data, i_status);
}
}
@@ -208,9 +209,15 @@ FileRead(stream_t *p_access, void *p_buf, size_t i_len)
return 0;
p_sys->res.read.i_len = 0;
+#ifdef LIBNFS_API_V2
+ p_sys->res.read.p_buf = NULL;
+ if (nfs_read_async(p_sys->p_nfs, p_sys->p_nfsfh, p_buf, i_len, nfs_read_cb,
+ p_access) < 0)
+#else
p_sys->res.read.p_buf = p_buf;
if (nfs_read_async(p_sys->p_nfs, p_sys->p_nfsfh, i_len, nfs_read_cb,
p_access) < 0)
+#endif
{
msg_Err(p_access, "nfs_read_async failed");
return 0;
--
GitLab

149
6606.patch Normal file
View File

@@ -0,0 +1,149 @@
From ba5dc03aecc1d96f81b76838f845ebde7348cf62 Mon Sep 17 00:00:00 2001
From: David Rosca <nowrep@gmail.com>
Date: Fri, 20 Dec 2024 20:24:36 +0100
Subject: [PATCH] avcodec: vaapi: Support VAAPI with latest FFmpeg
---
configure.ac | 20 +------------
modules/codec/Makefile.am | 2 +-
modules/codec/avcodec/avcommon_compat.h | 3 ++
modules/codec/avcodec/vaapi.c | 38 +++++++++++++++++++++++--
4 files changed, 41 insertions(+), 22 deletions(-)
diff --git a/configure.ac b/configure.ac
index 00afb063c455..089339e10e0b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2550,25 +2550,7 @@ AM_CONDITIONAL([HAVE_VAAPI], [test "${have_vaapi}" = "yes"])
AM_CONDITIONAL([HAVE_VAAPI_DRM], [test "${have_vaapi_drm}" = "yes"])
AM_CONDITIONAL([HAVE_VAAPI_X11], [test "${have_vaapi_x11}" = "yes"])
AM_CONDITIONAL([HAVE_VAAPI_WL], [test "${have_vaapi_wl}" = "yes"])
-
-have_avcodec_vaapi="no"
-AS_IF([test "${have_vaapi}" = "yes" -a "${have_avcodec}" = "yes"], [
- VLC_SAVE_FLAGS
- CPPFLAGS="${CPPFLAGS} ${AVCODEC_CFLAGS}"
- CFLAGS="${CFLAGS} ${AVCODEC_CFLAGS}"
- AC_CHECK_HEADERS([libavcodec/vaapi.h], [
- AC_MSG_NOTICE([VA API acceleration activated])
- have_avcodec_vaapi="yes"
- ],[
- AS_IF([test -n "${enable_libva}"], [
- AC_MSG_ERROR([libva is present but libavcodec/vaapi.h is missing])
- ], [
- AC_MSG_WARN([libva is present but libavcodec/vaapi.h is missing ])
- ])
- ])
- VLC_RESTORE_FLAGS
-])
-AM_CONDITIONAL([HAVE_AVCODEC_VAAPI], [test "${have_avcodec_vaapi}" = "yes"])
+AM_CONDITIONAL([HAVE_AVCODEC_VAAPI], [test "${have_vaapi}" = "yes" -a "${have_avcodec}" = "yes"])
dnl
dnl dxva2 needs avcodec
diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index 6d9465fdaef9..dd04391c1bf7 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -416,7 +416,7 @@ libvaapi_plugin_la_SOURCES = \
codec/avcodec/vaapi.c hw/vaapi/vlc_vaapi.c hw/vaapi/vlc_vaapi.h
libvaapi_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
libvaapi_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVCODEC_CFLAGS)
-libvaapi_plugin_la_LIBADD = $(LIBVA_LIBS)
+libvaapi_plugin_la_LIBADD = $(LIBVA_LIBS) $(AVCODEC_LIBS)
if HAVE_AVCODEC_VAAPI
if HAVE_VAAPI_DRM
codec_LTLIBRARIES += libvaapi_drm_plugin.la
diff --git a/modules/codec/avcodec/avcommon_compat.h b/modules/codec/avcodec/avcommon_compat.h
index ac02c06d2339..8ab6910f3250 100644
--- a/modules/codec/avcodec/avcommon_compat.h
+++ b/modules/codec/avcodec/avcommon_compat.h
@@ -84,6 +84,9 @@
#ifndef FF_API_AVIO_WRITE_NONCONST // removed in ffmpeg 7
# define FF_API_AVIO_WRITE_NONCONST (LIBAVFORMAT_VERSION_MAJOR < 61)
#endif
+#ifndef FF_API_STRUCT_VAAPI_CONTEXT
+# define FF_API_STRUCT_VAAPI_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 59)
+#endif
#endif /* HAVE_LIBAVCODEC_AVCODEC_H */
diff --git a/modules/codec/avcodec/vaapi.c b/modules/codec/avcodec/vaapi.c
index c83269e43f30..e203baaf9ee2 100644
--- a/modules/codec/avcodec/vaapi.c
+++ b/modules/codec/avcodec/vaapi.c
@@ -42,12 +42,25 @@
# include <va/va_drm.h>
#endif
#include <libavcodec/avcodec.h>
+#if FF_API_STRUCT_VAAPI_CONTEXT
#include <libavcodec/vaapi.h>
+#else
+#include <libavutil/hwcontext_vaapi.h>
+#endif
#include "avcodec.h"
#include "va.h"
#include "../../hw/vaapi/vlc_vaapi.h"
+#if !FF_API_STRUCT_VAAPI_CONTEXT
+struct vaapi_context
+{
+ VADisplay display;
+ VAConfigID config_id;
+ VAContextID context_id;
+};
+#endif
+
struct vlc_va_sys_t
{
struct vlc_vaapi_instance *va_inst;
@@ -145,8 +158,10 @@ static void Delete(vlc_va_t *va, void **hwctx)
(void) hwctx;
- vlc_vaapi_DestroyContext(o, sys->hw_ctx.display, sys->hw_ctx.context_id);
- vlc_vaapi_DestroyConfig(o, sys->hw_ctx.display, sys->hw_ctx.config_id);
+ if (sys->hw_ctx.context_id != VA_INVALID_ID)
+ vlc_vaapi_DestroyContext(o, sys->hw_ctx.display, sys->hw_ctx.context_id);
+ if (sys->hw_ctx.config_id != VA_INVALID_ID)
+ vlc_vaapi_DestroyConfig(o, sys->hw_ctx.display, sys->hw_ctx.config_id);
vlc_vaapi_ReleaseInstance(sys->va_inst);
free(sys);
}
@@ -196,6 +211,7 @@ static int Create(vlc_va_t *va, AVCodecContext *ctx, const AVPixFmtDescriptor *d
sys->hw_ctx.config_id = VA_INVALID_ID;
sys->hw_ctx.context_id = VA_INVALID_ID;
+#if FF_API_STRUCT_VAAPI_CONTEXT
sys->hw_ctx.config_id =
vlc_vaapi_CreateConfigChecked(o, sys->hw_ctx.display, i_profile,
VAEntrypointVLD, i_vlc_chroma);
@@ -211,6 +227,24 @@ static int Create(vlc_va_t *va, AVCodecContext *ctx, const AVPixFmtDescriptor *d
goto error;
ctx->hwaccel_context = &sys->hw_ctx;
+#else
+ AVBufferRef *hwdev_ref = av_hwdevice_ctx_alloc(AV_HWDEVICE_TYPE_VAAPI);
+ if (hwdev_ref == NULL)
+ goto error;
+
+ AVHWDeviceContext *hwdev_ctx = (void *) hwdev_ref->data;
+ AVVAAPIDeviceContext *vadev_ctx = hwdev_ctx->hwctx;
+ vadev_ctx->display = va_dpy;
+
+ if (av_hwdevice_ctx_init(hwdev_ref) < 0)
+ {
+ av_buffer_unref(&hwdev_ref);
+ goto error;
+ }
+
+ ctx->hw_device_ctx = hwdev_ref;
+#endif
+
va->sys = sys;
va->description = vaQueryVendorString(sys->hw_ctx.display);
va->get = Get;
--
GitLab

View File

@@ -1,27 +0,0 @@
From 770789f265761fc7ab2de69ca105fec4ad93d9e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
Date: Mon, 26 Feb 2018 20:36:29 +0200
Subject: [PATCH] chromaprint: missing cast
(cherry picked from commit 7bd5bab3e43ae187f7219db61ed85d06d2ba0547)
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
---
modules/stream_out/chromaprint.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/stream_out/chromaprint.c b/modules/stream_out/chromaprint.c
index 80ec31ba2590..c76cbda3c2bb 100644
--- a/modules/stream_out/chromaprint.c
+++ b/modules/stream_out/chromaprint.c
@@ -231,7 +231,7 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_sys_t *id,
if ( !p_sys->b_finished && id->i_samples > 0 && p_buf->i_buffer )
{
if(! chromaprint_feed( p_sys->p_chromaprint_ctx,
- p_buf->p_buffer,
+ (int16_t *)p_buf->p_buffer,
p_buf->i_buffer / BYTESPERSAMPLE ) )
msg_Warn( p_stream, "feed error" );
id->i_samples -= i_samples;
--
GitLab

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:adc7285b4d2721cddf40eb5270cada2aaa10a334cb546fd55a06353447ba29b5
size 25596392

View File

@@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRl98a0IGvQV6frc3hxgHE75Y0a3AUCZUCo4QAKCRBxgHE75Y0a
3GimAJ4k9yxWiDibQ99KrHLXsRdZ3WUEnQCgmp6N6qQM3WxC8EbfrkoAgv6U/Io=
=gCZR
-----END PGP SIGNATURE-----

3
vlc-3.0.21.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24dbbe1d7dfaeea0994d5def0bbde200177347136dbfe573f5b6a4cee25afbb0
size 25649288

6
vlc-3.0.21.tar.xz.asc Normal file
View File

@@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRl98a0IGvQV6frc3hxgHE75Y0a3AUCZmN15gAKCRBxgHE75Y0a
3PDaAKCGjcMhmC7+t5FwH2nVc1Cuy2dPeQCfe2/pEfZUpMPG2rfu/wO71uZ+vMo=
=Mt0w
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,105 @@
-------------------------------------------------------------------
Wed Aug 20 12:54:30 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Port to current ffmpeg-7: Remove version constraints on ffmpeg
BuildRequires, add upstream patches and pass disable-vdpau to
configure, this disables build/shipping of vdpau subpackage.
Patches added: 5574.patch, 6168.patch, 6273.patch, 6606.patch and
6527.patch.
- Add missing vlc Requires to devel sub-package, previously pulled
in via vlc-vdpau package.
-------------------------------------------------------------------
Thu Aug 7 09:27:34 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Drop obsolete and unused libxvidcore-devel BuildRequires.
- Switch faad build_cond to without and move plugin to main
package.
-------------------------------------------------------------------
Fri Jun 13 06:38:45 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Add 5590.patch: opus_header: fix channel mapping family 1 parsing
(boo#1244167).
-------------------------------------------------------------------
Mon Jan 27 11:32:35 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Drop opencv sub-package, and hence no longer needed
pkgconfig(opencv) BuildRequires and various provides, Supplements
and Conflicts.
-------------------------------------------------------------------
Mon Nov 11 11:11:11 UTC 2024 - olaf@aepfle.de
- Convert BuildRequires from libfaad-devel to pkgconfig(faad2)
-------------------------------------------------------------------
Sat Nov 2 10:48:44 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop the requres_ge libbluray1 statement, which was added as a
hack due to a libbluray ABI brak at version 0.5. By now libbluray
is at .so.2, so that statement was actually a NOP. as RPM simply
ignored in-existing package dependencies.
-------------------------------------------------------------------
Thu Jun 27 13:54:03 UTC 2024 - Manfred Hollstein <manfred.h@gmx.net>
- Restrict required version for libav* to avoid pulling in ffmpeg-6
packages.
-------------------------------------------------------------------
Fri Jun 14 13:14:32 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Build dca support only on Leap 15.6 and newer when not using 3rd
party repositories (BUILD_ORIG): Leap prior to 15.6 do not have
libdca.
-------------------------------------------------------------------
Thu Jun 13 12:34:45 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Disable chromecast support on Leap < 15.6: not supported as
of now.
-------------------------------------------------------------------
Wed Jun 12 14:26:44 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Updte to version 3.0.21:
+ Decoders:
* Improve Opus ambisonic support
* Fix some ASS subtitle rendering issues
* Fix Opus in MP4 behaviour
* Fix VAAPI hw decoding with some drivers
+ Input:
* Add support for HTTP content range handling according to RFC
9110
* Fix some HLS Adaptive Streaming not working in audio-only
mode
+ Video Output:
* Super Resolution scaling with AMD GPUs
* The D3D11 HDR option can also turn on/off HDR for all sources
regardless of the display
* Improve subtitles rendering on Apple platforms of notably
Asian languages by correcting font fallback lookups
+ Video Filter:
* New AMD VQ Enhancer filter
* Add D3D11 option to use NVIDIA TrueHDR to generate HDR from
SDR sources
+ Audio Output:
* Fix regression on macOS causing crashes when using audio
devices with more than 9 channels
+ Services Discovery:
* Fix exposed UPnP directory URL schemes to be compliant with
RFC 3986
+ libVLC:
* the HWND passed to libvlc_media_player_set_hwnd must have the
WS_CLIPCHILDREN style set.
* Fix crashes when using caopengllayer
+ Misc:
* Fix various warnings, leaks and potential crashes
* Fix security integer overflow in MMS module
- Drop 4645.patch and 770789f2.patch: fixed upstream.
-------------------------------------------------------------------
Wed May 22 12:52:19 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

153
vlc.spec
View File

@@ -1,7 +1,7 @@
#
# spec file for package vlc
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands
#
# All modifications and additions to the file contributed by third parties
@@ -29,10 +29,12 @@
%bcond_without fluidsynth
# VNC support - the module is not really usable in most cases tested so far (e.g. against qemu-kvm -vnc :xx)
%bcond_with vnc
%bcond_with faad
%bcond_without faad
%define chromecast 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150600
%define dca 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150600 || 0%{?BUILD_ORIG}
Name: vlc
Version: 3.0.20
Version: 3.0.21
Release: 0
Summary: Graphical media player
License: GPL-2.0-or-later AND LGPL-2.1-or-later
@@ -55,13 +57,23 @@ Patch5: vlc-libplacebo-5.patch
# PATCH-FIX-UPSTREAM vlc-taglib-2.0.patch dimstar@opensuse.org -- Fix build against taglib 2.0
Patch6: vlc-taglib-2.0.patch
# PATCH-FIX-UPSTREAM
Patch7: https://code.videolan.org/videolan/vlc/-/merge_requests/4645.patch
# PATCH-FIX-UPSTREAM -- chromaprint, missing cast
Patch8: https://code.videolan.org/videolan/vlc/-/commit/770789f2.patch
Patch7: https://code.videolan.org/videolan/vlc/-/merge_requests/5590.patch
# PATCH-FEATURE-OPENSUSE vlc-projectM-qt5.patch -- Build against projectM-qt5; openSUSE provides projectM as -qt and -qt5 variant
Patch100: vlc-projectM-qt5.patch
# PATCH-FIX-UPSTREAM -- Use OpenCV C++ API
Patch103: 0001-Port-OpenCV-facedetect-example-to-C-API.patch
# PATCH-FIX-UPSTREAM -- add support for ffmpeg 7.0 (without VAAPI)
Patch111: https://code.videolan.org/videolan/vlc/-/merge_requests/5574.patch
# PATCH-FIX-UPSTREAM -- mux: avformat: fix avio callbacks signature with ffmpeg 6.1
Patch112: https://code.videolan.org/videolan/vlc/-/merge_requests/6168.patch
# PATCH-FIX-UPSTREAM -- ffmpeg: backport more channel checks
Patch113: https://code.videolan.org/videolan/vlc/-/merge_requests/6273.patch
# PATCH-FIX-UPSTREAM -- avcodec: vaapi: support VAAPI with latest FFmpeg
Patch114: https://code.videolan.org/videolan/vlc/-/merge_requests/6606.patch
# PATCH-FIX-UPSTREAM -- nfs: fix libnfs API v2 support
Patch115: https://code.videolan.org/videolan/vlc/-/merge_requests/6527.patch
BuildRequires: Mesa-devel
BuildRequires: aalib-devel
BuildRequires: alsa-devel >= 1.0.24
@@ -121,9 +133,6 @@ BuildRequires: pkgconfig(libplacebo) < 6.292.0
BuildRequires: speex-devel >= 1.0.5
BuildRequires: update-desktop-files
BuildRequires: vcdimager-devel
BuildRequires: (pkgconfig(libavcodec) >= 57.37.100 with pkgconfig(libavcodec) < 59)
BuildRequires: (pkgconfig(libavformat) >= 53.21.0 with pkgconfig(libavformat) < 59)
BuildRequires: (pkgconfig(libavutil) >= 52.4.0 with pkgconfig(libavutil) < 57)
BuildRequires: pkgconfig(Qt5Core) >= 5.5.0
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Svg)
@@ -137,8 +146,13 @@ BuildRequires: pkgconfig(fdk-aac)
BuildRequires: pkgconfig(gnutls) >= 3.2.0
BuildRequires: pkgconfig(libarchive) >= 3.1.0
BuildRequires: pkgconfig(libass) >= 0.9.8
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libbluray) >= 0.6.2
%if %dca
BuildRequires: pkgconfig(libdca) >= 0.0.5
%endif
BuildRequires: pkgconfig(libgme)
#BuildRequires: pkgconfig(libmodplug) >= 0.8.9
BuildRequires: pkgconfig(libmpeg2) > 0.3.2
@@ -146,11 +160,11 @@ BuildRequires: pkgconfig(libmtp) >= 1.0.0
%if 0%{?suse_version} >= 1500
BuildRequires: pkgconfig(libnfs)
%endif
BuildRequires: (pkgconfig(libpostproc) with pkgconfig(libpostproc) < 56)
BuildRequires: (pkgconfig(libswscale) with pkgconfig(libswscale) < 6)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libpostproc)
BuildRequires: pkgconfig(libpulse) >= 1.0
BuildRequires: pkgconfig(libsecret-1) >= 0.18
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libva)
BuildRequires: pkgconfig(libva-x11)
@@ -161,7 +175,7 @@ BuildRequires: pkgconfig(soxr)
BuildRequires: pkgconfig(speexdsp)
BuildRequires: pkgconfig(taglib) >= 1.9
BuildRequires: pkgconfig(twolame)
BuildRequires: pkgconfig(vdpau) >= 0.6
%dnl BuildRequires: pkgconfig(vdpau) >= 0.6
BuildRequires: pkgconfig(xcb) >= 1.6
BuildRequires: pkgconfig(xcb-composite)
BuildRequires: pkgconfig(xcb-keysyms) >= 0.3.4
@@ -206,7 +220,6 @@ BuildRequires: pkgconfig(xi)
%endif
%if 0%{?is_opensuse}
BuildRequires: pkgconfig(libupnp)
BuildRequires: pkgconfig(opencv) > 2.0
%ifarch %{ix86} x86_64
%if 0%{?suse_version} > 1320 && 0%{?suse_version} < 1550 && 0%{?sle_version} < 150200
BuildRequires: pkgconfig(libprojectM-qt5) >= 2.0.0
@@ -230,14 +243,14 @@ BuildRequires: pkgconfig(libchromaprint) >= 0.6.0
%if 0%{?suse_version} >= 1320
BuildRequires: pkgconfig(ncursesw)
%endif
# Those are dependencies which are NOT provided in openSUSE, mostly for legal reasons.
%if %{with faad}
BuildRequires: pkgconfig(faad2)
%endif
# These are dependencies which are NOT provided in openSUSE, mostly for legal reasons.
%if 0%{?BUILD_ORIG}
BuildRequires: libxvidcore-devel
BuildRequires: pkgconfig(x264) >= 0.8.6
BuildRequires: pkgconfig(x265)
%if %{with faad}
BuildRequires: libfaad-devel
%endif
%endif
%description
@@ -255,9 +268,10 @@ libraries, which may not have all codecs enabled that were just named.
%package devel
Summary: Development files for the VLC media player system
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: %{name}-jack = %{version}
Requires: %{name}-noX = %{version}
Requires: %{name}-vdpau = %{version}
%dnl Requires: %{name}-vdpau = %{version}
%description devel
These development headers are required if you plan on coding against VLC.
@@ -281,12 +295,7 @@ Summary: VLC without X dependencies
Group: Productivity/Multimedia/Video/Players
Requires: libvlc%{libvlc} = %{version}-%{release}
Requires: libvlccore%{libvlccore} = %{version}-%{release}
# This is a hack only due to libbluray not having versioned symbols as well as
# having a strange ABI/API break between 0.3 and 0.7
%requires_ge libbluray1
Recommends: %{name}-codecs
# lang subpackage
Recommends: %{name}-lang
Recommends: libdvdcss
Conflicts: %{conflicts}-noX
# The lang-package was renamed to vlc-lang to assist AppStream building
@@ -396,35 +405,23 @@ Conflicts: %{conflicts}-qt
This subpackage provides a Qt interface for VLC and selects it by
default when `vlc` is invoked from an X session.
%package opencv
Summary: OpenCV plugins for VLC media player
Group: Productivity/Multimedia/Video/Players
Requires: %{name}-noX = %{version}-%{release}
# We need the noX package first, as it contains vlc-cache-gen
Requires(post): %{name}-noX
# Package split
Provides: %{name}:%{_libdir}/vlc/plugins/video_filter/libopencv_example_plugin.so
Conflicts: %{name} < %{version}-%{release}
Supplements: packageand(%{name}-noX:opencv3)
# Data required for face detection
Recommends: opencv3
%description opencv
This subpackage provides a wrapper plugin for OpenCV for
OpenCV based video filters and a face detection example.
%prep
%setup -q
%patch -P 1 -p1
%patch -P 4 -p1
%patch -P 6 -p1
%patch -P 7 -p1
%patch -P 8 -p1
%if 0%{?suse_version} > 1320 && 0%{?suse_version} < 1550 && 0%{?sle_version} < 150200
%patch -P 100 -p1
%endif
%patch -P 103 -p1
%patch -P 111 -p1
%patch -P 112 -p1
%patch -P 113 -p1
%patch -P 114 -p1
%patch -P 115 -p1
# a52_init() < 0.8.0 doesn't take any arguments
if pkg-config --max-version 0.8 liba52; then
%patch -P 0 -p1
@@ -457,8 +454,16 @@ autoreconf -fiv
--enable-aa \
--enable-alsa \
--enable-avcodec \
%if %chromecast
--enable-chromecast \
%else
--disable-chromecast \
%endif
%if %dca
--enable-dca \
%else
--disable-dca \
%endif
--enable-dvbpsi \
--enable-dvdnav \
--enable-dvdread \
@@ -495,7 +500,7 @@ autoreconf -fiv
--enable-twolame \
--enable-v4l2 \
--enable-vcd \
--enable-vdpau \
--disable-vdpau \
--enable-vorbis \
--enable-xcb \
--enable-xvideo \
@@ -504,21 +509,19 @@ autoreconf -fiv
%if %{with opengles}
--enable-gles2 \
%endif
%if 0%{?is_opensuse}
--enable-opencv \
%endif
%if 0%{?suse_version} >= 1500 && 0%{?is_opensuse}
--enable-wayland \
%else
--disable-wayland \
%endif
%if 0%{?BUILD_ORIG}
%if %{with faad}
--enable-faad \
%endif
--enable-x265 \
%else
--disable-faad \
%endif
%if 0%{?BUILD_ORIG}
--enable-x265 \
%else
--disable-x265 \
%endif
%{nil}
@@ -639,16 +642,6 @@ if [ -x %{_libdir}/vlc/vlc-cache-gen ]; then
%{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins
fi
%post -n %{name}-opencv
if [ -x %{_libdir}/vlc/vlc-cache-gen ]; then
%{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins
fi
%postun -n %{name}-opencv
if [ -x %{_libdir}/vlc/vlc-cache-gen ]; then
%{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins
fi
%files
%exclude %{_libdir}/vlc/libcompat.a
# The presence of the .desktop file is what gives AppStream the
@@ -916,10 +909,15 @@ fi
%if 0%{?suse_version} >= 1550
%{_libdir}/vlc/plugins/codec/libdav1d_plugin.so
%endif
%if %dca
%{_libdir}/vlc/plugins/codec/libdca_plugin.so
%endif
%{_libdir}/vlc/plugins/codec/libddummy_plugin.so
%{_libdir}/vlc/plugins/codec/libdvbsub_plugin.so
%{_libdir}/vlc/plugins/codec/libedummy_plugin.so
%if %{with faad}
%{_libdir}/vlc/plugins/codec/libfaad_plugin.so
%endif
%{_libdir}/vlc/plugins/codec/libfdkaac_plugin.so
%{_libdir}/vlc/plugins/codec/libflac_plugin.so
%{_libdir}/vlc/plugins/codec/libg711_plugin.so
@@ -973,7 +971,9 @@ fi
%{_libdir}/vlc/plugins/demux/libavi_plugin.so
%{_libdir}/vlc/plugins/demux/libcaf_plugin.so
%{_libdir}/vlc/plugins/demux/libdemux_cdg_plugin.so
%if %chromecast
%{_libdir}/vlc/plugins/demux/libdemux_chromecast_plugin.so
%endif
%{_libdir}/vlc/plugins/demux/libdemuxdump_plugin.so
%{_libdir}/vlc/plugins/demux/libdemux_stl_plugin.so
%{_libdir}/vlc/plugins/demux/libdiracsys_plugin.so
@@ -1087,7 +1087,9 @@ fi
%{_libdir}/vlc/plugins/stream_filter/libskiptags_plugin.so
%{_libdir}/vlc/plugins/stream_out/libstream_out_autodel_plugin.so
%{_libdir}/vlc/plugins/stream_out/libstream_out_bridge_plugin.so
%if %chromecast
%{_libdir}/vlc/plugins/stream_out/libstream_out_chromecast_plugin.so
%endif
%{_libdir}/vlc/plugins/stream_out/libstream_out_cycle_plugin.so
%{_libdir}/vlc/plugins/stream_out/libstream_out_delay_plugin.so
%{_libdir}/vlc/plugins/stream_out/libstream_out_description_plugin.so
@@ -1208,23 +1210,17 @@ fi
%{_libdir}/vlc/plugins/codec/libfluidsynth_plugin.so
%endif
%files vdpau
%dir %{_libdir}/vlc/plugins/vdpau
%{_libdir}/vlc/libvlc_vdpau.so.0
%{_libdir}/vlc/libvlc_vdpau.so.0.0.0
%{_libdir}/vlc/plugins/vdpau/libvdpau_adjust_plugin.so
%{_libdir}/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so
%{_libdir}/vlc/plugins/vdpau/libvdpau_chroma_plugin.so
%{_libdir}/vlc/plugins/vdpau/libvdpau_deinterlace_plugin.so
%{_libdir}/vlc/plugins/vdpau/libvdpau_display_plugin.so
%{_libdir}/vlc/plugins/vdpau/libvdpau_sharpen_plugin.so
%{_libdir}/vlc/plugins/video_output/libglconv_vdpau_plugin.so
%if 0%{?is_opensuse}
%files opencv
%{_libdir}/vlc/plugins/video_filter/libopencv_example_plugin.so
%{_libdir}/vlc/plugins/video_filter/libopencv_wrapper_plugin.so
%endif
%dnl files vdpau
%dnl dir %{_libdir}/vlc/plugins/vdpau
%dnl {_libdir}/vlc/libvlc_vdpau.so.0
%dnl {_libdir}/vlc/libvlc_vdpau.so.0.0.0
%dnl {_libdir}/vlc/plugins/vdpau/libvdpau_adjust_plugin.so
%dnl {_libdir}/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so
%dnl {_libdir}/vlc/plugins/vdpau/libvdpau_chroma_plugin.so
%dnl {_libdir}/vlc/plugins/vdpau/libvdpau_deinterlace_plugin.so
%dnl {_libdir}/vlc/plugins/vdpau/libvdpau_display_plugin.so
%dnl {_libdir}/vlc/plugins/vdpau/libvdpau_sharpen_plugin.so
%dnl {_libdir}/vlc/plugins/video_output/libglconv_vdpau_plugin.so
%files -n libvlc%{libvlc}
%{_libdir}/libvlc.so.%{libvlc}*
@@ -1244,13 +1240,10 @@ fi
%{_libdir}/pkgconfig/libvlc.pc
%{_libdir}/pkgconfig/vlc-plugin.pc
%{_libdir}/vlc/libcompat.a
%{_libdir}/vlc/libvlc_vdpau.so
%dnl {_libdir}/vlc/libvlc_vdpau.so
%if 0%{?BUILD_ORIG}
%files codecs
%if %{with faad}
%{_libdir}/vlc/plugins/codec/libfaad_plugin.so
%endif
%{_libdir}/vlc/plugins/codec/libx264_plugin.so
%{_libdir}/vlc/plugins/codec/libx26410b_plugin.so
%{_libdir}/vlc/plugins/codec/libx265_plugin.so