I'm trying to set the "pattern" for my videotestsrc:
#include <gst/gst.h>
GstElement *pipeline, *source, *sink;
...
source = gst_element_factory_make("videotestsrc", "source");
g_object_set(source, "pattern", GST_VIDEO_TEST_SRC_BALL, NULL);
Compiling, I get:
error: ‘GST_VIDEO_TEST_SRC_BALL’ undeclared (first use in this function)
What header do I need to include to have a declaration for the GstVideoTestSrcPattern enum? I've grepped around a bit and can't find it.