ab26aff16f
0.9.3: - optionally use libv4l to support more cameras - fix installation directory of plugins for x64 systems - fix scaling of ogg/theora video - use categories for v4l2 properties 0.9.2: - Severall small bug fixes and improvements ( see ChangeLog ) - The EeePC packages got updated
23 lines
669 B
Text
23 lines
669 B
Text
$NetBSD: patch-aq,v 1.2 2009/01/08 01:08:37 jmcneill Exp $
|
|
|
|
|
|
--- libucil/ucil_theora.c.orig 2008-09-30 12:21:36.000000000 -0400
|
|
+++ libucil/ucil_theora.c
|
|
@@ -1035,6 +1035,9 @@ static void *ucil_theora_worker_thread(
|
|
}
|
|
|
|
gettimeofday( &ctime, NULL );
|
|
+#ifdef __NetBSD__
|
|
+ sem_wait( &vobj->sema );
|
|
+#else
|
|
abs_timeout.tv_sec = ctime.tv_sec + 1;
|
|
abs_timeout.tv_nsec = ctime.tv_usec * 1000;
|
|
if( sem_timedwait( &vobj->sema, &abs_timeout ) )
|
|
@@ -1042,6 +1045,7 @@ static void *ucil_theora_worker_thread(
|
|
TRACE( "SEM_WAIT FAILED\n" );
|
|
continue;
|
|
}
|
|
+#endif
|
|
|
|
if( buffer_ready && vobj->event_callback )
|
|
{
|