Revision: 7187
          http://playerstage.svn.sourceforge.net/playerstage/?rev=7187&view=rev
Author:   thjc
Date:     2008-12-03 19:41:13 +0000 (Wed, 03 Dec 2008)

Log Message:
-----------
applied patch 2124895, fix for subscription to simulation device

Modified Paths:
--------------
    code/stage/branches/release-2-1-patches/src/p_driver.cc

Property Changed:
----------------
    code/stage/branches/release-2-1-patches/replace/


Property changes on: code/stage/branches/release-2-1-patches/replace
___________________________________________________________________
Modified: svn:ignore
   - Makefile.in
Makefile
.deps

   + Makefile.in
Makefile
.deps
libreplace.a


Modified: code/stage/branches/release-2-1-patches/src/p_driver.cc
===================================================================
--- code/stage/branches/release-2-1-patches/src/p_driver.cc     2008-12-03 
01:31:52 UTC (rev 7186)
+++ code/stage/branches/release-2-1-patches/src/p_driver.cc     2008-12-03 
19:41:13 UTC (rev 7187)
@@ -513,7 +513,7 @@
 int StgDriver::Subscribe(QueuePointer &queue, player_devaddr_t addr)
 {
   if( addr.interf == PLAYER_SIMULATION_CODE )
-    return 0; // ok
+    return Driver::Subscribe(addr);
 
   Interface* device = this->LookupDevice( addr );
   
@@ -535,7 +535,7 @@
 int StgDriver::Unsubscribe(QueuePointer &queue, player_devaddr_t addr)
 {
   if( addr.interf == PLAYER_SIMULATION_CODE )
-    return 0; // ok
+    return Driver::Unsubscribe(addr);
 
   Interface* device = this->LookupDevice( addr );
   


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-commit mailing list
Playerstage-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to