Revision: 8167
          http://playerstage.svn.sourceforge.net/playerstage/?rev=8167&view=rev
Author:   thjc
Date:     2009-08-03 17:17:33 +0000 (Mon, 03 Aug 2009)

Log Message:
-----------
Set source queue in Publish calls, fixes behaviour in passthrough

Modified Paths:
--------------
    code/player/trunk/libplayercore/driver.cc

Modified: code/player/trunk/libplayercore/driver.cc
===================================================================
--- code/player/trunk/libplayercore/driver.cc   2009-08-03 02:43:59 UTC (rev 
8166)
+++ code/player/trunk/libplayercore/driver.cc   2009-08-03 17:17:33 UTC (rev 
8167)
@@ -154,7 +154,7 @@
                 player_msghdr_t* hdr,
                 void* src, bool copy)
 {
-  Message msg(*hdr,src,copy);
+  Message msg(*hdr,src,InQueue,copy);
   // push onto the given queue, which provides its own locking
   if(!queue->Push(msg))
   {
@@ -183,7 +183,7 @@
     this->Unlock();
     return;
   }
-  Message msg(*hdr,src,copy);
+  Message msg(*hdr,src,InQueue,copy);
   for(size_t i=0;i<dev->len_queues;i++)
   {
     if(dev->queues[i] != NULL)


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to