The pipeline initialisation fails in Maemo 5 Camera Example. It fails at the point where caps is linked with the camera source. If I change the caps to "video/x-raw-yuv" instead of "video/x-raw-rgb" it works, however I am using the same source as an image sink to take pictures and need it in rgb format.

Any suggestions how why?

The code:
static gboolean initialize_pipeline(AppData *appdata,
int *argc, char ***argv)


/* Specify what kind of video is wanted from the camera */
caps = gst_caps_new_simple("video/x-raw-rgb",
"width", G_TYPE_INT, 640,
"height", G_TYPE_INT, 480,

/* Link the camera source and colorspace filter using capabilities
* specified */
if(!gst_element_link_filtered(camera_src, csp_filter, caps))

return FALSE;



Thanks, Klen