Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Debian Arch-Any Desktop-Any GUI-Any Usability Maintainability
New issue 463 by mckayger...@gmail.com: v4l webcam remains idle when close program, and can be used http://code.google.com/p/gambas/issues/detail?id=463 1) Describe the problem. i have strange behavior with v4l webcam i have a subprocess, but in some cases, if program close, webcam are still "opened" so then when reopen my program i cannot use again webcam due are "busy" 2) INFORMATIONS (if they are appropriate): Version: 3.4.0 + (patched with bugfixed from 3.4.2) Operating system: Linux Distribution: Debian/VenenuX Architecture: x86 GUI component: QT4/GTK+ Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. Not necesary, use this code: Public hWebCam Public sub useWebCam() Try hWebCam = New VideoDevice(FMain.datos.getCamaraDev()) If Error Then Print "Error accediendo al dispositivo: " & Error.Text Endif End If close and reopen my program, output said that webcam are busy: gb.v4l: v4l2: Device is V4L2!: No existe el fichero o el directorio gb.v4l: v4l2: cropping not supported: Argumento inválido gb.v4l: v4l2: VIDIOC_S_FMT, can't set YUYV, trying YUV 420: Dispositivo o recurso ocupado gb.v4l: v4l2: VIDIOC_S_FMT, can't set YUV420, defaulting : Dispositivo o recurso ocupado gb.v4l: v4l2: mmap not supported or error: Dispositivo o recurso ocupado gb.v4l: v4l2: VIDIOC_STREAMOFF error: Descriptor de fichero erróneo gb.v4l: v4l2: error closing device: Descriptor de fichero erróneo 5) Explain clearly how to reproduce the bug or the crash. use the example Mywebcam from ide, and made the usage of webcam directly, then close and reopen program, output are same as above -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user