91 Commits

Author SHA256 Message Date
aade7c9dee Accepting request 1312450 from multimedia:libs
- Grab 12509c0f1ee8c22ae163017f0a5e7b8a9d983a17.patch from upstream
  repository
  Drops 12509c0f.patch

- Drop Leap < 16 (does not meet libplacebo build requirements)
- Use RPM 4.20 BuildSystem declaration
- Clean up spec file

OBS-URL: https://build.opensuse.org/request/show/1312450
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=36
2025-10-23 14:35:16 +00:00
93a47ea516 - Grab 12509c0f1ee8c22ae163017f0a5e7b8a9d983a17.patch from upstream
repository
  Drops 12509c0f.patch

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=87
2025-10-20 16:20:46 +00:00
89a86a9e30 - Drop Leap < 16 (does not meet libplacebo build requirements)
- Use RPM 4.20 BuildSystem declaration
- Clean up spec file

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=86
2025-10-19 13:13:19 +00:00
c27c9ede54 Accepting request 1299144 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1299144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=35
2025-08-13 14:23:25 +00:00
ffad34cc68 - Add 12509c0f.patch: Fix build on python 3.13.6.
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=84
2025-08-12 20:15:23 +00:00
4ec6da07c0 Accepting request 1279133 from multimedia:libs
- Update libplacebo to version 7.351.0. See details in:
    https://code.videolan.org/videolan/libplacebo/-/tags/v7.351.0

OBS-URL: https://build.opensuse.org/request/show/1279133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=34
2025-05-23 12:30:09 +00:00
6fe60855be - Update libplacebo to version 7.351.0. See details in:
https://code.videolan.org/videolan/libplacebo/-/tags/v7.351.0

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=82
2025-05-21 22:46:34 +00:00
873acb79f7 Accepting request 1270219 from multimedia:libs
- Use python3-Jinja2 and python3-glad2 for BuildRequires instead of
  using multi-versioned python packages.
- Add support for building on Leap 15.6 with python3.11 only.

OBS-URL: https://build.opensuse.org/request/show/1270219
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=33
2025-04-18 14:14:37 +00:00
4d7a74a8db OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=80 2025-04-17 08:43:21 +00:00
aa4811073a - Use python3-Jinja2 and python3-glad2 for BuildRequires instead of
using multi-versioned python packages.
- Add support for building on Leap 15.6 with python3.11 only.

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=79
2025-04-17 08:41:05 +00:00
7c10fab56b Accepting request 1184881 from multimedia:libs
- Update libplacebo to version 7.349.0. See details in:
    https://code.videolan.org/videolan/libplacebo/-/tags/v7.349.0

OBS-URL: https://build.opensuse.org/request/show/1184881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=32
2024-07-03 18:29:25 +00:00
271f5a6b69 - Update libplacebo to version 7.349.0. See details in:
https://code.videolan.org/videolan/libplacebo/-/tags/v7.349.0

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=77
2024-07-02 13:43:33 +00:00
8d60ca9875 Accepting request 1184879 from home:llyyr:branches:multimedia:libs
Update to latest tagged release

OBS-URL: https://build.opensuse.org/request/show/1184879
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=76
2024-07-02 13:39:39 +00:00
07a00f421b Accepting request 1162287 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1162287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=31
2024-03-27 19:41:46 +00:00
0015e50d4a Accepting request 1161626 from home:mlin7442:rebuild_fails_156
fix Leap 15 build

OBS-URL: https://build.opensuse.org/request/show/1161626
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=74
2024-03-26 13:40:04 +00:00
4ca63e5d0a Accepting request 1140710 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1140710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=30
2024-01-24 18:04:19 +00:00
de11566c87 Accepting request 1140709 from home:llyyr:branches:multimedia:libs
- Update libplacebo to version 6.338.2. See details in:
    https://code.videolan.org/videolan/libplacebo/-/tags/v6.338.2

OBS-URL: https://build.opensuse.org/request/show/1140709
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=72
2024-01-22 18:10:33 +00:00
edeab183f5 Accepting request 1118324 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1118324
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=29
2023-10-19 20:47:02 +00:00
2759b66997 Accepting request 1118323 from home:llyyr:branches:multimedia:libs
- Update libplacebo to version 6.338.1. See details in:
    https://code.videolan.org/videolan/libplacebo/-/tags/v6.338.1

OBS-URL: https://build.opensuse.org/request/show/1118323
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=70
2023-10-17 13:24:01 +00:00
4f3407cf89 Accepting request 1113669 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1113669
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=28
2023-09-27 22:24:34 +00:00
Niklas Haas
d5e8f97ffa Accepting request 1113656 from home:llyyr:branches:multimedia:libs
- Update libplacebo to version 6.338.0. See details in:
    https://code.videolan.org/videolan/libplacebo/-/tags/v6.338.0

OBS-URL: https://build.opensuse.org/request/show/1113656
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=68
2023-09-26 13:33:49 +00:00
1adca907f6 Accepting request 1102340 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1102340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=27
2023-08-05 10:54:46 +00:00
Niklas Haas
cf68c02930 Accepting request 1102258 from home:llyyr:branches:multimedia:libs
- Update libplacebo to version 6.292.1. See details in:
    https://code.videolan.org/videolan/libplacebo/-/tags/v6.292.1

OBS-URL: https://build.opensuse.org/request/show/1102258
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=66
2023-08-04 10:35:09 +00:00
99cc0aabd5 Accepting request 1097449 from multimedia:libs
Update to v6.292.0

OBS-URL: https://build.opensuse.org/request/show/1097449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=26
2023-08-02 14:47:58 +00:00
Niklas Haas
c11e152e62 - Update libplacebo to version 6.292.0. See details in:
https://code.videolan.org/videolan/libplacebo/-/tags/v6.292.0

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=64
2023-07-06 21:43:41 +00:00
d6eb5b5457 Accepting request 1074110 from multimedia:libs
- Update libplacebo to version 5.264.1. See details in:
    https://code.videolan.org/videolan/libplacebo/-/tags/v5.264.0
- Bump meson dependency to 0.63
- Add baselibs.conf (for the sake of ffmpeg)

OBS-URL: https://build.opensuse.org/request/show/1074110
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=25
2023-03-24 14:16:42 +00:00
Niklas Haas
9e509391af - Update libplacebo to version 5.264.1. See details in:
https://code.videolan.org/videolan/libplacebo/-/tags/v5.264.0
- Bump meson dependency to 0.63

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=62
2023-03-23 15:35:15 +00:00
e8f0049035 Accepting request 1072920 from home:jengelh:branches:multimedia:libs
- Add baselibs.conf (for the sake of ffmpeg)

OBS-URL: https://build.opensuse.org/request/show/1072920
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=61
2023-03-19 11:03:57 +00:00
533f50f638 Accepting request 1071217 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1071217
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=24
2023-03-17 16:02:04 +00:00
Niklas Haas
f8823c7751 Accepting request 1071200 from home:llyyr:branches:multimedia:libs
- Update libplacebo to version 5.264.0. See details in:
    https://code.videolan.org/videolan/libplacebo/-/tags/v5.264.0

OBS-URL: https://build.opensuse.org/request/show/1071200
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=59
2023-03-13 19:09:56 +00:00
e36f6bf6ed Accepting request 1069954 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1069954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=23
2023-03-08 13:52:07 +00:00
7a34c38408 Accepting request 1068229 from home:gmbr3:Active
- Correct BR from python3-jinja2 to python3-Jinja2, fixes
  dependency resolving on older distro

OBS-URL: https://build.opensuse.org/request/show/1068229
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=57
2023-03-07 14:02:17 +00:00
fb4863e277 Accepting request 1055955 from multimedia:libs
- Update libplacebo to version 5.229.2. See details in:
    https://code.videolan.org/videolan/libplacebo/-/tags/v5.229.2

OBS-URL: https://build.opensuse.org/request/show/1055955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=22
2023-01-05 14:00:21 +00:00
Niklas Haas
5b51848855 - Update libplacebo to version 5.229.2. See details in:
https://code.videolan.org/videolan/libplacebo/-/tags/v5.229.2

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=55
2023-01-04 16:28:40 +00:00
a829f3fb83 Accepting request 1038004 from multimedia:libs
- Update libplacebo to version 5.229.1. See details in:
    https://code.videolan.org/videolan/libplacebo/-/tags/v5.229.1
- Update libplacebo to version 5.229.0. See details in:
    https://code.videolan.org/videolan/libplacebo/-/tags/v5.229.0

OBS-URL: https://build.opensuse.org/request/show/1038004
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=21
2022-11-27 11:52:51 +00:00
Niklas Haas
3a688e04b2 - Update libplacebo to version 5.229.1. See details in:
https://code.videolan.org/videolan/libplacebo/-/tags/v5.229.1

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=53
2022-11-01 20:13:38 +00:00
Niklas Haas
f933b373b6 - Update libplacebo to version 5.229.0. See details in:
https://code.videolan.org/videolan/libplacebo/-/tags/v5.229.0

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=52
2022-10-27 12:51:16 +00:00
0ce389bccd Accepting request 989512 from multimedia:libs
Update to v4.208.0

OBS-URL: https://build.opensuse.org/request/show/989512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=20
2022-07-21 09:32:54 +00:00
Niklas Haas
10513bef84 - Update libplacebo to version 4.208.0. See details in:
https://code.videolan.org/videolan/libplacebo/-/tags/v4.208.0

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=50
2022-07-15 23:32:11 +00:00
b1efbcffbb Accepting request 951344 from multimedia:libs
Update to v4.192.1

OBS-URL: https://build.opensuse.org/request/show/951344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=19
2022-02-03 22:16:33 +00:00
Niklas Haas
bd8a661175 - Update libplacebo to version 4.192.1. See details in:
https://code.videolan.org/videolan/libplacebo/-/tags/v4.192.1

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=49
2022-02-03 15:59:57 +00:00
Niklas Haas
725b3d4c50 Accepting request 950044 from home:iDesmI:Wayland
- Update nuklear.h to 4.9.5
- Add dav1d dependency

OBS-URL: https://build.opensuse.org/request/show/950044
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=48
2022-01-30 20:42:22 +00:00
66e50c8f28 Accepting request 947404 from multimedia:libs
Update to v4.192.0

OBS-URL: https://build.opensuse.org/request/show/947404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=18
2022-01-21 00:25:09 +00:00
Niklas Haas
5f19865497 - Update libplacebo to version 4.192.0. See details in:
https://code.videolan.org/videolan/libplacebo/-/tags/v4.192.0
- Add libunwind dependency
- Bump meson dependency version to match upstream

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=47
2022-01-19 12:13:53 +00:00
62e908bdde Accepting request 917233 from multimedia:libs
Update to v4.157.0

OBS-URL: https://build.opensuse.org/request/show/917233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=17
2021-09-09 21:07:18 +00:00
Niklas Haas
ded8c27a1b - Update libplacebo to version 4.157.0:
This is a major new release involving a significant overhaul of the
public API, full thread safety, support for Direct3D 11 / Win32 /
MSVC, native HDR output, and more.
The primary way of accessing most libplacebo objects has been revamped.
Rather than writing e.g. `const struct pl_tex *image`, users now simply
write `pl_tex image`. In addition, the `struct pl_context *ctx` was
universally refactored and replaced by `pl_log log`, with no concern
besides logging.
Direct3D 11 is now natively supported by libplacebo, and compiling on
Windows in general has been made more straightforward.
The entire API was revamped to be thread safe by default, even when
using OpenGL (assuming the user provides the appropriate context binding
callbacks). Accompanying this change, the `pl_queue` has been rewritten
with multi-threaded decoding loops in mind. See the accompanying
`plplay` demo for an illustration.
Finally, this release brings with it a lot of features for feature
parity with mpv, such as the ability to get pass stats / timings,
oversample scaling, and more.
Additions:
- add a `void *user_data` field to `pl_frame`, with no further
  interpretation by libplacebo
- add `pl_queue_push_block`, useful for multi-threaded decoding loops
- add a `uint64_t timeout` to `pl_queue_update`, allowing it to
  block until frames are available even when not using a `get_frame`
  callback
- make `pl_queue_update` also return valid data when failing with
  PL_QUEUE_MORE, allowing access to partial/incomplete mix outputs
- allow calling `pl_render_image` on `image == NULL`, to render overlays
  only

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=46
2021-09-07 09:14:12 +00:00
559deee78d Accepting request 891306 from multimedia:libs
- Update libplacebo to version 3.120.3:
This minor release fixes a number of regressions surrounding memory
imports and DRM modifiers, specifically aimed at issues that arose with
mpv's --hwdec=vaapi.
Changes:
- `pl_fmt.modifiers` now always includes DRM_FORMAT_MOD_INVALID on
   OpenGL, which instructs the implementation to not specify modifiers
- passing a DRM modifier not in the list of supported modifiers is now
  considered a hard error, to rule out non-working hwaccel formats
Fixes:
- fix a crash when using sampling shaders on textures with unknown formats
- fix improperly specified SDL header imports in the demos
- fix an issue where the vulkan texture handle capabilities were testing
  for presence of the wrong extension
- fix an issue where non-enabled DRM modifier structs were accidentally
  linked into the pNext chain, causing issues with some drivers

OBS-URL: https://build.opensuse.org/request/show/891306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=16
2021-05-10 13:36:38 +00:00
Niklas Haas
dacdbbdb3c - Update libplacebo to version 3.120.3:
This minor release fixes a number of regressions surrounding memory
imports and DRM modifiers, specifically aimed at issues that arose with
mpv's --hwdec=vaapi.
Changes:
- `pl_fmt.modifiers` now always includes DRM_FORMAT_MOD_INVALID on
   OpenGL, which instructs the implementation to not specify modifiers
- passing a DRM modifier not in the list of supported modifiers is now
  considered a hard error, to rule out non-working hwaccel formats
Fixes:
- fix a crash when using sampling shaders on textures with unknown formats
- fix improperly specified SDL header imports in the demos
- fix an issue where the vulkan texture handle capabilities were testing
  for presence of the wrong extension
- fix an issue where non-enabled DRM modifier structs were accidentally
  linked into the pNext chain, causing issues with some drivers

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=44
2021-05-07 12:42:10 +00:00
6c2149f38b Accepting request 886609 from multimedia:libs
- Update libplacebo to version 3.120.2:
This minor release fixes a number of additional bugs related to the
thread queue, included demos, included helpers, and build system.
Changes:
- replace the `shaderc` library checks by pkg-config checks
- `pl_dispatch` no longer grows infinitely, but prunes stale cache
  entries after a certain threshold
- improve logging of GPU capabilities (including format capabilities)
Fixes and performance improvements:
- fix a typo on an error message
- fix a use-after-free edge case in `plplay`
- filter out Infinity, NaN and other values from fps/vps estimates
- add several warnings for suspected frame queue API misuses
- fix a crash when combining pl_render_image_mix with cropped frames
- fix a crash on AV_PIX_FMT_NONE in the libav helpers
- fix the loading of overlays in the `sdlimage` demo
- fix a number of potential overflows on 32-bit platforms
- omit redundant identity matrices in pl_shader_decode_color
- fix crash in frame queue with certain out-of-order PTS sequences
- add missing link to vulkan dependency in the `video-filtering` demo
- correctly shift overlays when drawing to subsampled YCbCr planes
- add missing check for PL_GPU_CAP_CALLBACKS in `utils/{libav,dav1d}.h`
- improve handling of asynchronous texture uploads in `utils/libav.h`

OBS-URL: https://build.opensuse.org/request/show/886609
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplacebo?expand=0&rev=15
2021-04-22 16:03:38 +00:00
Niklas Haas
214e51be01 - Update libplacebo to version 3.120.2:
This minor release fixes a number of additional bugs related to the
thread queue, included demos, included helpers, and build system.
Changes:
- replace the `shaderc` library checks by pkg-config checks
- `pl_dispatch` no longer grows infinitely, but prunes stale cache
  entries after a certain threshold
- improve logging of GPU capabilities (including format capabilities)
Fixes and performance improvements:
- fix a typo on an error message
- fix a use-after-free edge case in `plplay`
- filter out Infinity, NaN and other values from fps/vps estimates
- add several warnings for suspected frame queue API misuses
- fix a crash when combining pl_render_image_mix with cropped frames
- fix a crash on AV_PIX_FMT_NONE in the libav helpers
- fix the loading of overlays in the `sdlimage` demo
- fix a number of potential overflows on 32-bit platforms
- omit redundant identity matrices in pl_shader_decode_color
- fix crash in frame queue with certain out-of-order PTS sequences
- add missing link to vulkan dependency in the `video-filtering` demo
- correctly shift overlays when drawing to subsampled YCbCr planes
- add missing check for PL_GPU_CAP_CALLBACKS in `utils/{libav,dav1d}.h`
- improve handling of asynchronous texture uploads in `utils/libav.h`

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libplacebo?expand=0&rev=42
2021-04-19 08:37:13 +00:00