mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
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:
parent
377c806685
commit
16350b7d66
1 changed files with 5 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue