From 16350b7d66d825069f816208387bec690129c5a7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 7 Nov 2012 11:32:50 +0000 Subject: [PATCH] textoverlay: don't advertise 10-16-bit formats we can't blend text onto yet We can't blend stuff on top of video formats that unpack into ARGB64 or AYUV64 yet, so don't advertise them in our template caps. --- ext/pango/gstbasetextoverlay.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ext/pango/gstbasetextoverlay.c b/ext/pango/gstbasetextoverlay.c index 3892709..e5c737c 100644 --- a/ext/pango/gstbasetextoverlay.c +++ b/ext/pango/gstbasetextoverlay.c @@ -189,9 +189,12 @@ enum PROP_LAST }; +/* FIXME: video-blend.c doesn't support formats with more than 8 bit per + * component (which get unpacked into ARGB64 or AYUV64) yet, such as: + * v210, v216, UYVP, GRAY16_LE, GRAY16_BE */ #define VIDEO_FORMATS "{ BGRx, RGBx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, \ - I420, YV12, AYUV, YUY2, UYVY, v308, v210, v216, Y41B, Y42B, Y444, \ - NV12, NV21, UYVP, A420, YUV9, IYU1, GRAY8, GRAY16_LE, GRAY16_BE }" + I420, YV12, AYUV, YUY2, UYVY, v308, Y41B, Y42B, Y444, \ + NV12, NV21, A420, YUV9, IYU1, GRAY8 }" static GstStaticPadTemplate src_template_factory = GST_STATIC_PAD_TEMPLATE ("src", -- 2.7.4