[Live-devel] How to modify testMPEG1or2VideoReceiver

Ross Finlayson finlayson at live.com
Fri Jul 9 18:32:44 PDT 2004


>I'm trying to modifiy the testMPEG1or2VideoReceiver to store received data 
>in some kind of 'queue' that I'll be able to process with a DirectShow 
>video renderer, rather than writing it to a file or stdout and reading it! 
>Anyone has an idea ?

The simplest way to do this would be to modify the "FileSink::addData()" 
member function as appropriate.  (Of course, you should really make a new 
'sink' class that *copies* "FileSink", rather than changing "FileSink" itself.)


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list