Hi,

This patch fixes rendering of subpictures. There were two problems: (i) coords were scaled up too much, (ii) scale factor was not using the real visible surface size. You can check before/after conditions as follows:

$ ./vaapi_h264 --genimage rgb-rects --putimage blend --putimage-size 640x480
  The subpicture shall touch the window bounds

$ mplayer -vo vaapi -va vaapi -fs /path/to/some/1080p/video
  Press 'o' (lower-case oh) to show OSD. The text was oversized.

Regards,
Gwenole.

Attachment: 0001-Fix-rendering-of-subpictures.patch
Description: Binary data


_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to