View Single Post
Posts: 38 | Thanked: 2 times | Joined on Apr 2010 @ Novosibirsk, Russia
#1
At the beginning of the day this code worked:
Code:
   gst_element_set_state (pipeline, GST_STATE_PAUSED);
    gst_photography_set_autofocus(GST_PHOTOGRAPHY(camera_src), true);
    gst_element_set_state (pipeline, GST_STATE_PLAYING);
And now at call point 'gst_photography_set_autofocus' is segmentation fault!
camera_src are created like this:
camera_src = gst_element_factory_make("v4l2camsrc", "camera_src");

UPDATE:
Problem solved by replacing camera_src paramenter by pointer to pipeline...

New segmentation fault:

Compiled app download to device. Direct from device run app and at point in Qt Widget constructor on line 'setLayout(mainLayout);' is segmentation fault.
But when run over sbrsh all is fine and app is running.

Pipeline is correct and playing successful.

I`m very sad that maemo 5 is so unstable and have so much problems...

Last edited by Grinchman; 2010-05-05 at 09:56.