=?gb2312?q?=BB=D8=B8=B4=A3=BA=20Re:=20=BB=D8=B8=B4=A3=BA=20Re:=20[Live-de?= =?gb2312?q?vel]=20About=20data=20flo=20w?=

Li bz paul_li20 at yahoo.com.cn
Tue Jun 14 06:21:08 PDT 2005


Thanks for your detail explaination, Ross.
--- Ross Finlayson <finlayson at live.com>дµÀ:

> 
> >Here doGetNextFrame(), the first time, it calls
> >MPEG2TransportStreamFramer::doGetNextFrame(), the
> >second time, it calls
> >"ByteStreamFileSource::doGetNextFrame()",
> 
> That's correct, because "doGetNextFrame()" is being
> called *on different 
> objects* in each case.
> 
> >I am wondering, which parameter tells this
> >doGetNextFrame() function in
> >FramedSource::getNextFrame() to choose different
> >virtual function implemented in class
> >MPEG2TransportStreamFramer and class
> >ByteStreamFileSource respectively?
> 
> It's the object (to the left of the "->") that
> determines this.
> 
> It sounds like you don't yet fully unserstand how
> C++ virtual functions 
> (for example, "FramedSource::doGetNextFrame()")
> work.  I suggest that 
> review this.
> 
> (Unfortunately, basic C++ tutorials are generally
> off-topic for this 
> mailing list.)
> 
> 
> 	Ross Finlayson
> 	LIVE.COM
> 	<http://www.live.com/>
> 
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
> 



		
___________________________________________________________ 
ÑÅ»¢Ãâ·ÑGÓÊÏ䣭ÖйúµÚÒ»¾øÎÞÀ¬»øÓʼþɧÈų¬´óÓÊÏä
http://cn.mail.yahoo.com/?id=77071



More information about the live-devel mailing list