Author: dmeyer
Date: Mon Jan  1 21:05:43 2007
New Revision: 2320

Modified:
   trunk/popcorn/src/backends/gstreamer/main.py
   trunk/popcorn/src/backends/xine/main.py

Log:
make sure the correct kaa is in python path for the child

Modified: trunk/popcorn/src/backends/gstreamer/main.py
==============================================================================
--- trunk/popcorn/src/backends/gstreamer/main.py        (original)
+++ trunk/popcorn/src/backends/gstreamer/main.py        Mon Jan  1 21:05:43 2007
@@ -1,3 +1,11 @@
+import sys
+import os
+
+# insert kaa path information
+__site__ = os.path.normpath(os.path.join(os.path.dirname(__file__), 
'../../../..'))
+if not __site__ in sys.path:
+    sys.path.insert(0, __site__)
+
 import kaa
 
 from child import GStreamer

Modified: trunk/popcorn/src/backends/xine/main.py
==============================================================================
--- trunk/popcorn/src/backends/xine/main.py     (original)
+++ trunk/popcorn/src/backends/xine/main.py     Mon Jan  1 21:05:43 2007
@@ -1,5 +1,12 @@
+import os
 import sys
 import gc
+
+# insert kaa path information
+__site__ = os.path.normpath(os.path.join(os.path.dirname(__file__), 
'../../../..'))
+if not __site__ in sys.path:
+    sys.path.insert(0, __site__)
+
 import kaa
 import kaa.shm
 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to