mpv/video/out
Avi Halachmi (:avih) 59c32a04b0 vo_sixel: fix the image corruption with mlterm
The issue was that we only uploaded the palette to the terminal when it
changed (once on init with fixed palette, every frame with dynamic
palette with trheshold=-1, only on scene change with threshold >= 0).

Now we upload it on every frame, and it seems to fix the mlterm image
corruption both with fixed palette and also with dynamic palette with
threshold (i.e. at frames which did not upload a palette).

It's not entirely clear why it's required with mlterm.

It would seem that the palette which libsixel uses with fixed palette
matches the built in default palette in xterm, but not in mlterm.
With dynamic palette we can guess that mlterm resets the palette after a
sixel image, but that's not confirmed.

Uploading the palette on every frame doesn't seem to slow down xterm
when using fixed palette - not clear yet why uploading a different
palette (when using fixedpalette=no) slows it down while same palette
on every frame doesn't.

In mlterm there's no slowdown either way - and now also no corruption.
2020-11-27 00:25:32 +02:00
..
cocoa
d3d11
gpu vo_gpu: improve gamut warning bounds checks 2020-10-21 14:39:59 +02:00
hwdec
mac mac: make focus property observable 2020-11-07 21:38:35 +01:00
opengl Revert "wayland: conditionally commit surface on resize" 2020-11-08 09:51:52 -06:00
placebo
vulkan Revert "wayland: conditionally commit surface on resize" 2020-11-08 09:51:52 -06:00
win32
android_common.c options: simplify --android-surface-size handling 2020-09-20 12:04:25 +02:00
android_common.h
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_cb_common.swift mac: add an option to prevent focusing of the window on open 2020-09-25 16:48:24 +02:00
cocoa_common.h
cocoa_common.m
dither.c
dither.h
dr_helper.c
dr_helper.h
drm_atomic.c
drm_atomic.h
drm_common.c
drm_common.h
drm_prime.c
drm_prime.h
filter_kernels.c
filter_kernels.h
libmpv.h
libmpv_sw.c
vo.c video/out/vo_sixel.c: Implement sixel as a output device 2020-11-07 18:51:49 +02:00
vo.h vo_vdpau: remove deprecated/inactive --vo-vdpau-deint option 2020-09-09 15:38:39 +02:00
vo_caca.c
vo_direct3d.c
vo_drm.c
vo_gpu.c vo_gpu: fix segfault when updating render opts 2020-10-15 12:18:59 -05:00
vo_image.c
vo_lavc.c
vo_libmpv.c
vo_mediacodec_embed.c
vo_null.c
vo_rpi.c
vo_sdl.c
vo_sixel.c vo_sixel: fix the image corruption with mlterm 2020-11-27 00:25:32 +02:00
vo_tct.c
vo_vaapi.c
vo_vdpau.c vo_vdpau: remove an unused variable 2020-09-10 23:25:30 +02:00
vo_wlshm.c Revert "wayland: conditionally commit surface on resize" 2020-11-08 09:51:52 -06:00
vo_x11.c
vo_xv.c
w32_common.c
w32_common.h
wayland_common.c wayland: fix buffer overrun in get_mods 2020-11-08 10:59:41 -06:00
wayland_common.h wayland: check for modifier keys on pointer events 2020-11-08 15:59:09 +00:00
win_state.c
win_state.h
x11_common.c command: add read-only focused property 2020-09-08 20:09:17 +02:00
x11_common.h