mpv-player / mpv-player/mpv

Support linked images in .svg files

Open
#16,431 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

down-upstream:ffmpeg meta:feature-request
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Expected behavior of the wanted feature

when displaying an .svg file I'd like mpv to correctly display images references in with xlink:href attribute
right now these images aren't showed at all (only embedded images work)

Alternative behavior of the wanted feature

if this is a security concern, could we at least have an additional option to mpv command to provide this support (e.g. --svg-show-image-links)?

Log File

No response

Sample Files

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or sample files are identified. Start by locating mpv's SVG rendering path and reviewing how linked image references are handled for security. Done means linked images in SVG files display correctly, or a documented command-line option enables the behavior if unrestricted support is unsafe.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
computer-graphics, desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.