> On Jan. 18, 2011, 6:03 p.m., Frank Schaefer wrote:
> > trunk/KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo/webcamtask.cpp, lines 
> > 23-24
> > <http://svn.reviewboard.kde.org/r/6312/diff/3/?file=44236#file44236line23>
> >
> >     #ifdef HAVE_JASPER
> >         #include "webcamimgformat.h"
> >     #endif

I thought I already said my opinion about leaving the webcamimgformat.h + .cpp 
in there but change only the function implementation. Please see my comment 
from Jan 10.

Also, why would I still add the #ifdef HAVE_JASPER if we made it mandatory?
Waiting for feedback on both things.


> On Jan. 18, 2011, 6:03 p.m., Frank Schaefer wrote:
> > trunk/KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo/webcamtask.cpp, line 
> > 486
> > <http://svn.reviewboard.kde.org/r/6312/diff/3/?file=44236#file44236line486>
> >
> >     Keep and modify the debug statement for the case of failing image 
> > conversion.

hm. mkay. I changed a bit around. although, on error - more clear error 
messages are already dumped by the WebcamImgFormat code.


> On Jan. 18, 2011, 6:03 p.m., Frank Schaefer wrote:
> > trunk/KDE/kdenetwork/kopete/protocols/yahoo/yahoocontact.cpp, lines 632-638
> > <http://svn.reviewboard.kde.org/r/6312/diff/3/?file=44237#file44237line632>
> >
> >     Keep the return path, if libjasper is not present.

Please tell me the reason to do that since you made me mark jasper as 
mandatory. 
I would have understand to put a message in there (it crossed my mind) if I 
would have left, as I really wanted and wrote the code, the logic of the JasPer 
library being mandatory or not, ONLY in CMakeLists.txt.


> On Jan. 18, 2011, 6:03 p.m., Frank Schaefer wrote:
> > trunk/KDE/kdenetwork/kopete/protocols/yahoo/yahoowebcam.cpp, lines 29-30
> > <http://svn.reviewboard.kde.org/r/6312/diff/3/?file=44239#file44239line29>
> >
> >     #ifdef HAVE_JASPER
> >         #include "webcamimgformat.h"
> >     #endif

same question from me as somewhere else...


> On Jan. 18, 2011, 6:03 p.m., Frank Schaefer wrote:
> > trunk/KDE/kdenetwork/kopete/protocols/yahoo/yahoocontact.cpp, lines 685-694
> > <http://svn.reviewboard.kde.org/r/6312/diff/3/?file=44237#file44237line685>
> >
> >     Please change this part, too.

please see comment for the message on sending images.

UPDATE: well, in here, I remember one thought - we actually still have to do a 
bit of altering - but not based on Jasper library presence  but on that 
VIDEO_DEVICE (of course, with some other text in there, like "sorry, on this 
platform there is no video device support so you can not send webcam image".


- Cristi


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/6312/#review9645
-----------------------------------------------------------


On Jan. 15, 2011, 11:13 a.m., Cristi P wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/6312/
> -----------------------------------------------------------
> 
> (Updated Jan. 15, 2011, 11:13 a.m.)
> 
> 
> Review request for Kopete.
> 
> 
> Summary
> -------
> 
> I saw that for yahoo - webcam images are converted by running an external 
> program. Personally I am not ok with this since running an external program 
> every 0.X seconds is a bit expensive. Also, not to mention using disk files 
> (at least pushing directly into the program and reading its output would have 
> been better).
> Also - I saw that inviteWebcam action was checking for presence of jasper 
> program - but requestWebcam should also have done that. Not to mention that 
> if a yahoo contact just invites you to see his cam, you might get a feedback 
> of missing program after accepting to invitation. Not necessarily a big deal, 
> though.
> 
> Note that this will mean that having jasper lib at compile time will get to 
> be mandatory - and needs to also be added as dependency by package managers.
> 
> 
> Diffs
> -----
> 
>   trunk/KDE/kdenetwork/kopete/CMakeLists.txt 1214536 
>   trunk/KDE/kdenetwork/kopete/config-kopete.h.cmake 1214536 
>   trunk/KDE/kdenetwork/kopete/protocols/yahoo/CMakeLists.txt 1214536 
>   trunk/KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo/CMakeLists.txt 
> 1214536 
>   trunk/KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo/webcamimgformat.h 
> PRE-CREATION 
>   trunk/KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo/webcamimgformat.cpp 
> PRE-CREATION 
>   trunk/KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo/webcamtask.cpp 
> 1214536 
>   trunk/KDE/kdenetwork/kopete/protocols/yahoo/yahoocontact.cpp 1214536 
>   trunk/KDE/kdenetwork/kopete/protocols/yahoo/yahoowebcam.h 1214536 
>   trunk/KDE/kdenetwork/kopete/protocols/yahoo/yahoowebcam.cpp 1214536 
> 
> Diff: http://svn.reviewboard.kde.org/r/6312/diff
> 
> 
> Testing
> -------
> 
> compiled and ran it. Communicating with another linux kopete. Tried both 
> directions of seeing the cam.
> 
> 
> Thanks,
> 
> Cristi
> 
>

_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to