Update of /cvsroot/artoolkit/artoolkit/lib/SRC/VideoGStreamer
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv12725/lib/SRC/VideoGStreamer
Modified Files:
video.c
Log Message:
Fixed bug in GStreamer video capture. Using GST_STATE_PAUSED instead of
GST_STATE_NULL for stopping the stream.
Removed hard coded video configuration for GStreamer in calib_camera2 -
instead using ARTOOLKIT_CONFIG environment variable.
Index: video.c
===================================================================
RCS file: /cvsroot/artoolkit/artoolkit/lib/SRC/VideoGStreamer/video.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** video.c 21 Feb 2007 03:20:07 -0000 1.9
--- video.c 22 Feb 2007 21:53:12 -0000 1.10
***************
*** 371,375 ****
ar2VideoCapStop(AR2VideoParamT *vid) {
/* stop pipeline */
! return gst_element_set_state (vid->pipeline, GST_STATE_NULL);
}
--- 371,375 ----
ar2VideoCapStop(AR2VideoParamT *vid) {
/* stop pipeline */
! return gst_element_set_state (vid->pipeline, GST_STATE_PAUSED);
}
|