9 Commits

Author SHA256 Message Date
774af980f7 Accepting request 1324001 from multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/1324001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpv?expand=0&rev=130
2025-12-22 21:49:49 +00:00
b88889c403 - Update to version 0.41.0+git20251221.d0e24ab17a:
* Update MPV_VERSION
  * Release 0.41.0
  * wayland: use rendering intent enum instead of magic value
  * wayland: support color-management-v1 version 2
  * osxbundle: add new macOS 26 compatible App icon
  * vo: trigger manual redraws at most at slightly over display fps
  * DOCS/man/options: clearify that gpu-next support d3d11va and everything
  * mp_image: check all components for pl_bit_encoding in mp_image_setfmt
  * vo: put vo states into union
  * meson: remove png icons from win32 resource depend
  * vo: remove unused configs from context
  * wayland: convert luminance values to libplacebo space
  * Revert "ytdl_hook: add chapters by parsing video's description"
  * Revert "ytdl_hook: add option to extract chapters"
  * filters/f_decoder_wrapper: reinit decoder on audio-spdif opt change
  * osc.lua: remove flags from disable_key_bindings
  * video/out/aspect: don't overflow intermediate values in scaling calc
  * video/out/gpu/hwdec: load native D3D RA hwdec drivers first
  * ao_aaudio: set content type if --audio-set-media-role is enabled
  * ao_audiotrack: set content type if --audio-set-media-role is enabled
  * ao_pulse: set media.role if --audio-set-media-role enabled
  * ao_pipewire: avoid setting any media.role by default
  * ci/win32: downgrade meson to 1.9.2
  * mac/vulkan: log opaque state (direct-to-display possible) of metal layer
  * mac/vulkan: log display sync active state of metal layer
  * mac/vulkan: log HDR active state of metal layer
  * mac/vulkan: log EDR changes of metal layer
  * mac/vulkan: log colorspace changes of metal layer
  * mac/vulkan: log pixel format changes of metal layer
  * clipboard-x11: request selection at init
  * clipboard-x11: use separate properties to receive primary and clipboard
  * ci: update some github actions
  * ci/mingw: update dependency versions
  * ci/mingw: use a mirror instead of ftp.gnu.org
  * demux_playlist: clarify reason for HLS detection
  * demux_lavf: remove 'bin' format from blacklist
  * etc/mpv.conf: replace the --sharpen example
  * player/command: fix playlist-remove argument requirement
  * vd_lavc: enable hwdec for DPX by default
  * mp_image: add `ycgco-{re,ro}` support
  * m_option: be more resilent to new enum additions
  * player/video: only set a/v speed factor to 1 when exiting display-sync
  * player/command: update speed filters for pitch-correction change too
  * ao/aaudio: implement aaudio backend for android
  * meson: added option to disable audiotrack
  * video/image_writer: use image->params.repr to determine depth
  * DOCS/man/input: don't discourage hook usage
  * meson: print cocoa for feature summary
  * demux: clear packet pool when upper memory limit is lowered
  * misc/path_utils: don't normalize -
  * wayland: correct geometry handling for rotated outputs
  * wayland: fix condition for setting image description
  * wayland: move initial color management setup earlier in the init
  * wayland: only print color repr message if we actually set anything
  * wayland: remove unused primaries/tf/luminance feature flags
  * wayland: always use get_preferred instead of get_preferred_parametric
  * wayland: assume all image description is parametric until icc_file event
  * wayland: remove icc feature check and simplify handling icc file
  * ci/win32: bump ffmpeg to 8.0
  * osdep/compiler: fix typo in MP_ASSERT_UNREACHABLE
  * meson: define WINICONV_CONST to strip const from win-iconv
  * ci/win32: fix aom CRT type to be consistent with the rest of the build
  * ao_wasapi_utils,command,hwdec_vulkan: remove double semicolons
  * ao_pipewire: fix mapping of wide channels
  * ci/openbsd: update to 7.8
  * github/workflows: fix libXpresent installation on freebsd
  * ao_pipewire: fix copy paste error in channel mapping
  * meson.build: print drm for feature summary
  * vo_gpu_next: limit min_luma to 1000:1 contrast ratio in SDR mode
  * mp_image: map hwdec format parameters correctly
  * ci/mac: add macOS 15 intel runner
  * ci/mac: move our test runner to the newest macOS 26 runner
  * ci/mac: add macOS 26 runner
  * ci/mac: use oldest Xcode version on oldest macOS runner
  * ci/mac: remove deprecated macOS 13 runner
  * osxbundle: make bundle category configurable and default to video
  * ci/tumbleweed: disable sanitizers for GCC build
  * .lsan_suppressions: remove no longer needed suppression
  * ci: remove -Wno-error=deprecated
  * TOOLS/lua/autoload.lua: stop initial file from being added twice
  * video/out/gpu/video: change `treat-srgb-as-power22` default to auto
  * ci/build-msys2.sh: disable pdf-build for clangarm64
  * osxbundle: read version from version.h
  * mac/common: fix window position on multi monitor setups
  * stats.lua: remove prefix from display luminance metadata
  * console.lua: don't clip items if OSD dimensions are not initialized
  * meson: warn if building with SDL2
  * meson: remove redundant `sdl2` option
  * wayland: log display luminance values alongside other preferred img desc
  * wayland: replace comment with log message
  * wayland: log connector name for wl_output in more places
  * {console/context_menu}.lua: don't apply --osd-blur to menu backgrounds
  * vo_gpu_next: add workaround for broken linear output in libplacebo
  * video/out/gpu/video: add `--sdr-adjust-gamma`
  * vo_gpu_next: linearize sRGB as a pure 2.2 power function
  * command: react to --force-window changes with no file playing
  * meson.build: add libx11 as x11 clipboard dependency
  * wayland_common: always prefer the PQ transfer for HDR output
  * vo/context_android: fix surface tearing on resize
  * clipboard: add --clipboard-xwayland option
  * .pre-commit-config: add requestor to ignore list
  * console.lua: use clipboard property for x11
  * clipboard-x11: add x11 clipboard backend
  * .github/ISSUE_TEMPLATE: add --msg-time to log file instruction
  * various: use mp_sleep_ns
  * TOOLS/lua/test-hooks.lua: drop sleep amount suffix
  * command: fix bluray angle stream detection
  * vd_lavc: add ProRes RAW to the list of default hwdec codecs
  * vo_dmabuf_wayland: request redraw on resize
  * stream_bluray: do not demux_flush on angle change
  * sub/osd_libass: change add_osd_ass_event argument to bstr
  * video/out/gpu/video: make the target-contrast limit higher
  * vo_gpu_next: use reported display contrast value also in SDR mode
  * options: add mxf to video file extensions list
  * player/lua: fix UB in integerness check
  * player/javascript: fix mp.set_property_number for integer properties
  * TOOLS/lua/gamma-auto: update on timer when on Linux
  * osdep/linux-als: support ambient-light on Linux
  * DOCS/man/input: document command-list contents
  * context_menu.lua: prevent some rare crashes
  * context_menu.lua: add a missing return

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=328
2025-12-21 19:46:32 +00:00
555e16c5c2 Accepting request 1314331 from multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/1314331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpv?expand=0&rev=129
2025-10-29 20:08:25 +00:00
466c087e64 - Enable luajit on riscv64
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=326
2025-10-29 11:14:31 +00:00
0c5b28651e Accepting request 1310689 from multimedia:apps
- Use RPM 4.20 BuildSystem declaration
- Fix required Meson version
- Make Meson explicitly look for the desired Lua implementation
- Enable test suite
- Fix accidental unconditional inclusion of pkgconfig(lua5.1) in
  BuildRequires (caused mpv to never use LuaJIT)
- Update dependencies
- Drop RPM groups
- Drop obsoletion of mplayer2 (not in openSUSE anymore)
- Drop sed calls for version overrides, write MPV_VERSION instead
  (build date has not been printed anywhere in a long time)
- Use %ldconfig_scriptlets
- Update to version 0.40.0+git20251010.67330ba2de:
  * select.lua: don't go beyond the max line length
  * mp_image: use correct scaling for nominal peak
  * stats.lua: split lines to make them shorter
  * stats.lua: skip codec params if they are not available
  * mp_image: use pl_color_space_nominal_luma_ex() to set nominal csp peak
  * player/playloop: set consistent video parameters in idle mode
  * select.lua: rename some menus with proper name
  * vo_gpu_next: add `--hdr-reference-white`
  * stats.lua: make video block even when no video track
  * ci/lint-commit-msg.py: modernize type hint
  * mp_image: keep chroma location consistent for non-subsampled formats
  * vf_format: add some basic HDR10 metadata
  * vf_format: add `--vf=format=transfer` alias
  * DOCS/man/vf: add missing st428 in vf_format
  * av_common: check if position is not negative
  * demux/cue: fix crash when there are no tracks
  * wayland: fix displaying non-subsampled formats
  * img_format: add a helper to determine if chroma is 4:2:0 subsampled
  * wayland: log color-representation information as well
  * wayland: log the image description we try to set
  * wayland: always set max_cll/max_fall
  * vo_dmabuf_wayland: unset video viewport source when force_window
  * vo_gpu_next: add --border-background=blur and --background-blur-radius
  * commands.lua: update screenshot commands flags
  * screenshot: add osd and scaled flags to screenshot commands
  * sub: make --sub-fix-timing configurable
  * DOCS/man/options: mention --target-gamut in colorspace hint mode
  * vo_gpu_next: don't force PQ output for SDR sources if target is unknown
  * osdep/compiler: refactor MP_ASSERT_UNREACHABLE
  * various: add MP prefix for {PRINTF,SCANF}_ATTRIBUTE
  * DOCS/man/input: document that screenshot-raw works in scripts
  * mp_image: add support for AVAlphaMode
  * test/libmpv_common: fflush stdout and stderr in fail
  * test/libmpv: use common wrappers for properties and commands
  * test/libmpv_encode: use libmpv_common.h
  * vo_dmabuf_wayland: actually reuse OSD buffers
  * mp_image: assume content has sRGB transfer when is full range
  * cplugin: init pfn_mpv_get_time_ns
  * wayland: demote image_description_ready log to trace
  * wayland: log preferred surface feedback details
  * wayland: only unset image description if we couldn't set a new one
  * wayland: call pl_color_space_infer before comparing target_params
  * video/out/wayland_common: fix crash when uninit without display
  * osc.lua: add indicator for buffering/loading
  * osdep/terminal-unix: use numpad keycodes
  * vo_gpu_next: add `--target-colorspace-hint-strict` option
  * vo_gpu_next: respect --target-gamut in colorspace hint
  * osdep/w32_register: register url protocols if they don't exist yet
  * osdep/w32_register: don't mark io.mpv.url as url protocol
  * options: reduce swapchain-depth to 2 by default
  * context_menu.lua: make gap a percentage of the font_size
  * console.lua: add gap script-opt
  * console.lua: increase the gap between menu items
  * command: fix null dereference for invalid command in input-commands
  * test/libmpv_test_sdh_filter: start test paused and at 1 second
  * player/misc: show percentage progress for --stream-dump
  * vo: remove "slack" frames from swapchain
  * select.lua: add online documentation menu entry
  * select.lua: add edit-config-file and edit-input-conf
  * context_menu.lua: add this script
  * command: fix type mismatch
  * sub: remove upper limits of margin-x and margin-y
  * player/command: do seamless angle change when bluray-angle is changed
  * stream_bluray: add bluray-angle option
  * options: remove leftover bluray_device field
  * stream_bluray: show number of angles in title list
  * playloop: update window title in handle_force_window
  * input/keycodes: fix combo key handling for - key
  * {demux_mkv,TOOLS/matroska}: map, expose hearing/visual impaired flags
  * console.lua: don't autoselect the wrong completion
  * ytdl_hook.lua: add support for VP9 profile 2
  * TOOLS/lua/autocrop.lua: don't error if hwdec-current is nil
  * stats.lua: show also min_luma if max_luma is nominal SDR
  * wayland: add usage of set_chroma_location for wp-color-representation-v1
  * ytdl_hook.lua: don't crash if playlist entries don't have an usable URL
  * player/command: fix missing property update for some hwdec changes
  * DOCS/lua: fix mistyped function name
  * DOCS/input: clarify value of hwdec-current
  * wayland_common: handle wayland events in VOCTRL_CHECK_EVENTS
  * vo/vulkan: sync recommended Vulkan 1.x features from ffmpeg
  * vo/vulkan: sync recommended extensions and features from ffmpeg
  * vo_gpu_next: initialize min_luma correctly
  * path-unix: support ~~desktop path expansion
  * vd_lavc: don't select software output format if hwdec failed
  * vd_lavc: add `--hwdec-threads`
  * vd_lavc: fix AVCodecContext use in get_format callback
  * vo_gpu_next: respect ICC profile color space
  * vo_gpu_next: don't use unitialized min_luma in some cases
  * options: delete the duplicated extension "wav" in --audio-exts
  * vo_gpu_next: don't hint colorspace when ICC profile is used
  * stream_libarchive: seek source stream to 0 before probing
  * stats.lua: round max-cll to integer
  * vo_gpu_next: when tone-mapping, set better maxCLL value
  * vo_vdpau: recommend vaapi directly instead of vo in emulated case
  * vo_{vaapi,vdpau}: recommend gpu-next over gpu
  * DOCS/interface-changes: add backticks to tls-options
  * vo_gpu_next: fix resetting --glsl-shader-opts
  * stream_bluray: use bd_get_main_title() to get main title
  * meson: bump libbluray requirement to 0.5.0
  * stream: remove stream_info_bdnav
  * stream_dvdnav: fix --edition when dvd:// is not used directly
  * stream_bluray: fix --edition when bd:// is not used directly
  * vo_gpu_next: allow unsetting LUTs
  * test: add some tests for the sub_sdh_filter
  * test/libmpv: inline some test-specific helpers in libmpv_common
  * filter_sdh: convert --sub-sdh-enclosures to a string list
  * fuzzers: set fontconfig sysroot
  * ci/mingw: add lcms2
  * DOCS/man/options: document special wid value -1
  * options: handle runtime wid change
  * client: don't take ownership of result if it is not returned
  * video/out: make ra_fns const
  * video/out/gpu/context: make context lists const
  * filters/f_swresample: make fudge_pairs const
  * various: fix `Wpedantic` warnings
  * demux_libarchive: normalize stream URL path before escaping
  * ci: remove custom rust install step from windows-11-arm job
  * DOCS: fix FILES section title in links
  * ytdl_hook.lua: don't pass any format to youtube-dl by default
  * ytdl_hook.lua: get rid of outdated youtube-dl hint
  * vo_gpu_next: allow UINT upload if no other format is supported
  * DOCS/man/options: add hint to list default sub extensions
  * meson: add `-Woverflow` to test flags
  * test: fix `Woverflow` by using `uint8_t` array
  * demux_libarchive: escape '%' in stream URL path
  * command: normalize stream-open-filename
  * clipboard-wayland: create data sources in clipboard thread
  * clipboard-wayland: add death message
  * clipboard-wayland: rename death pipe to message pipe
  * player/configfiles: stop parenting mp_get_playback_resume_dir to mpctx
  * wayland: leave window geometry unset
  * stream_dvb: allow to enforce DVB-S/T for old zap format channels.conf
  * vo_gpu_next: override levels even when hinting colorspace
  * demux_libarchive: normalize the stream url path
  * options/path: fix a lie in comment
  * sub/lavc_conv: prevent corruption after switching WebM WebVTT subs
  * sub/lavc_conv: remove unneeded strdup
  * sub/ass_mp: revert some unwanted changes
  * DOCS/man/options: add a note about MAINPRESUB and gpu-next
  * vo_gpu_next: reduce fp conversions in overlay color
  * vo_gpu_next: add support for blend-subtitles=video
  * sub/ass_mp: add missing padding for ass packer
  * vo_gpu_next: don't do partial updates on hint luminance
  * m_option: remove unneeded legacy syntax parsing
  * input/cmd: use m_option_set_node_or_string
  * m_config_frontend: use m_option_set_node_or_string
  * m_option: change m_option_set_node_or_string to accept bstr directly
  * vo_dmabuf_wayland: don't set HDR metadata on SDR transfers
  * vo_dmabuf_wayland: use pl_color_space_infer on HDR transfers
  * vo_dmabuf_wayland: tighten up hdr metadata sanity checking
  * video/out/gpu/video: fix target colorspace for redrawed frames
  * encode: simplify all initial blocking logic for encoding
  * docs: document tablet pad properties
  * wayland: expose tablet pad buttons to input system
  * docs: document tablet input
  * wayland: move tablet tool handling to mpv input system
  * wayland: add tablet tool handlers for tap, motion and button
  * wayland: set tablet tool cursors
  * wayland: wire tablet pad group listener
  * wayland: wire tablet pad listener
  * wayland: wire tablet tool listener
  * wayland: wire tablet listener
  * wayland: wire tablet seat listener
  * wayland: build tablet protocol unconditionally
  * build: install encoding-profiles.conf into the system data directory
  * meson: remove wayland-protocol 1.39 check from top level meson.build
  * wayland: use _SINCE_VERSION instead of checking for enum constant
  * fuzzers/common: stop after 15 events if there is not playback reset
  * demux_lavf: disable demuxer-lavf-o for fuzzing
  * demux_edl: limit to 3 parts for fuzzing
  * demux: add nested demuxer depth limit
  * vo: move vo_gpu_next above vo_gpu in probe order
  * d3d11_helpers: add caching of dxgi factory until it's current
  * vo_gpu_next: add `source-dynamic` mode to colorspace hint
  * vo_gpu_next: infer best containing primaries for raw primaries
  * vo_gpu_next: override target params when pass_colorspace is used
  * vo_gpu_next: change `--target-colorspace-hint` to `auto` by default
  * vo_gpu_next: add `--target-colorspace-hint-mode` option
  * command: add `video-params/prim-*` properies
  * video/out/vulkan/context_wayland: implement target_csp for wayland
  * DOCS/man/input: only sequence prefixes need to be unbound
  * DOCS/man/options: blend-subtitles affects hdr subtitle peak behavior
  * player/loadfile: limit playlist length to 3 for fuzzing
  * vo_gpu_next: if colorspace is set on swapchain respect its parameters
  * select.lua: refactor subtitle parse
  * vo_gpu_next: add options to control subtitles peak for HDR output
  * DOCS/man/options: document target-prim display-p3
  * player/command: add a `default` flag to the track add commands
  * misc/language: parse default tag from external subtitle tracks
  * vo_gpu_next: be smarter about target colorspace selection
  * DOCS/interface-changes: add --prefetch-playlist default change
  * Revert "manpage: clarify that you can prefetch m3u8 urls"
  * Revert "options: default to --prefetch-playlist=yes"
  * fuzzers: limit input size to 100KiB
  * console.lua: bind Ctrl+y to copy
  * video/out/vo_gpu_next: implement background tile options for gpu-next
  * video/out/gpu/video: add options to control background tile appearance
  * m_option: add m_opt_choice_str_def
  * osc.lua: fix volume icon not updating while paused
  * demux_cue: ignore mcn
  * osc.lua: fix element touch handling
  * DOCS/man/lua: fix spacing issues
  * wayland: check if we have color representation manager first
  * wayland: add support for wp-color-representation-v1
  * stats.lua: fix append_property exclusions
  * test/libmpv_test_track_selection: add a test for regional languages
  * player/loadfile: match audio and subtitle language with mp_match_lang
  * ytdl_hook.lua: add support for HEVC
  * ao_avfoundation: fix memory leak
  * misc/path_utils: create folders with 0777 mode
  * misc/path_utils: check existence first in mp_mkdirp()
  * player: create missing folders for watch-history-path
  * player: handle unavailable options while writing watch-later file
  * sub/lavc_conv: also log decoder used
  * DOCS/libmpv: clarify that handle used by cplugin cannot be destroyed
  * sub/sd_lavc: fix condition for probing output type
  * command: fix frame step with mouse buttons
  * sd_lavc: log some useful information
  * video/image_writer: improve logging of conversions and encoder
  * various: use MP_ARRAY_SIZE macro
  * options: parse tls-related options as path
  * sub/osd_libass: don't rerender OSD if not changed
  * demux_lavf: check if context is correctly passed to callbacks by ffmpeg
  * wayland: allow potential dragging of maximized windows
  * build: move check for DXGI_DEBUG_D3D11 down
  * libarchive: try to use utf8 pathname
  * DOCS/man/options: equivalent -> analogous
  * console.lua: set compute_bounds and hidden at startup
  * console.lua: rename option_color_to_ass to color_option_to_ass
  * vo: move vo_mediacodec_embed to not be the default on Android
  * misc/language: mark arrays as nonstring for GCC 15
  * demux_lavf: replace deprecated usage of stack allocated AVPackets
  * demux_lavf: fix unconstrained cache size with wrapped AVFrame packets
  * various: remove redundant return
  * video/image_writer: tag bits_per_raw_sample when pixfmt changes
  * wayland: print errno strerror for data offer read/write
  * DOCS/man/input: add documentation for Wayland and macOS clipboard write
  * clipboard-wayland: support clipboard writing
  * video/out/wayland_common: support clipboard writing
  * video/out/wayland_common: rename dnd_ddev to data_device
  * video/out/wayland_common: save last user input serial
  * wayland: log output user-friendly wl_output name
  * wayland: log when direct scanout is active
  * console.lua: fix crash when pressing Ctrl+l
  * video/zimg: set alpha to ZIMG_ALPHA_STRAIGHT in all cases except premul
  * options: add cue to --playlist-exts's defaut value
  * sub/osd: set osd-shaper to complex by default
  * ytdl_hook: add option to extract chapters
  * console.lua: center correctly within OSC margins
  * console.lua: replace font script-opt with monospace_font
  * console.lua: say focused instead of selected
  * options: add ivf to video extensions
  * options/m_option: assert if choice value is valid
  * video/csputils: add missing alpha choice
  * select.lua: display editions when before the first edition
  * console.lua: repurpose case_sensitive to only affect exact searches
  * console.lua: implement exact matching
  * stats.lua: set `plot_{perfdata,vsync_ratio,vsync_jitter}` to no
  * stats.lua: add `stats-plot_cache` script-opt
  * osc.lua: update OSC on playlist position changes
  * video/out/gpu/context: enable debug_extra for Vulkan
  * sub/osd: add osd-shaper and set it to simple by default
  * sub/sd_ass: add sub-{glyph-limit,bitmap-max-size}
  * sub/osd: add osd-{glyph-limit,bitmap-max-size}
  * sub/osd: add osd-prune-delay
  * video/out/opengl/common: prevent MemoryBarrier collision
  * DOCS/man/mpv: document alt+v to toggle secondary sub track visibility
  * vd_lavc: prefer non-copy hwdec before falling back to -copy variant
  * clipboard-wayland: read already sent data when the fd is hung up
  * vd_lavc: prefer Vulkan hwdec when available
  * console.lua: default prompt to an empty string
  * DOCS/man/options: fix link to Conditional auto profiles
  * DOCS/man/input: remove reference to the removed --clipboard-enable
  * DOCS: remove references to the removed slave mode
  * vo_dmabuf_wayland: set hwdec_type in reconfig based off of imgfmt
  * vo_dmabuf_wayland: only load needed hardware decoding drivers
  * {osd,msg}: use PU{1,2} for escape codes instead of invalid Unicode
  * vo_dmabuf_wayland: don't resize if dst rect is 0
  * video/sws_utils: limit sws-cvs and sws-chs to [-100, 100]
  * vd_lavc: limit frame size to 8k when fuzzing
  * options/m_option: add missing newline in log
  * sd_ass: handle past subs with unknown duration on every decode
  * osdep/threads: prefer using thread_local
  * player/scripting: fix race condition when destroying clients
  * misc/random: add mp_rand_in_range32()
  * misc/random: improve the fallback case
  * misc/random: use av_random_bytes() for the whole seed
  * misc/random: eliminate mutex
  * osdep/language-win: fix use of GetSystemPreferredUILanguages()
  * test/libmpv_test_track_selection: fix locale check
  * test/libmpv_test_track_selection: fix compilation with Windows SDK
  * filters: automatically flip video if displaymatrix indicates so
  * positioning.lua: validate that an amount is passed
  * DOCS/man/osc: fix custom button example formatting
  * select.lua: simplify the time formatting function
  * misc/language: add a `forced` flag to the track add commands
  * misc/language: parse forced tag from external subtitle tracks
  * demux/demux_playlist: mark fd:// as self-expanding
  * demux_mpv: add missing URL unescape
  * demux_mkv: fix compilation after deprecated definitions removal
  * DOCS: clarify some minor points in the release policy
  * clipboard-wayland: prevent reading from hung up fd
  * wayland: lrint some width/height calculations
  * wayland: use logical coordinates when setting the opaque region
  * threads: remove unused recursive mutex support
  * vd_lavc: enable FFv1 hwaccel by default
  * mp_image: set repr.alpha and repr.bits when mapping AVFrame
  * video/vdpau: change is_preempted bool to atomic
  * DOCS/interface-changes/kitty-passthrough: option addition notice
  * vo_kitty: use `priv` as talloc context
  * vo_kitty: remove `DCS_GUARD_*` macros
  * vo_kitty: do not add trailing `NULL` byte in payload
  * vo_kitty: add `auto-multiplexer-passthrough` option
  * vo_kitty: reallocate `cmd.start` on `reconfig`ure
  * build: make drm optional again for vo_dmabuf_wayland
  * build: use a drm_fourcc header check for vaapi on gl
  * commands.lua: add remember_input script-opt
  * console.lua: use a variadic function
  * wayland: accept version 2 of the cursor-shape protocol
  * console.lua: use double quotes
  * playloop: only notify MP_EVENT_INPUT_PROCESSED when needed
  * input: mark mouse and touch position update in mp_cmd
  * stats.lua: cache some properties
  * DOCS/man/options: remove bogus messages about the client API

OBS-URL: https://build.opensuse.org/request/show/1310689
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpv?expand=0&rev=128
2025-10-11 20:50:48 +00:00
285d11968e - Use RPM 4.20 BuildSystem declaration
- Fix required Meson version
- Make Meson explicitly look for the desired Lua implementation
- Enable test suite

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=324
2025-10-11 07:00:50 +00:00
b7285db429 - Fix accidental unconditional inclusion of pkgconfig(lua5.1) in
BuildRequires (caused mpv to never use LuaJIT)

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=323
2025-10-11 05:56:03 +00:00
96438c4648 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=322 2025-10-10 23:26:41 +00:00
b2ca704969 - Update dependencies
- Drop RPM groups
- Drop obsoletion of mplayer2 (not in openSUSE anymore)
- Drop sed calls for version overrides, write MPV_VERSION instead
  (build date has not been printed anywhere in a long time)
- Use %ldconfig_scriptlets
- Update to version 0.40.0+git20251010.67330ba2de:
  * select.lua: don't go beyond the max line length
  * mp_image: use correct scaling for nominal peak
  * stats.lua: split lines to make them shorter
  * stats.lua: skip codec params if they are not available
  * mp_image: use pl_color_space_nominal_luma_ex() to set nominal csp peak
  * player/playloop: set consistent video parameters in idle mode
  * select.lua: rename some menus with proper name
  * vo_gpu_next: add `--hdr-reference-white`
  * stats.lua: make video block even when no video track
  * ci/lint-commit-msg.py: modernize type hint
  * mp_image: keep chroma location consistent for non-subsampled formats
  * vf_format: add some basic HDR10 metadata
  * vf_format: add `--vf=format=transfer` alias
  * DOCS/man/vf: add missing st428 in vf_format
  * av_common: check if position is not negative
  * demux/cue: fix crash when there are no tracks
  * wayland: fix displaying non-subsampled formats
  * img_format: add a helper to determine if chroma is 4:2:0 subsampled
  * wayland: log color-representation information as well
  * wayland: log the image description we try to set
  * wayland: always set max_cll/max_fall
  * vo_dmabuf_wayland: unset video viewport source when force_window
  * vo_gpu_next: add --border-background=blur and --background-blur-radius

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=321
2025-10-10 22:52:12 +00:00
6 changed files with 525 additions and 81 deletions

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/mpv-player/mpv.git</param>
<param name="changesrevision">97cb16d68340ec06960c9f4c06a8092c51073723</param></service></servicedata>
<param name="changesrevision">d0e24ab17acc85d9f222d3bad4f15b42b00c634d</param></service></servicedata>

View File

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

View File

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

View File

@@ -1,3 +1,483 @@
-------------------------------------------------------------------
Sun Dec 21 19:40:41 UTC 2025 - llyyr <llyyr@yukari.in>
- Update to version 0.41.0+git20251221.d0e24ab17a:
* Update MPV_VERSION
* Release 0.41.0
* wayland: use rendering intent enum instead of magic value
* wayland: support color-management-v1 version 2
* osxbundle: add new macOS 26 compatible App icon
* vo: trigger manual redraws at most at slightly over display fps
* DOCS/man/options: clearify that gpu-next support d3d11va and everything
* mp_image: check all components for pl_bit_encoding in mp_image_setfmt
* vo: put vo states into union
* meson: remove png icons from win32 resource depend
* vo: remove unused configs from context
* wayland: convert luminance values to libplacebo space
* Revert "ytdl_hook: add chapters by parsing video's description"
* Revert "ytdl_hook: add option to extract chapters"
* filters/f_decoder_wrapper: reinit decoder on audio-spdif opt change
* osc.lua: remove flags from disable_key_bindings
* video/out/aspect: don't overflow intermediate values in scaling calc
* video/out/gpu/hwdec: load native D3D RA hwdec drivers first
* ao_aaudio: set content type if --audio-set-media-role is enabled
* ao_audiotrack: set content type if --audio-set-media-role is enabled
* ao_pulse: set media.role if --audio-set-media-role enabled
* ao_pipewire: avoid setting any media.role by default
* ci/win32: downgrade meson to 1.9.2
* mac/vulkan: log opaque state (direct-to-display possible) of metal layer
* mac/vulkan: log display sync active state of metal layer
* mac/vulkan: log HDR active state of metal layer
* mac/vulkan: log EDR changes of metal layer
* mac/vulkan: log colorspace changes of metal layer
* mac/vulkan: log pixel format changes of metal layer
* clipboard-x11: request selection at init
* clipboard-x11: use separate properties to receive primary and clipboard
* ci: update some github actions
* ci/mingw: update dependency versions
* ci/mingw: use a mirror instead of ftp.gnu.org
* demux_playlist: clarify reason for HLS detection
* demux_lavf: remove 'bin' format from blacklist
* etc/mpv.conf: replace the --sharpen example
* player/command: fix playlist-remove argument requirement
* vd_lavc: enable hwdec for DPX by default
* mp_image: add `ycgco-{re,ro}` support
* m_option: be more resilent to new enum additions
* player/video: only set a/v speed factor to 1 when exiting display-sync
* player/command: update speed filters for pitch-correction change too
* ao/aaudio: implement aaudio backend for android
* meson: added option to disable audiotrack
* video/image_writer: use image->params.repr to determine depth
* DOCS/man/input: don't discourage hook usage
* meson: print cocoa for feature summary
* demux: clear packet pool when upper memory limit is lowered
* misc/path_utils: don't normalize -
* wayland: correct geometry handling for rotated outputs
* wayland: fix condition for setting image description
* wayland: move initial color management setup earlier in the init
* wayland: only print color repr message if we actually set anything
* wayland: remove unused primaries/tf/luminance feature flags
* wayland: always use get_preferred instead of get_preferred_parametric
* wayland: assume all image description is parametric until icc_file event
* wayland: remove icc feature check and simplify handling icc file
* ci/win32: bump ffmpeg to 8.0
* osdep/compiler: fix typo in MP_ASSERT_UNREACHABLE
* meson: define WINICONV_CONST to strip const from win-iconv
* ci/win32: fix aom CRT type to be consistent with the rest of the build
* ao_wasapi_utils,command,hwdec_vulkan: remove double semicolons
* ao_pipewire: fix mapping of wide channels
* ci/openbsd: update to 7.8
* github/workflows: fix libXpresent installation on freebsd
* ao_pipewire: fix copy paste error in channel mapping
* meson.build: print drm for feature summary
* vo_gpu_next: limit min_luma to 1000:1 contrast ratio in SDR mode
* mp_image: map hwdec format parameters correctly
* ci/mac: add macOS 15 intel runner
* ci/mac: move our test runner to the newest macOS 26 runner
* ci/mac: add macOS 26 runner
* ci/mac: use oldest Xcode version on oldest macOS runner
* ci/mac: remove deprecated macOS 13 runner
* osxbundle: make bundle category configurable and default to video
* ci/tumbleweed: disable sanitizers for GCC build
* .lsan_suppressions: remove no longer needed suppression
* ci: remove -Wno-error=deprecated
* TOOLS/lua/autoload.lua: stop initial file from being added twice
* video/out/gpu/video: change `treat-srgb-as-power22` default to auto
* ci/build-msys2.sh: disable pdf-build for clangarm64
* osxbundle: read version from version.h
* mac/common: fix window position on multi monitor setups
* stats.lua: remove prefix from display luminance metadata
* console.lua: don't clip items if OSD dimensions are not initialized
* meson: warn if building with SDL2
* meson: remove redundant `sdl2` option
* wayland: log display luminance values alongside other preferred img desc
* wayland: replace comment with log message
* wayland: log connector name for wl_output in more places
* {console/context_menu}.lua: don't apply --osd-blur to menu backgrounds
* vo_gpu_next: add workaround for broken linear output in libplacebo
* video/out/gpu/video: add `--sdr-adjust-gamma`
* vo_gpu_next: linearize sRGB as a pure 2.2 power function
* command: react to --force-window changes with no file playing
* meson.build: add libx11 as x11 clipboard dependency
* wayland_common: always prefer the PQ transfer for HDR output
* vo/context_android: fix surface tearing on resize
* clipboard: add --clipboard-xwayland option
* .pre-commit-config: add requestor to ignore list
* console.lua: use clipboard property for x11
* clipboard-x11: add x11 clipboard backend
* .github/ISSUE_TEMPLATE: add --msg-time to log file instruction
* various: use mp_sleep_ns
* TOOLS/lua/test-hooks.lua: drop sleep amount suffix
* command: fix bluray angle stream detection
* vd_lavc: add ProRes RAW to the list of default hwdec codecs
* vo_dmabuf_wayland: request redraw on resize
* stream_bluray: do not demux_flush on angle change
* sub/osd_libass: change add_osd_ass_event argument to bstr
* video/out/gpu/video: make the target-contrast limit higher
* vo_gpu_next: use reported display contrast value also in SDR mode
* options: add mxf to video file extensions list
* player/lua: fix UB in integerness check
* player/javascript: fix mp.set_property_number for integer properties
* TOOLS/lua/gamma-auto: update on timer when on Linux
* osdep/linux-als: support ambient-light on Linux
* DOCS/man/input: document command-list contents
* context_menu.lua: prevent some rare crashes
* context_menu.lua: add a missing return
-------------------------------------------------------------------
Mon Oct 27 16:56:03 UTC 2025 - Andreas Schwab <schwab@suse.de>
- Enable luajit on riscv64
-------------------------------------------------------------------
Sat Oct 11 06:01:43 UTC 2025 - Mia Herkt <mia@0x0.st>
- Use RPM 4.20 BuildSystem declaration
- Fix required Meson version
- Make Meson explicitly look for the desired Lua implementation
- Enable test suite
-------------------------------------------------------------------
Sat Oct 11 05:54:19 UTC 2025 - Mia Herkt <mia@0x0.st>
- Fix accidental unconditional inclusion of pkgconfig(lua5.1) in
BuildRequires (caused mpv to never use LuaJIT)
-------------------------------------------------------------------
Fri Oct 10 19:57:33 UTC 2025 - Mia Herkt <mia@0x0.st>
- Update dependencies
- Drop RPM groups
- Drop obsoletion of mplayer2 (not in openSUSE anymore)
- Drop sed calls for version overrides, write MPV_VERSION instead
(build date has not been printed anywhere in a long time)
- Use %ldconfig_scriptlets
- Update to version 0.40.0+git20251010.67330ba2de:
* select.lua: don't go beyond the max line length
* mp_image: use correct scaling for nominal peak
* stats.lua: split lines to make them shorter
* stats.lua: skip codec params if they are not available
* mp_image: use pl_color_space_nominal_luma_ex() to set nominal csp peak
* player/playloop: set consistent video parameters in idle mode
* select.lua: rename some menus with proper name
* vo_gpu_next: add `--hdr-reference-white`
* stats.lua: make video block even when no video track
* ci/lint-commit-msg.py: modernize type hint
* mp_image: keep chroma location consistent for non-subsampled formats
* vf_format: add some basic HDR10 metadata
* vf_format: add `--vf=format=transfer` alias
* DOCS/man/vf: add missing st428 in vf_format
* av_common: check if position is not negative
* demux/cue: fix crash when there are no tracks
* wayland: fix displaying non-subsampled formats
* img_format: add a helper to determine if chroma is 4:2:0 subsampled
* wayland: log color-representation information as well
* wayland: log the image description we try to set
* wayland: always set max_cll/max_fall
* vo_dmabuf_wayland: unset video viewport source when force_window
* vo_gpu_next: add --border-background=blur and --background-blur-radius
* commands.lua: update screenshot commands flags
* screenshot: add osd and scaled flags to screenshot commands
* sub: make --sub-fix-timing configurable
* DOCS/man/options: mention --target-gamut in colorspace hint mode
* vo_gpu_next: don't force PQ output for SDR sources if target is unknown
* osdep/compiler: refactor MP_ASSERT_UNREACHABLE
* various: add MP prefix for {PRINTF,SCANF}_ATTRIBUTE
* DOCS/man/input: document that screenshot-raw works in scripts
* mp_image: add support for AVAlphaMode
* test/libmpv_common: fflush stdout and stderr in fail
* test/libmpv: use common wrappers for properties and commands
* test/libmpv_encode: use libmpv_common.h
* vo_dmabuf_wayland: actually reuse OSD buffers
* mp_image: assume content has sRGB transfer when is full range
* cplugin: init pfn_mpv_get_time_ns
* wayland: demote image_description_ready log to trace
* wayland: log preferred surface feedback details
* wayland: only unset image description if we couldn't set a new one
* wayland: call pl_color_space_infer before comparing target_params
* video/out/wayland_common: fix crash when uninit without display
* osc.lua: add indicator for buffering/loading
* osdep/terminal-unix: use numpad keycodes
* vo_gpu_next: add `--target-colorspace-hint-strict` option
* vo_gpu_next: respect --target-gamut in colorspace hint
* osdep/w32_register: register url protocols if they don't exist yet
* osdep/w32_register: don't mark io.mpv.url as url protocol
* options: reduce swapchain-depth to 2 by default
* context_menu.lua: make gap a percentage of the font_size
* console.lua: add gap script-opt
* console.lua: increase the gap between menu items
* command: fix null dereference for invalid command in input-commands
* test/libmpv_test_sdh_filter: start test paused and at 1 second
* player/misc: show percentage progress for --stream-dump
* vo: remove "slack" frames from swapchain
* select.lua: add online documentation menu entry
* select.lua: add edit-config-file and edit-input-conf
* context_menu.lua: add this script
* command: fix type mismatch
* sub: remove upper limits of margin-x and margin-y
* player/command: do seamless angle change when bluray-angle is changed
* stream_bluray: add bluray-angle option
* options: remove leftover bluray_device field
* stream_bluray: show number of angles in title list
* playloop: update window title in handle_force_window
* input/keycodes: fix combo key handling for - key
* {demux_mkv,TOOLS/matroska}: map, expose hearing/visual impaired flags
* console.lua: don't autoselect the wrong completion
* ytdl_hook.lua: add support for VP9 profile 2
* TOOLS/lua/autocrop.lua: don't error if hwdec-current is nil
* stats.lua: show also min_luma if max_luma is nominal SDR
* wayland: add usage of set_chroma_location for wp-color-representation-v1
* ytdl_hook.lua: don't crash if playlist entries don't have an usable URL
* player/command: fix missing property update for some hwdec changes
* DOCS/lua: fix mistyped function name
* DOCS/input: clarify value of hwdec-current
* wayland_common: handle wayland events in VOCTRL_CHECK_EVENTS
* vo/vulkan: sync recommended Vulkan 1.x features from ffmpeg
* vo/vulkan: sync recommended extensions and features from ffmpeg
* vo_gpu_next: initialize min_luma correctly
* path-unix: support ~~desktop path expansion
* vd_lavc: don't select software output format if hwdec failed
* vd_lavc: add `--hwdec-threads`
* vd_lavc: fix AVCodecContext use in get_format callback
* vo_gpu_next: respect ICC profile color space
* vo_gpu_next: don't use unitialized min_luma in some cases
* options: delete the duplicated extension "wav" in --audio-exts
* vo_gpu_next: don't hint colorspace when ICC profile is used
* stream_libarchive: seek source stream to 0 before probing
* stats.lua: round max-cll to integer
* vo_gpu_next: when tone-mapping, set better maxCLL value
* vo_vdpau: recommend vaapi directly instead of vo in emulated case
* vo_{vaapi,vdpau}: recommend gpu-next over gpu
* DOCS/interface-changes: add backticks to tls-options
* vo_gpu_next: fix resetting --glsl-shader-opts
* stream_bluray: use bd_get_main_title() to get main title
* meson: bump libbluray requirement to 0.5.0
* stream: remove stream_info_bdnav
* stream_dvdnav: fix --edition when dvd:// is not used directly
* stream_bluray: fix --edition when bd:// is not used directly
* vo_gpu_next: allow unsetting LUTs
* test: add some tests for the sub_sdh_filter
* test/libmpv: inline some test-specific helpers in libmpv_common
* filter_sdh: convert --sub-sdh-enclosures to a string list
* fuzzers: set fontconfig sysroot
* ci/mingw: add lcms2
* DOCS/man/options: document special wid value -1
* options: handle runtime wid change
* client: don't take ownership of result if it is not returned
* video/out: make ra_fns const
* video/out/gpu/context: make context lists const
* filters/f_swresample: make fudge_pairs const
* various: fix `Wpedantic` warnings
* demux_libarchive: normalize stream URL path before escaping
* ci: remove custom rust install step from windows-11-arm job
* DOCS: fix FILES section title in links
* ytdl_hook.lua: don't pass any format to youtube-dl by default
* ytdl_hook.lua: get rid of outdated youtube-dl hint
* vo_gpu_next: allow UINT upload if no other format is supported
* DOCS/man/options: add hint to list default sub extensions
* meson: add `-Woverflow` to test flags
* test: fix `Woverflow` by using `uint8_t` array
* demux_libarchive: escape '%' in stream URL path
* command: normalize stream-open-filename
* clipboard-wayland: create data sources in clipboard thread
* clipboard-wayland: add death message
* clipboard-wayland: rename death pipe to message pipe
* player/configfiles: stop parenting mp_get_playback_resume_dir to mpctx
* wayland: leave window geometry unset
* stream_dvb: allow to enforce DVB-S/T for old zap format channels.conf
* vo_gpu_next: override levels even when hinting colorspace
* demux_libarchive: normalize the stream url path
* options/path: fix a lie in comment
* sub/lavc_conv: prevent corruption after switching WebM WebVTT subs
* sub/lavc_conv: remove unneeded strdup
* sub/ass_mp: revert some unwanted changes
* DOCS/man/options: add a note about MAINPRESUB and gpu-next
* vo_gpu_next: reduce fp conversions in overlay color
* vo_gpu_next: add support for blend-subtitles=video
* sub/ass_mp: add missing padding for ass packer
* vo_gpu_next: don't do partial updates on hint luminance
* m_option: remove unneeded legacy syntax parsing
* input/cmd: use m_option_set_node_or_string
* m_config_frontend: use m_option_set_node_or_string
* m_option: change m_option_set_node_or_string to accept bstr directly
* vo_dmabuf_wayland: don't set HDR metadata on SDR transfers
* vo_dmabuf_wayland: use pl_color_space_infer on HDR transfers
* vo_dmabuf_wayland: tighten up hdr metadata sanity checking
* video/out/gpu/video: fix target colorspace for redrawed frames
* encode: simplify all initial blocking logic for encoding
* docs: document tablet pad properties
* wayland: expose tablet pad buttons to input system
* docs: document tablet input
* wayland: move tablet tool handling to mpv input system
* wayland: add tablet tool handlers for tap, motion and button
* wayland: set tablet tool cursors
* wayland: wire tablet pad group listener
* wayland: wire tablet pad listener
* wayland: wire tablet tool listener
* wayland: wire tablet listener
* wayland: wire tablet seat listener
* wayland: build tablet protocol unconditionally
* build: install encoding-profiles.conf into the system data directory
* meson: remove wayland-protocol 1.39 check from top level meson.build
* wayland: use _SINCE_VERSION instead of checking for enum constant
* fuzzers/common: stop after 15 events if there is not playback reset
* demux_lavf: disable demuxer-lavf-o for fuzzing
* demux_edl: limit to 3 parts for fuzzing
* demux: add nested demuxer depth limit
* vo: move vo_gpu_next above vo_gpu in probe order
* d3d11_helpers: add caching of dxgi factory until it's current
* vo_gpu_next: add `source-dynamic` mode to colorspace hint
* vo_gpu_next: infer best containing primaries for raw primaries
* vo_gpu_next: override target params when pass_colorspace is used
* vo_gpu_next: change `--target-colorspace-hint` to `auto` by default
* vo_gpu_next: add `--target-colorspace-hint-mode` option
* command: add `video-params/prim-*` properies
* video/out/vulkan/context_wayland: implement target_csp for wayland
* DOCS/man/input: only sequence prefixes need to be unbound
* DOCS/man/options: blend-subtitles affects hdr subtitle peak behavior
* player/loadfile: limit playlist length to 3 for fuzzing
* vo_gpu_next: if colorspace is set on swapchain respect its parameters
* select.lua: refactor subtitle parse
* vo_gpu_next: add options to control subtitles peak for HDR output
* DOCS/man/options: document target-prim display-p3
* player/command: add a `default` flag to the track add commands
* misc/language: parse default tag from external subtitle tracks
* vo_gpu_next: be smarter about target colorspace selection
* DOCS/interface-changes: add --prefetch-playlist default change
* Revert "manpage: clarify that you can prefetch m3u8 urls"
* Revert "options: default to --prefetch-playlist=yes"
* fuzzers: limit input size to 100KiB
* console.lua: bind Ctrl+y to copy
* video/out/vo_gpu_next: implement background tile options for gpu-next
* video/out/gpu/video: add options to control background tile appearance
* m_option: add m_opt_choice_str_def
* osc.lua: fix volume icon not updating while paused
* demux_cue: ignore mcn
* osc.lua: fix element touch handling
* DOCS/man/lua: fix spacing issues
* wayland: check if we have color representation manager first
* wayland: add support for wp-color-representation-v1
* stats.lua: fix append_property exclusions
* test/libmpv_test_track_selection: add a test for regional languages
* player/loadfile: match audio and subtitle language with mp_match_lang
* ytdl_hook.lua: add support for HEVC
* ao_avfoundation: fix memory leak
* misc/path_utils: create folders with 0777 mode
* misc/path_utils: check existence first in mp_mkdirp()
* player: create missing folders for watch-history-path
* player: handle unavailable options while writing watch-later file
* sub/lavc_conv: also log decoder used
* DOCS/libmpv: clarify that handle used by cplugin cannot be destroyed
* sub/sd_lavc: fix condition for probing output type
* command: fix frame step with mouse buttons
* sd_lavc: log some useful information
* video/image_writer: improve logging of conversions and encoder
* various: use MP_ARRAY_SIZE macro
* options: parse tls-related options as path
* sub/osd_libass: don't rerender OSD if not changed
* demux_lavf: check if context is correctly passed to callbacks by ffmpeg
* wayland: allow potential dragging of maximized windows
* build: move check for DXGI_DEBUG_D3D11 down
* libarchive: try to use utf8 pathname
* DOCS/man/options: equivalent -> analogous
* console.lua: set compute_bounds and hidden at startup
* console.lua: rename option_color_to_ass to color_option_to_ass
* vo: move vo_mediacodec_embed to not be the default on Android
* misc/language: mark arrays as nonstring for GCC 15
* demux_lavf: replace deprecated usage of stack allocated AVPackets
* demux_lavf: fix unconstrained cache size with wrapped AVFrame packets
* various: remove redundant return
* video/image_writer: tag bits_per_raw_sample when pixfmt changes
* wayland: print errno strerror for data offer read/write
* DOCS/man/input: add documentation for Wayland and macOS clipboard write
* clipboard-wayland: support clipboard writing
* video/out/wayland_common: support clipboard writing
* video/out/wayland_common: rename dnd_ddev to data_device
* video/out/wayland_common: save last user input serial
* wayland: log output user-friendly wl_output name
* wayland: log when direct scanout is active
* console.lua: fix crash when pressing Ctrl+l
* video/zimg: set alpha to ZIMG_ALPHA_STRAIGHT in all cases except premul
* options: add cue to --playlist-exts's defaut value
* sub/osd: set osd-shaper to complex by default
* ytdl_hook: add option to extract chapters
* console.lua: center correctly within OSC margins
* console.lua: replace font script-opt with monospace_font
* console.lua: say focused instead of selected
* options: add ivf to video extensions
* options/m_option: assert if choice value is valid
* video/csputils: add missing alpha choice
* select.lua: display editions when before the first edition
* console.lua: repurpose case_sensitive to only affect exact searches
* console.lua: implement exact matching
* stats.lua: set `plot_{perfdata,vsync_ratio,vsync_jitter}` to no
* stats.lua: add `stats-plot_cache` script-opt
* osc.lua: update OSC on playlist position changes
* video/out/gpu/context: enable debug_extra for Vulkan
* sub/osd: add osd-shaper and set it to simple by default
* sub/sd_ass: add sub-{glyph-limit,bitmap-max-size}
* sub/osd: add osd-{glyph-limit,bitmap-max-size}
* sub/osd: add osd-prune-delay
* video/out/opengl/common: prevent MemoryBarrier collision
* DOCS/man/mpv: document alt+v to toggle secondary sub track visibility
* vd_lavc: prefer non-copy hwdec before falling back to -copy variant
* clipboard-wayland: read already sent data when the fd is hung up
* vd_lavc: prefer Vulkan hwdec when available
* console.lua: default prompt to an empty string
* DOCS/man/options: fix link to Conditional auto profiles
* DOCS/man/input: remove reference to the removed --clipboard-enable
* DOCS: remove references to the removed slave mode
* vo_dmabuf_wayland: set hwdec_type in reconfig based off of imgfmt
* vo_dmabuf_wayland: only load needed hardware decoding drivers
* {osd,msg}: use PU{1,2} for escape codes instead of invalid Unicode
* vo_dmabuf_wayland: don't resize if dst rect is 0
* video/sws_utils: limit sws-cvs and sws-chs to [-100, 100]
* vd_lavc: limit frame size to 8k when fuzzing
* options/m_option: add missing newline in log
* sd_ass: handle past subs with unknown duration on every decode
* osdep/threads: prefer using thread_local
* player/scripting: fix race condition when destroying clients
* misc/random: add mp_rand_in_range32()
* misc/random: improve the fallback case
* misc/random: use av_random_bytes() for the whole seed
* misc/random: eliminate mutex
* osdep/language-win: fix use of GetSystemPreferredUILanguages()
* test/libmpv_test_track_selection: fix locale check
* test/libmpv_test_track_selection: fix compilation with Windows SDK
* filters: automatically flip video if displaymatrix indicates so
* positioning.lua: validate that an amount is passed
* DOCS/man/osc: fix custom button example formatting
* select.lua: simplify the time formatting function
* misc/language: add a `forced` flag to the track add commands
* misc/language: parse forced tag from external subtitle tracks
* demux/demux_playlist: mark fd:// as self-expanding
* demux_mpv: add missing URL unescape
* demux_mkv: fix compilation after deprecated definitions removal
* DOCS: clarify some minor points in the release policy
* clipboard-wayland: prevent reading from hung up fd
* wayland: lrint some width/height calculations
* wayland: use logical coordinates when setting the opaque region
* threads: remove unused recursive mutex support
* vd_lavc: enable FFv1 hwaccel by default
* mp_image: set repr.alpha and repr.bits when mapping AVFrame
* video/vdpau: change is_preempted bool to atomic
* DOCS/interface-changes/kitty-passthrough: option addition notice
* vo_kitty: use `priv` as talloc context
* vo_kitty: remove `DCS_GUARD_*` macros
* vo_kitty: do not add trailing `NULL` byte in payload
* vo_kitty: add `auto-multiplexer-passthrough` option
* vo_kitty: reallocate `cmd.start` on `reconfig`ure
* build: make drm optional again for vo_dmabuf_wayland
* build: use a drm_fourcc header check for vaapi on gl
* commands.lua: add remember_input script-opt
* console.lua: use a variadic function
* wayland: accept version 2 of the cursor-shape protocol
* console.lua: use double quotes
* playloop: only notify MP_EVENT_INPUT_PROCESSED when needed
* input: mark mouse and touch position update in mp_cmd
* stats.lua: cache some properties
* DOCS/man/options: remove bogus messages about the client API
-------------------------------------------------------------------
Tue Mar 25 18:24:54 UTC 2025 - llyyr@yukari.in

View File

@@ -1,4 +1,4 @@
name: mpv
version: 0.40.0+git20250325.97cb16d68340
mtime: 1742924340
commit: 97cb16d68340ec06960c9f4c06a8092c51073723
version: 0.41.0+git20251221.d0e24ab17a
mtime: 1766344458
commit: d0e24ab17acc85d9f222d3bad4f15b42b00c634d

112
mpv.spec
View File

@@ -1,7 +1,7 @@
#
# spec file for package mpv
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2015 Packman Team <packman@links2linux.de>
# Copyright (c) 2012 Jiri Slaby <jslaby@suse.de>
# Copyright (c) 2011-2012 Pascal Bleser <pascal.bleser@opensuse.org>
@@ -21,31 +21,22 @@
%define lname libmpv2
Name: mpv
Version: 0.40.0+git20250325.97cb16d68340
Version: 0.41.0+git20251221.d0e24ab17a
Release: 0
Summary: Advanced general-purpose multimedia player
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Video/Players
URL: http://mpv.io
URL: https://mpv.io
Source: %{name}-%{version}.tar.xz
Source2: %{name}.changes
# PATCH-FIX-OPENSUSE do not require equal libav versions, obs rebuilds as needed
Patch0: mpv-make-ffmpeg-version-check-non-fatal.patch
BuildRequires: bash
BuildRequires: hicolor-icon-theme
BuildRequires: linux-kernel-headers
BuildRequires: meson >= 0.60.3
# Needed any lua to convert the bash-completion
BuildRequires: lua
BuildRequires: perl
BuildRequires: meson >= 1.3.0
BuildRequires: pkgconfig
BuildRequires: python3-docutils
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(alsa) >= 1.0.18
BuildRequires: pkgconfig(caca) >= 0.99.beta18
BuildRequires: pkgconfig(dri)
BuildRequires: pkgconfig(dvdnav) >= 4.2.0
BuildRequires: pkgconfig(dvdread) >= 4.1.0
BuildRequires: pkgconfig(egl) >= 1.4
BuildRequires: pkgconfig(ffnvcodec) >= 11.1.5.1
BuildRequires: pkgconfig(gbm) >= 17.1.0
@@ -58,31 +49,36 @@ BuildRequires: pkgconfig(libavcodec) >= 60.31.102
BuildRequires: pkgconfig(libavdevice) >= 60.3.100
BuildRequires: pkgconfig(libavfilter) >= 9.12.100
BuildRequires: pkgconfig(libavformat) >= 60.16.100
BuildRequires: pkgconfig(libavif) >= 0.11.1
BuildRequires: pkgconfig(libavutil) >= 58.29.100
BuildRequires: pkgconfig(libbluray) >= 0.3.0
BuildRequires: pkgconfig(libcdio)
BuildRequires: pkgconfig(libcdio_cdda)
BuildRequires: pkgconfig(libbluray) >= 0.5.0
BuildRequires: pkgconfig(libcdio) >= 0.90
BuildRequires: pkgconfig(libcdio_paranoia)
BuildRequires: pkgconfig(libdisplay-info)
BuildRequires: pkgconfig(libdisplay-info) >= 0.1.1
BuildRequires: pkgconfig(libdrm) >= 2.4.105
BuildRequires: pkgconfig(libiso9660)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libjxl)
BuildRequires: pkgconfig(libjxl_threads)
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.57
BuildRequires: pkgconfig(libplacebo) >= 6.338.2
BuildRequires: pkgconfig(libpulse) >= 1.0
BuildRequires: pkgconfig(libsixel) >= 1.5
BuildRequires: pkgconfig(libswresample) >= 4.12.100
BuildRequires: pkgconfig(libswscale) >= 7.5.100
BuildRequires: pkgconfig(libva) >= 1.1.0
BuildRequires: pkgconfig(lua5.1)
BuildRequires: pkgconfig(libva-wayland) >= 1.1.0
BuildRequires: pkgconfig(mujs) >= 1.0.0
BuildRequires: pkgconfig(openal) >= 1.13
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(rubberband) >= 3.0.0
BuildRequires: pkgconfig(shaderc)
BuildRequires: pkgconfig(uchardet)
BuildRequires: pkgconfig(vapoursynth) >= 56
BuildRequires: pkgconfig(vapoursynth-script) >= 56
BuildRequires: pkgconfig(vdpau) >= 0.2
BuildRequires: pkgconfig(vulkan) >= 1.3.238
BuildRequires: pkgconfig(wayland-client) >= 1.21.0
BuildRequires: pkgconfig(wayland-cursor) >= 1.21.0
BuildRequires: pkgconfig(wayland-egl) >= 9.0.0
BuildRequires: pkgconfig(wayland-protocols) >= 1.31
BuildRequires: pkgconfig(wayland-scanner)
BuildRequires: pkgconfig(x11) >= 1.0.0
BuildRequires: pkgconfig(xext) >= 1.0.0
BuildRequires: pkgconfig(xkbcommon) >= 0.3.0
@@ -92,30 +88,28 @@ BuildRequires: pkgconfig(xscrnsaver) >= 1.0.0
BuildRequires: pkgconfig(xv)
BuildRequires: pkgconfig(zimg) >= 2.9
BuildRequires: pkgconfig(zlib)
Requires: hicolor-icon-theme
# Used via LUA scripts
# Used via Lua scripts
Recommends: yt-dlp
Conflicts: mpv-plugin-mpris < 0.4
# Obsoletion of mplayer2 that is dead for 2 years now
Provides: mplayer2 = 20140101
Obsoletes: mplayer2 < 20140101
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.48
BuildRequires: pkgconfig(libplacebo) >= 6.338.2
BuildRequires: pkgconfig(libva-wayland) >= 1.1.0
BuildRequires: pkgconfig(mujs)
BuildRequires: pkgconfig(shaderc)
BuildRequires: pkgconfig(vulkan) >= 1.3.238
BuildRequires: pkgconfig(wayland-client) >= 1.20.0
BuildRequires: pkgconfig(wayland-cursor) >= 1.20.0
BuildRequires: pkgconfig(wayland-egl) >= 9.0.0
BuildRequires: pkgconfig(wayland-protocols) >= 1.25
BuildRequires: pkgconfig(wayland-scanner)
BuildRequires: pkgconfig(wayland-server)
# JIT for lua.
%ifarch aarch64 %{ix86} x86_64
BuildSystem: meson
BuildOption: --auto-features=auto
BuildOption: -Dcdda=enabled
BuildOption: -Dlibmpv=true
BuildOption: -Ddvbin=enabled
BuildOption: -Ddvdnav=enabled
BuildOption: -Dopenal=enabled
BuildOption: -Dtests=true
# We don't want to rebuild all the time.
BuildOption: -Dbuild-date=false
# These tests need more FFmpeg than ffmpeg-mini provides
BuildOption(check): --no-suite=libmpv
# JIT for Lua.
%ifarch aarch64 %{ix86} x86_64 riscv64
BuildRequires: pkgconfig(luajit)
BuildOption: -Dlua=luajit
%else
BuildRequires: pkgconfig(lua5.1)
BuildOption: -Dlua=lua5.1
%endif
%description
@@ -124,7 +118,6 @@ of video file formats, audio and video codecs, and subtitle types.
%package bash-completion
Summary: Bash Completion for %{name}
Group: Productivity/Multimedia/Video/Players
Requires: %{name} = %{version}
Requires: bash-completion
Recommends: xrandr
@@ -136,7 +129,6 @@ Bash command line completion support for %{name}.
%package zsh-completion
Summary: ZSH Completion for %{name}
Group: Productivity/Multimedia/Video/Players
Requires: %{name} = %{version}
Supplements: (mpv and zsh)
BuildArch: noarch
@@ -146,7 +138,6 @@ ZSH command line completion support for %{name}.
%package fish-completion
Summary: Fish Completion for %{name}
Group: Productivity/Multimedia/Video/Players
Requires: %{name} = %{version}
Supplements: (mpv and fish)
BuildArch: noarch
@@ -156,7 +147,6 @@ Fish command line completion support for %{name}.
%package devel
Summary: A library to link together with mpv player
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}
%description devel
@@ -167,7 +157,6 @@ This package contains all the development files.
%package -n %{lname}
Summary: A library to link together with mpv player
Group: System/Libraries
%description -n %{lname}
mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety
@@ -178,43 +167,18 @@ features.
%prep
%autosetup -p1
echo '%{version}' > MPV_VERSION
# I hate UNKNOWN so lets put decent info there.
MODIFIED="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE2}")"
DATE="$(date -d "$MODIFIED" "+%%b %%e %%Y")"
sed -i "s|UNKNOWN|$DATE|g;s|VERSION|\"%{version}\"|g" common/version.c
%build
# We don't want to rebuild all the time.
myopts=" -Dbuild-date=false"
%meson \
--auto-features=auto \
-Dcdda=enabled \
-Dlibmpv=true \
-Ddvbin=enabled \
-Ddvdnav=enabled \
-Dopenal=enabled \
${myopts} \
%{?nil}
%meson_build
%install
%meson_install
%install -a
mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}
mv %{buildroot}/%{_datadir}/doc/%{name}/* %{buildroot}/%{_defaultdocdir}/%{name}/
%check
%meson_test
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%ldconfig_scriptlets -n %{lname}
%files
%license LICENSE.GPL Copyright
%doc README.md RELEASE_NOTES
%doc %{_defaultdocdir}/%{name}/*
%dir %{_sysconfdir}/%{name}/
%config %{_sysconfdir}/%{name}/encoding-profiles.conf
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor