When I changed the driver to: #define VIDEO_SRC "videotestsrc"
I got this error:
Code:
[sbox-FREMANTLE_X86: ~/examples/maemo-examples] > run-standalone.sh ./example_camera
OIL: ERROR liboiltest.c 405: oil_test_check_impl(): function mas10_u8_mmx_2 in class mas10_u8_l15 failed check (9034 > 0) || (outside=0)
example_camera[13526]: GLIB WARNING ** default - GST error: Internal data flow error., gstbasesrc.c(2378): gst_base_src_loop (): /GstPipeline:test-camera/GstVideoTestSrc:camera_src:
streaming task paused, reason not-linked (-1)
My video driver is basically this one: #define VIDEO_SRC "v4l2" (tested on mplayer outside scratchbox) when I use this in example_camera the error message in emulator is again : "Failed to initialize pipeline" and program doesn't terminate, the xterm shows:
Code:
[sbox-FREMANTLE_X86: ~/examples/maemo-examples] > run-standalone.sh ./example_camera
example_camera[13671]: GLIB CRITICAL ** default - Couldn't create pipeline elements
and the camera LED is still offline in laptop.