mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-19 06:10:01 +01:00
drop rgb24
git-svn-id: svn://code.dyne.org/veejay/trunk@680 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user