[vlc-commits] commit: Symbian: Return 1 as cpu number (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Thu Dec 30 21:22:31 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Nov 24 15:02:29 2010 +0100| [795d78fccc11545e37b82479e9cf7c22a9cb79d1] | committer: Jean-Baptiste Kempf 

Symbian: Return 1 as cpu number

TODO: use HAL or another way

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=795d78fccc11545e37b82479e9cf7c22a9cb79d1
---

 src/misc/cpu.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/misc/cpu.c b/src/misc/cpu.c
index 811298a..a200936 100644
--- a/src/misc/cpu.c
+++ b/src/misc/cpu.c
@@ -353,6 +353,8 @@ unsigned vlc_GetCPUCount(void)
         system_mask >>= 1;
     }
     return count;
+#elif defined(__SYMBIAN32__)
+    return 1;
 #elif defined(HAVE_SCHED_GETAFFINITY)
     cpu_set_t cpu;
     CPU_ZERO(&cpu);



More information about the vlc-commits mailing list