set caps in C problem

Forzaferrarileo leonardo.ferroro at
Sun Dec 28 04:37:55 PST 2014

Ty , but now i have another problem :

GStreamer-WARNING **: Trying to connect elements that don't share a common
ancestor: source and caps

  source = gst_element_factory_make ("videotestsrc", "source");
  capsfilter = gst_element_factory_make("capsfilter", "caps");
  convert = gst_element_factory_make ("videoconvert", "convert");
  sink = gst_element_factory_make ("autovideosink","sink");

 g_object_set(capsfilter, "caps", gst_caps_new_simple("video/x-raw",
		"width", G_TYPE_INT, 1280,
		"height", G_TYPE_INT, 720, NULL), NULL);

  pipeline = gst_pipeline_new ("test-pipeline");

  gst_bin_add_many (GST_BIN (pipeline), source, convert, sink, NULL);

View this message in context:
Sent from the GStreamer-devel mailing list archive at

More information about the gstreamer-devel mailing list