[777/906] upload: overhaul and addition of new video formats

use the shaders from eglglessink (adapted for Desktop GL)
error out properly
This commit is contained in:
Matthew Waters 2013-07-18 19:17:18 +10:00 committed by Tim-Philipp Müller
parent 0df6a5e963
commit d009a216e6
2 changed files with 698 additions and 943 deletions

File diff suppressed because it is too large Load diff

View file

@ -93,7 +93,8 @@ struct _GstGLUploadClass
* The currently supported formats that can be uploaded
*/
#define GST_GL_UPLOAD_FORMATS "{ RGB, RGBx, RGBA, BGR, BGRx, BGRA, xRGB, " \
"xBGR, ARGB, ABGR, I420, YV12, YUY2, UYVY, AYUV }"
"xBGR, ARGB, ABGR, Y444, I420, YV12, Y42B, " \
"Y41B, NV12, NV21, YUY2, UYVY, AYUV }"
/**
* GST_GL_UPLOAD_VIDEO_CAPS: