Re: [Ekiga-devel-list] pwlib -- vidinput_v4l2: DWBUF bug



Hi,


I will apply it tonight, thanks !

Le lundi 07 mai 2007 �4:08 +0200, Jiri Slaby a �it :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> maybe better than irc channel is direct e-mail with patch. Consider it for
> inclusion in pwlib:
> 
> - --- pwlib/plugins/vidinput_v4l2/vidinput_v4l2.cxx	2007-05-07 14:04:41.000000000
> +0200
> +++ pwlib/plugins/vidinput_v4l2/vidinput_v4l2.cxx	2007-05-07 14:05:01.000000000
> +0200
> @@ -756,7 +756,7 @@
>      return FALSE;
>    }
> 
> - -  currentvideoBuffer = (currentvideoBuffer+1) % NUM_VIDBUF;
> +  currentvideoBuffer = (currentvideoBuffer+1) % videoBufferCount;
> 
>    // If converting on the fly do it from frame store to output buffer,
>    // otherwise do straight copy.
> 
> 
> Without this patch, pwlib infinitely loops when trying to get invalid buffer.
> 
> regards,
> - --
> http://www.fi.muni.cz/~xslaby/            Jiri Slaby
> faculty of informatics, masaryk university, brno, cz
> e-mail: jirislaby gmail com, gpg pubkey fingerprint:
> B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGPxbDMsxVwznUen4RAqanAJ4hRBPSuIpDOjTsyDRSuBVXda03wACeLOxz
> mwZuSUzHMEIi2ivy9T4gQWE=
> =jHEF
> -----END PGP SIGNATURE-----
> _______________________________________________
> Ekiga-devel-list mailing list
> Ekiga-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
-- 
 _     Damien Sandras
(o-      
//\    Ekiga Softphone : http://www.ekiga.org/
v_/_   NOVACOM         : http://www.novacom.be/
       FOSDEM          : http://www.fosdem.org/
       SIP Phone       : sip:dsandras ekiga net
                       




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