mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-02 16:52:42 +00:00
videoscale: remove formats Y800 and Y16 which no longer exist from template caps
Should help with the unit test, which has been failing.
This commit is contained in:
parent
a1d2abbde6
commit
e29098f8f0
1 changed files with 4 additions and 3 deletions
|
@ -112,10 +112,11 @@ enum
|
||||||
#undef GST_VIDEO_SIZE_RANGE
|
#undef GST_VIDEO_SIZE_RANGE
|
||||||
#define GST_VIDEO_SIZE_RANGE "(int) [ 1, 32767]"
|
#define GST_VIDEO_SIZE_RANGE "(int) [ 1, 32767]"
|
||||||
|
|
||||||
|
/* FIXME: if we can do NV12, NV21 shouldn't be so hard */
|
||||||
#define GST_VIDEO_FORMATS "{ I420, YV12, YUY2, UYVY, AYUV, RGBx, " \
|
#define GST_VIDEO_FORMATS "{ I420, YV12, YUY2, UYVY, AYUV, RGBx, " \
|
||||||
"BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, " \
|
"BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, " \
|
||||||
"BGR, Y41B, Y42B, YVYU, Y444, GRAY8, GRAY16_BE, GRAY16_LE, " \
|
"BGR, Y41B, Y42B, YVYU, Y444, GRAY8, GRAY16_BE, GRAY16_LE, " \
|
||||||
"v308, Y800, Y16, RGB16, RGB15, ARGB64, AYUV64, NV12 } "
|
"v308, RGB16, RGB15, ARGB64, AYUV64, NV12 } "
|
||||||
|
|
||||||
|
|
||||||
static GstStaticCaps gst_video_scale_format_caps =
|
static GstStaticCaps gst_video_scale_format_caps =
|
||||||
|
@ -398,8 +399,8 @@ get_formats_filter (GstVideoScaleMethod method)
|
||||||
GST_STATIC_CAPS ("video/x-raw,"
|
GST_STATIC_CAPS ("video/x-raw,"
|
||||||
"format = (string) { RGBx, xRGB, BGRx, xBGR, RGBA, "
|
"format = (string) { RGBx, xRGB, BGRx, xBGR, RGBA, "
|
||||||
"ARGB, BGRA, ABGR, AYUV, ARGB64, AYUV64, "
|
"ARGB, BGRA, ABGR, AYUV, ARGB64, AYUV64, "
|
||||||
"RGB, BGR, v308, YUY2, YVYU, UYVY, Y800, "
|
"RGB, BGR, v308, YUY2, YVYU, UYVY, "
|
||||||
"GRAY8, GRAY16_LE, GRAY16_BE, Y16, I420, YV12, "
|
"GRAY8, GRAY16_LE, GRAY16_BE, I420, YV12, "
|
||||||
"Y444, Y42B, Y41B, RGB16, RGB15 }");
|
"Y444, Y42B, Y41B, RGB16, RGB15 }");
|
||||||
return gst_static_caps_get (&fourtap_filter);
|
return gst_static_caps_get (&fourtap_filter);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue