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.
This commit is contained in:
Tim-Philipp Müller 2012-11-07 11:32:50 +00:00
parent 377c806685
commit 16350b7d66

View file

@ -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",