mpv icon indicating copy to clipboard operation
mpv copied to clipboard

wayland: OSD is broken when file same aspect ratio as display

Open Nikoli opened this issue 13 years ago • 6 comments

http://i.imgur.com/1vZP8gC.jpg

When file has same aspect as my screen (16:9), OSD is much bigger then screen and is cropped, with '-vf crop=1918' osd works fine

$ mpv -V
mpv git-a0f7fa4 (C) 2000-2013 mpv/MPlayer/mplayer2 projects
$ equery l libass
[IP-] [  ] media-libs/libass-0.10.1:0
$ equery l wayland
[I-O] [  ] dev-libs/wayland-1.2.0:0

Nikoli avatar Jul 16 '13 13:07 Nikoli

Problem exists only when playing fullscreen.

Nikoli avatar Jul 16 '13 13:07 Nikoli

Wait, not only osd is wrong, only part of frame is displayed!

Nikoli avatar Jul 16 '13 13:07 Nikoli

Yup, can confirm it too in X11 with an output the same aspect ration as the video. EDIT: If I change just one pixel in the X11 output it works like expected.

giselher avatar Jul 16 '13 14:07 giselher

fixed in dc142991f12c379282d6c52e6d98333765767c3c

giselher avatar Jul 16 '13 15:07 giselher

Now i can not watch 4:3 videos at 16:9 display: it is cropped.

Nikoli avatar Jul 16 '13 15:07 Nikoli

Now i can not watch 4:3 videos at 16:9 display: it is cropped.

fixed in 6230e0b896f2f022a83f034e401d18c259f22012

giselher avatar Jul 16 '13 18:07 giselher