Starting program: /home/alex/work/playground/v4l2test 
[Thread debugging using libthread_db enabled]
0:00:00.039884885  9600  0x804b008 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:401:gst_element_factory_create: creating element "pipeline" named "camera"
0:00:00.064778621  9600  0x804b008 INFO      GST_PLUGIN_LOADING gstplugin.c:660:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstvideo4linux2.so" loaded
0:00:00.064810259  9600  0x804b008 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:403:gst_element_factory_create: creating element "v4l2src"
0:00:00.065272120  9600  0x804b008 INFO        GST_ELEMENT_PADS gstelement.c:727:gst_element_add_pad:<GstBaseSrc@0x817e000> adding pad 'src'
Running...
0:00:00.082197805  9600  0x804b008 INFO                    v4l2 v4l2_calls.c:475:gst_v4l2_open:<v4l2src0> Opened device 'Lenovo EasyCamera' (/dev/video0) successfully
0:00:00.082315977  9600  0x804b008 INFO              GST_STATES gstelement.c:2238:gst_element_continue_state:<v4l2src0> completed state change to READY
0:00:00.082348034  9600  0x804b008 INFO              GST_STATES gstelement.c:2251:gst_element_continue_state:<v4l2src0> posting state-changed NULL to READY
0:00:00.082408167  9600  0x804b008 INFO              GST_STATES gstbin.c:2425:gst_bin_change_state_func:<camera> child 'v4l2src0' changed state to 2(READY) successfully
0:00:00.082447698  9600  0x804b008 INFO              GST_STATES gstelement.c:2211:gst_element_continue_state:<camera> committing state from NULL to READY, pending PLAYING, next PAUSED
0:00:00.082483037  9600  0x804b008 INFO              GST_STATES gstelement.c:2220:gst_element_continue_state:<camera> continue state change READY to PAUSED, final PLAYING
0:00:00.083671037  9600  0x804b008 INFO                 v4l2src gstv4l2src.c:587:gst_v4l2src_get_caps:<v4l2src0> probed caps: video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, endianness=(int)4321, width=(int)1280, height=(int)800, framerate=(fraction){ 15/1, 7/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, endianness=(int)4321, width=(int)640, height=(int)480, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, endianness=(int)4321, width=(int)352, height=(int)288, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, endianness=(int)4321, width=(int)320, height=(int)240, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, endianness=(int)4321, width=(int)176, height=(int)144, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, endianness=(int)4321, width=(int)160, height=(int)120, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, endianness=(int)4321, width=(int)1280, height=(int)800, framerate=(fraction){ 15/1, 7/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, endianness=(int)4321, width=(int)640, height=(int)480, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, endianness=(int)4321, width=(int)352, height=(int)288, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, endianness=(int)4321, width=(int)320, height=(int)240, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, endianness=(int)4321, width=(int)176, height=(int)144, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, endianness=(int)4321, width=(int)160, height=(int)120, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-yuv, format=(fourcc)YV12, width=(int)1280, height=(int)800, framerate=(fraction){ 15/1, 7/1 }; video/x-raw-yuv, format=(fourcc)YV12, width=(int)640, height=(int)480, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-yuv, format=(fourcc)YV12, width=(int)352, height=(int)288, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-yuv, format=(fourcc)YV12, width=(int)320, height=(int)240, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-yuv, format=(fourcc)YV12, width=(int)176, height=(int)144, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-yuv, format=(fourcc)YV12, width=(int)160, height=(int)120, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-yuv, format=(fourcc)I420, width=(int)1280, height=(int)800, framerate=(fraction){ 15/1, 7/1 }; video/x-raw-yuv, format=(fourcc)I420, width=(int)640, height=(int)480, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-yuv, format=(fourcc)I420, width=(int)352, height=(int)288, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-yuv, format=(fourcc)I420, width=(int)176, height=(int)144, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-yuv, format=(fourcc)I420, width=(int)160, height=(int)120, framerate=(fraction){ 30/1, 15/1, 10/1 }; image/jpeg, width=(int)1280, height=(int)800, framerate=(fraction){ 15/1, 7/1 }; image/jpeg, width=(int)640, height=(int)480, framerate=(fraction){ 30/1, 15/1, 10/1 }; image/jpeg, width=(int)352, height=(int)288, framerate=(fraction){ 30/1, 15/1, 10/1 }; image/jpeg, width=(int)320, height=(int)240, framerate=(fraction){ 30/1, 15/1, 10/1 }; image/jpeg, width=(int)176, height=(int)144, framerate=(fraction){ 30/1, 15/1, 10/1 }; image/jpeg, width=(int)160, height=(int)120, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-yuv, format=(fourcc)YUY2, width=(int)1280, height=(int)800, framerate=(fraction){ 7/1 }; video/x-raw-yuv, format=(fourcc)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-yuv, format=(fourcc)YUY2, width=(int)352, height=(int)288, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-yuv, format=(fourcc)YUY2, width=(int)320, height=(int)240, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-yuv, format=(fourcc)YUY2, width=(int)176, height=(int)144, framerate=(fraction){ 30/1, 15/1, 10/1 }; video/x-raw-yuv, format=(fourcc)YUY2, width=(int)160, height=(int)120, framerate=(fraction){ 30/1, 15/1, 10/1 }
libv4l2: error setting pixformat: Device or resource busy
0:00:00.100759104  9600  0x804b008 WARN                    v4l2 gstv4l2object.c:1920:gst_v4l2_object_set_format:<v4l2src0> error: Device '/dev/video0' cannot capture at 1280x800
0:00:00.100790533  9600  0x804b008 WARN                    v4l2 gstv4l2object.c:1920:gst_v4l2_object_set_format:<v4l2src0> error: Call to S_FMT failed for BGR3 @ 1280x800: Device or resource busy
0:00:00.100826222  9600  0x804b008 INFO        GST_ERROR_SYSTEM gstelement.c:1763:gst_element_message_full:<v4l2src0> posting message: Device '/dev/video0' cannot capture at 1280x800
0:00:00.100859815  9600  0x804b008 INFO        GST_ERROR_SYSTEM gstelement.c:1786:gst_element_message_full:<v4l2src0> posted error message: Device '/dev/video0' cannot capture at 1280x800
0:00:00.100896133  9600  0x804b008 INFO               GST_EVENT gstevent.c:597:gst_event_new_new_segment_full: creating newsegment update 0, rate 1.000000, format GST_FORMAT_TIME, start 0:00:00.000000000, stop 99:99:99.999999999, position 0:00:00.000000000
[New Thread 0xb7e7cb70 (LWP 9603)]
0:00:00.101671999  9600  0x804b008 INFO              GST_STATES gstelement.c:2238:gst_element_continue_state:<v4l2src0> completed state change to PAUSED
0:00:00.101727314  9600  0x804b008 INFO              GST_STATES gstelement.c:2251:gst_element_continue_state:<v4l2src0> posting state-changed READY to PAUSED
0:00:00.101752945  9600  0x804b008 INFO              GST_STATES gstbin.c:2464:gst_bin_change_state_func:<camera> child 'v4l2src0' changed state to 3(PAUSED) successfully without preroll
0:00:00.101775714  9600  0x804b008 INFO              GST_STATES gstelement.c:2211:gst_element_continue_state:<camera> committing state from READY to PAUSED, pending PLAYING, next PLAYING
0:00:00.101795269  9600  0x804b008 INFO              GST_STATES gstelement.c:2220:gst_element_continue_state:<camera> continue state change PAUSED to PLAYING, final PLAYING
0:00:00.101896958  9600  0x804b008 INFO               GST_EVENT gstevent.c:1065:gst_event_new_latency: creating latency event 0:00:00.000000000
0:00:00.101921053  9600  0x804b008 INFO                     bin gstbin.c:2301:gst_bin_do_latency_func:<camera> configured latency of 0:00:00.000000000
0:00:00.101951295  9600  0x804b008 INFO              GST_STATES gstelement.c:2238:gst_element_continue_state:<v4l2src0> completed state change to PLAYING
0:00:00.101967498  9600  0x804b008 INFO              GST_STATES gstelement.c:2251:gst_element_continue_state:<v4l2src0> posting state-changed PAUSED to PLAYING
0:00:00.101987053  9600  0x804b008 INFO              GST_STATES gstbin.c:2425:gst_bin_change_state_func:<camera> child 'v4l2src0' changed state to 4(PLAYING) successfully
0:00:00.102004863  9600  0x804b008 INFO              GST_STATES gstelement.c:2238:gst_element_continue_state:<camera> completed state change to PLAYING
0:00:00.102019180  9600  0x804b008 INFO              GST_STATES gstelement.c:2251:gst_element_continue_state:<camera> posting state-changed PAUSED to PLAYING

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7e7cb70 (LWP 9603)]
