[Live-devel] fMaxSize variable

Roberto Nappi r_nappi at yahoo.it
Thu May 13 15:14:34 PDT 2004


It's OK!

But now, I'm having another little question:

When I fill the streaming buffer until BANK_SIZE,

why doesn't testMPEG1or2Streamer deliver
fTotNumValidBytes = 119 (*)  bytes? 

(Maybe...Because 199 bytes aren't a last full (slice)
frame) 

Could, you read my next example, please? 

ByteStreamFileSource: fMaxSize = 10000
StreamParser: step n. 302
StreamParser: (I)fTotNumValidBytes = 130049
StreamParser: numBytesRead = 10000
StreamParser: BANK_SIZE = 150000
StreamParser: (II)fTotNumValidBytes = 140049
ByteStreamFileSource: fMaxSize = 9951
StreamParser: step n. 303
StreamParser: (I)fTotNumValidBytes = 140049
StreamParser: numBytesRead = 9951
StreamParser: BANK_SIZE = 150000
StreamParser: (II)fTotNumValidBytes = 150000
ByteStreamFileSource: fMaxSize = 10000
StreamParser: step n. 304
StreamParser: (I)fTotNumValidBytes = 119         (*)
StreamParser: (I)numBytesRead = 10000
StreamParser: BANK_SIZE = 150000
StreamParser: (II)fTotNumValidBytes = 10119
ByteStreamFileSource: fMaxSize = 10000

Thanks a lot for your answer. Rona.


	

	
		
____________________________________________________________
Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo! 
http://companion.yahoo.it


More information about the live-devel mailing list