niimaq: use video lib caps
This commit is contained in:
parent
af6cdbd8f1
commit
7a904c8f5d
@ -69,19 +69,8 @@ enum
|
|||||||
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
|
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("video/x-raw-gray, "
|
GST_STATIC_CAPS (GST_VIDEO_CAPS_GRAY8 ";"
|
||||||
"bpp = (int) 8, "
|
GST_VIDEO_CAPS_GRAY16 ("LITTLE_ENDIAN"))
|
||||||
"depth = (int) 8, "
|
|
||||||
"width = (int) [ 1, max ], "
|
|
||||||
"height = (int) [ 1, max ], "
|
|
||||||
"framerate = (fraction) [ 0, max ]"
|
|
||||||
";"
|
|
||||||
"video/x-raw-gray, "
|
|
||||||
"bpp = (int) {10, 12, 14, 16}, "
|
|
||||||
"depth = (int) 16, "
|
|
||||||
"endianness = (int) LITTLE_ENDIAN, "
|
|
||||||
"width = (int) [ 1, max ], "
|
|
||||||
"height = (int) [ 1, max ], " "framerate = (fraction) [ 0, max ]")
|
|
||||||
);
|
);
|
||||||
|
|
||||||
static void gst_niimaqsrc_init_interfaces (GType type);
|
static void gst_niimaqsrc_init_interfaces (GType type);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user