mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-19 22:30:06 +01:00
Bye sayVIMS, hello sayOSC, OSC dynamic namespaces, revamped event handlers, bugfixes in livido host implementation, bugfixes in vevosample, some memory leaks fixed
git-svn-id: svn://code.dyne.org/veejay/trunk@593 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
@@ -86,9 +86,13 @@ static int vj_unicap_scan_enumerate_devices(void *unicap)
|
||||
|
||||
unicap_reenumerate_properties( ud->handle, &property_count );
|
||||
unicap_reenumerate_formats( ud->handle, &format_count );
|
||||
void *device_port = vevo_port_new( VEVO_ANONYMOUS_PORT );
|
||||
|
||||
char *device_name = strdup( ud->device.identifier );
|
||||
|
||||
#ifdef STRICT_CHECKING
|
||||
void *device_port = vevo_port_new( VEVO_ANONYMOUS_PORT, device_name, i );
|
||||
#else
|
||||
void *device_port = vevo_port_new( VEVO_ANONYMOUS_PORT );
|
||||
#endif
|
||||
char *device_location = strdup( ud->device.device );
|
||||
|
||||
int error = vevo_property_set( device_port,
|
||||
@@ -132,8 +136,11 @@ void *vj_unicap_init(void)
|
||||
{
|
||||
unicap_driver_t *ud = (unicap_driver_t*) vj_malloc(sizeof(unicap_driver_t));
|
||||
memset( ud,0,sizeof(unicap_driver_t));
|
||||
#ifdef STRICT_CHECKING
|
||||
ud->device_list = vevo_port_new( VEVO_ANONYMOUS_PORT, __FUNCTION__, __LINE__ );
|
||||
#else
|
||||
ud->device_list = vevo_port_new( VEVO_ANONYMOUS_PORT );
|
||||
|
||||
#endif
|
||||
ud->num_devices = vj_unicap_scan_enumerate_devices( (void*) ud );
|
||||
veejay_msg(2, "Found %d capture devices on this system", ud->num_devices);
|
||||
return ud;
|
||||
|
||||
Reference in New Issue
Block a user