#ifdef V4L2_PIX_FMT_H264
{V4L2_PIX_FMT_H264, TRUE, GST_V4L2_CODEC},
#endif
+#ifdef V4L2_PIX_FMT_VP8
+ {V4L2_PIX_FMT_VP8, TRUE, GST_V4L2_CODEC},
+#endif
/* Vendor-specific formats */
{V4L2_PIX_FMT_WNVA, TRUE, GST_V4L2_CODEC},
G_TYPE_STRING, "au", NULL);
break;
#endif
+#ifdef V4L2_PIX_FMT_VP8
+ case V4L2_PIX_FMT_VP8:
+ structure = gst_structure_new_empty ("video/x-vp8");
+ break;
+#endif
case V4L2_PIX_FMT_RGB332:
case V4L2_PIX_FMT_RGB555X:
case V4L2_PIX_FMT_RGB565X:
} else if (g_str_equal (mimetype, "video/x-h264")) {
fourcc = V4L2_PIX_FMT_H264;
#endif
+#ifdef V4L2_PIX_FMT_VP8
+ } else if (g_str_equal (mimetype, "video/x-vp8")) {
+ fourcc = V4L2_PIX_FMT_VP8;
+#endif
#ifdef V4L2_PIX_FMT_SBGGR8
} else if (g_str_equal (mimetype, "video/x-bayer")) {
fourcc = V4L2_PIX_FMT_SBGGR8;