[MPlayer-dev-eng] [PATCH] Fix returned capabilities in

Arpi arpi at thot.banki.hu
Sun Jan 19 16:26:27 CET 2003


Hi,

> vo_jpeg is returning wrong capabilities in query_format(). This patch 
> should fix it, and will allow you to get, for example, subtitles in 
> .jpeg output.
-vop expand allows yo to render osd with any vo

> I believe RGB24 shall return VCAP_CSP_SUPPORTED_BY_HW, am I right here ?
yes

> -        return 1;
> +        return VFCAP_CSP_SUPPORTED|VFCAP_OSD|VFCAP_ACCEPT_STRIDE;

but only rgb24 supports osd (see daw_alpha()) and none of the rgb/bgr
formats supports stride (see draw_slice(), it's yv12 only!)


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu


More information about the MPlayer-dev-eng mailing list