[Live-devel] On the fly decoding

Roberto Nappi r_nappi at yahoo.it
Wed Mar 10 12:31:08 PST 2004


> Otherwise, you can write a new 'sink' class that
> encapsulates your decoder 
> device, and use this new class instead of
> "FileSink".  One easy way to do 
> this is to use the existing "FileSink"
> implementation as a model, and 
> replace the calls to "fopen()", "fopen()" and
> "fclose()" with code that 
> accesses your decoder device.

Dear Ross,
I saw the file MediaSink.cpp because in the
testMPEG1or2VideoReceiver there is the line:

sessionState.sink->startPlaying(*sessionState.source,
afterPlaying, NULL);

And, in the member function startPlaying there is the
line: 

return continuePlaying();

Is the "continuePlaying()" function the same of:

Boolean FileSink::continuePlaying() { ...

in FileSinc.cpp?

If your answer in No, what file does contain the
"continuePlaying()" function?

Many thanks for your help.
Ciao, Roberto  


 




______________________________________________________________________
Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il filtro Anti-spam
http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/


More information about the live-devel mailing list