Certain video applications using =media-libs/libjpeg-turbo-1.3.1 are broken with some webcams due to a bug in libjpeg-turbo. For background please see the following thread about Google Hangouts displaying a green background on Chromium: https://code.google.com/p/chromium/issues/detail?id=399939 The issue was root caused to be in libjpeg-turbo, and apparently already fixed in libjpeg-turbo svn trunk (after 1.3.1): http://sourceforge.net/p/libjpeg-turbo/code/1104/ It would be good to include this patch in =media-libs/libjpeg-turbo-1.3.1. Based on the Google hangouts issue above quite a few Gentoo users are affected.
Created attachment 390910 [details, diff] libjpeg-turbo-1.3.1-logitech-webcam-fix.patch Here's the svn r1104 converted to a patch which applies. I've tested this to compile and fix the hangouts issue.
Only applies to versions of jpeg-turbo no longer in tree. Fixed.