gamma: remove duplicate entries at format at caps

Avoids extra caps/structures processing
This commit is contained in:
Andre Moreira Magalhaes (andrunko) 2012-09-27 15:50:49 -03:00 committed by Thiago Santos
parent dbe941338d
commit 25803d651b

View file

@ -74,7 +74,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE ("{ AYUV, "
"ARGB, BGRA, ABGR, RGBA, ABGR, RGBA, Y444, "
"ARGB, BGRA, ABGR, RGBA, Y444, "
"xRGB, RGBx, xBGR, BGRx, RGB, BGR, Y42B, NV12, "
"NV21, YUY2, UYVY, YVYU, I420, YV12, IYUV, Y41B }"))
);
@ -84,7 +84,7 @@ GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE ("{ AYUV, "
"ARGB, BGRA, ABGR, RGBA, ABGR, RGBA, Y444, "
"ARGB, BGRA, ABGR, RGBA, Y444, "
"xRGB, RGBx, xBGR, BGRx, RGB, BGR, Y42B, NV12, "
"NV21, YUY2, UYVY, YVYU, I420, YV12, IYUV, Y41B }"))
);