Aurelien,
to avoid segfault this should be:
static void msv4l2_uninit(MSFilter *f){
V4l2State *s=(V4l2State*)f->data;
ms_free(s->dev);
+#ifdef V4L2_THREADED
+ ms_mutex_destroy(&s->mutex);
+#endif
ms_free(s);
}
Thanks
Vadim
On 06/23/2010 03:00 PM, Aurelien Bouin wrote:
Hi,
Attached is a patch that permits when define V4L2_THREADED to get the frames from your webcam into a thread, it permits to avoid to consume CPU time waiting frames when your webcam is slow...
Thank you,
Aurélien BOUIN
_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers
|