From d1e01f35f765978bed42d6570b6136a4be5167d0 Mon Sep 17 00:00:00 2001 From: Niels Elburg Date: Sat, 28 Oct 2006 23:30:19 +0000 Subject: [PATCH] drop rgb24 git-svn-id: svn://code.dyne.org/veejay/trunk@680 eb8d1916-c9e9-0310-b8de-cf0c9472ead5 --- veejay-current/libstream/vj-unicap.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/veejay-current/libstream/vj-unicap.c b/veejay-current/libstream/vj-unicap.c index 24007aed..1e3c822b 100644 --- a/veejay-current/libstream/vj-unicap.c +++ b/veejay-current/libstream/vj-unicap.c @@ -590,15 +590,7 @@ int vj_unicap_configure_device( void *ud, int pixel_format, int w, int h ) for( i = 0; SUCCESS( unicap_enumerate_formats( vut->handle, &rgb_spec, &rgb_format, i ) ); i ++ ) { - //@ try rgb24 first, its has less bandwidth - if( rgb24_fourcc == rgb_format.fourcc ) - { - veejay_msg(0, "Camera can capture in RGB24" ); - vut->rgb = 2; - rgb_format.size.width = w; - rgb_format.size.height = h; - break; - } else if( rgb_fourcc == rgb_format.fourcc ) + if( rgb_fourcc == rgb_format.fourcc ) { veejay_msg(0, "Camera can capture in RGB32"); vut->rgb = 1;