[vdr] xine-lib patch fails with current cvs

C.Y.M syphir at syphir.sytes.net
Sun Jul 31 14:11:29 CEST 2005


Would this change be OK? The following hunk failed with the current
xine-lib.patch so I changed it like this and would like to know if this change
is correct:

--- xine-lib/src/xine-engine/xine.c.orig        2005-07-31 04:00:10.000000000 -0700
+++ xine-lib/src/xine-engine/xine.c     2005-07-31 04:12:41.000000000 -0700
@@ -536,7 +537,7 @@
    */
   pthread_mutexattr_init(&attr);
   pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
-  pthread_mutex_init (&stream->frontend_lock, &attr);
+  _x_rmutex_init (&stream->frontend_lock);

   /*
    * Clear meta/stream info


Note that the current cvs of xine-lib's pthread_mutex_init is using &attr now
(instead of NULL).

Best Regards,
C.



More information about the vdr mailing list