[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] mediastreamer2 patch > msv4l2 in a thread

From: Aurelien Bouin
Subject: Re: [Linphone-developers] mediastreamer2 patch > msv4l2 in a thread
Date: Wed, 30 Jun 2010 17:19:02 +0000 (GMT)

Hi vadim,
Such a long time I haven't heard about you, hope everything is going well for you ...
Yeah I miss the destroy, I will probably improve the threaded way because grab pics take some CPU not really usefull since a picture is actually taken every 10ms . . . later I will propose a new patch...
Thank you vadim,


--- En date de : Mer 30.6.10, Vadim Lebedev <address@hidden> a écrit :

De: Vadim Lebedev <address@hidden>
Objet: Re: [Linphone-developers] mediastreamer2 patch > msv4l2 in a thread
À: address@hidden
Date: Mercredi 30 juin 2010, 17h44

to avoid segfault this  should be:
 static void msv4l2_uninit(MSFilter *f){
 	V4l2State *s=(V4l2State*)f->data;
+#ifdef V4L2_THREADED
+	ms_mutex_destroy(&s->mutex);	


On 06/23/2010 03:00 PM, Aurelien Bouin wrote:
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

-----La pièce jointe associée suit-----

Linphone-developers mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]