diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-01-21 01:09:32 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-01-21 01:09:32 +0000 |
commit | 265e0bc43c5f057a28a07c2e38da748971d7a993 (patch) | |
tree | ef2765011c9bae13a2ed15e66386b702ec8870a8 /recordmydesktop/src/update_image.c | |
parent | fa96f09ceadcad5247a84245ad933782b4b71ee6 (diff) |
Added support for 16bpp color depth.
Currently the UPDATE_*_PLANE(S)_* macros are duplicated, so they might need some
reworking (they are perfectly functional though).
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@260 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/update_image.c')
-rw-r--r-- | recordmydesktop/src/update_image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recordmydesktop/src/update_image.c b/recordmydesktop/src/update_image.c index 1bf0cd5..7ae39ff 100644 --- a/recordmydesktop/src/update_image.c +++ b/recordmydesktop/src/update_image.c @@ -57,7 +57,8 @@ void UpdateImage(Display * dpy, (temp->geom.x-brwin->rgeom.x+enc->x_offset), (temp->geom.y-brwin->rgeom.y+enc->y_offset), (temp->geom.width),(temp->geom.height), - noshmem,no_quick_subsample); + noshmem,no_quick_subsample, + specs->depth); pthread_mutex_unlock(yuv_mutex); temp=temp->next; }while(temp!=NULL); |