Ooops I was working on porting my webcam driver to V4L2 :s
I go immediately to IRC...
Phil

Le Sunday 11 June 2006 18:39, Max a écrit :
> Well, i think phil already started fixing it... He made me do some stuff
> with the webcam and give him the output but he ran out of time and i
> haven't seen him since on irc.
>
> Here is the webcam debug output when i open the v4l1 channel of my pwc
> webcam in the amsn prefs : http://verzier.info/pub/amsn-pwc-v4l1-output
>
> (strange thing is that is talks about v4l2 whereas i clicked v4l... Phil
> was looking embarassed but as he left right after that, i don't know what i
> might need.)
>
> So phil or anyone else, whenever you got the time, just ask me on irc and i
> would be more then pleased to be the cobaye to solve that problem.
>
> On 6/11/06, Vivia Nikolaidou <[EMAIL PROTECTED]> wrote:
> > On Sun, 11 Jun 2006, Max wrote:
> > > I see at least one thing missing (imho) in the TODO-list and it is a
> > > bug fix for the pwc webcam's drivers. It was working perfectly before
> > > but it stopped working after 6511 (i checked). (i'am talking about the
> > > "not released webcam").
> >
> > Thanx!! :)
> >
> > (BTW, bugfixes can be made between 2 RC releases)
> >
> > Here's the diff - hope you (or someone else) can find a fix for that:
> >
> > --- utils/linux/capture/capture.c       (revision 6510)
> > +++ utils/linux/capture/capture.c       (revision 6511)
> > @@ -480,6 +480,8 @@
> >      captureItem->rgb_buffer = ng_malloc_video_buf(&captureItem->dev,
> > &captureItem->fmt);
> >    }
> >
> > +  captureItem->dev.v->startvideo(captureItem->dev.handle, 25, 1);
> > +
> >    Tcl_SetObjResult(interp,
> > Tcl_NewStringObj(captureItem->captureName,-1));
> >
> >    return TCL_OK;
> > @@ -506,6 +508,8 @@
> >      return TCL_ERROR;
> >    }
> >
> > +  capItem->dev.v->stopvideo(capItem->handle);
> > +
> >    // If a converter was used, close it and release the rgb_buffer
> >    if (capItem->handle) {
> >      ng_process_fini(capItem->handle);
> > @@ -607,7 +611,7 @@
> >    // - High resolution
> >    // - Low resolution
> >    for (dim_idx = resolution;;) {
> > -    if ((capItem->image_data =
> > capItem->dev.v->getimage(capItem->dev.handle)) == NULL) {
> > +    if ((capItem->image_data =
> > capItem->dev.v->nextframe(capItem->dev.handle)) == NULL) {
> > #   ifdef DEBUG
> >        fprintf(stderr,"Capturing image failed at %d, %d\n", fmt.width,
> > fmt.height);
> > #   endif
> >
> >
> > _______________________________________________
> > Amsn-devel mailing list
> > Amsn-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/amsn-devel


_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to