1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 09:02:38 +00:00
mpv/TOOLS
wm4 a5183a761c x11: add window icon
The png file added to etc/ are taken from the link mentioned in commit
303096b, except that they have been converted to 16 bit, sRGB (with
color profile info dropped, if there was one), and transparent pixels
reset for better compression.

The file x11_icon.bin is generated by gen-x11-icon.sh. I'm adding it to
the git repo directly, because the script requires ImageMagick, and we
don't want to make building even more complicated.

The way how this is done is basically a compromise between effort
required in x11_common.c and in gen-x11-icon.sh. Ideally, x11_icon.bin
would be directly in the format as required by _NET_WM_ICON, but trying
to write the binary width/height values from shell would probably be a
nightmare, so here we go.

The zlib code in x11_common.c is lifted from demux_mkv.c, with some
modifications (like accepting a gzip header, because I don't know how to
make gzip write raw compressed data).
2013-09-01 23:27:33 +02:00
..
lib/Parse demux_mkv: support V_UNCOMPRESSED video tracks 2013-01-24 17:45:13 +01:00
osxbundle change application icon 2013-09-01 12:24:53 +02:00
vf_dlopen ildetect: $ILDETECT_RUN_INTERLACED_ONLY to only run the job if not progressive 2013-06-21 06:22:13 +02:00
file2string.pl Port several python scripts to Perl 2012-11-08 00:28:59 +01:00
gen-x11-icon.sh x11: add window icon 2013-09-01 23:27:33 +02:00
matroska.pl Port several python scripts to Perl 2012-11-08 00:28:59 +01:00
mpv_identify.sh mpv_identify: add --quiet to mpv command line 2013-03-26 01:29:53 +01:00
osxbundle.py osxbundle: suggest some ways to correct missing dependencies 2013-06-30 09:14:25 +02:00
umpv TOOLS: add script for emulating "unique application" functionality on Linux 2013-07-28 23:08:05 +02:00
uncrustify.cfg uncrustify: add some instructions 2013-05-12 21:24:55 +02:00